Changeset 27947 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Apr 1, 2010 3:22:31 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxHeadless/VBoxHeadless.cpp
r27753 r27947 732 732 #endif /* VBOX_WITH_VRDP defined */ 733 733 #ifdef VBOX_WITH_VNC 734 case 'n': 735 fVNCEnable = true; 736 break; 737 case 'm': 738 uVNCPort = ValueUnion.i32; 739 break; 740 case 'o': 741 pszVNCPassword = (char*)ValueUnion.psz; 734 case 'n': 735 fVNCEnable = true; 736 break; 737 case 'm': 738 uVNCPort = ValueUnion.i32; 739 break; 740 case 'o': 741 pszVNCPassword = (char*)ValueUnion.psz; 742 742 break; 743 743 #endif /* VBOX_WITH_VNC */ … … 960 960 #endif /* defined(VBOX_FFMPEG) */ 961 961 #ifdef VBOX_WITH_VNC 962 if (fVNCEnable) 962 if (fVNCEnable) 963 963 { 964 964 VNCFB *pFramebuffer; 965 965 RTLDRMOD hLdrVNC; 966 967 968 969 970 if (rc != S_OK)971 { 972 LogError("Failed to load the vnc server extension, possibly due to a damaged file\n", r rc);973 974 break; 975 966 PFNREGISTERVNCFB pfnRegisterVNCFB; 967 968 pFramebuffer = new VNCFB(console, uVNCPort, pszVNCPassword); 969 rc = pFramebuffer->init(); 970 if (rc != S_OK) 971 { 972 LogError("Failed to load the vnc server extension, possibly due to a damaged file\n", rc); 973 delete pFramebuffer; 974 break; 975 } 976 976 977 977 Log2(("VBoxHeadless: Registering VNC framebuffer\n"));
Note:
See TracChangeset
for help on using the changeset viewer.