- Timestamp:
- Aug 29, 2008 2:09:39 PM (16 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 47 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/OpenGL/Makefile.kmk
r10516 r11820 33 33 DLLS += VBoxOGL 34 34 VBoxOGL_TEMPLATE = VBOXGUESTR3EXE 35 VBoxOGL_DEFS = VBOX_ HGCM _WIN32_WINNT=0x0500 VBOX_OGL_GUEST_SIDE35 VBoxOGL_DEFS = VBOX_WITH_HGCM _WIN32_WINNT=0x0500 VBOX_OGL_GUEST_SIDE 36 36 VBoxOGL_SOURCES = \ 37 37 dllmain.cpp \ -
trunk/src/VBox/Additions/WINNT/Graphics/OpenGL/test/Makefile.kmk
r10129 r11820 36 36 37 37 tstShOpenGL_TEMPLATE = VBOXGUESTR3EXE 38 tstShOpenGL_DEFS = VBOX_ HGCM38 tstShOpenGL_DEFS = VBOX_WITH_HGCM 39 39 tstShOpenGL_SOURCES = tstShOpenGL.cpp 40 40 tstShOpenGL_LIBS = $(PATH_SDK_WINPSDK_LIB)/OpenGL32.Lib -
trunk/src/VBox/Additions/WINNT/VBoxGuest/Makefile.kmk
r11687 r11820 36 36 VBoxGuest_NOINST = true 37 37 endif 38 VBoxGuest_DEFS = LOG_TO_BACKDOOR VBGL_VBOXGUEST VBOX_ HGCM VBOX_REBOOT_ON_UNINSTALL38 VBoxGuest_DEFS = LOG_TO_BACKDOOR VBGL_VBOXGUEST VBOX_WITH_HGCM VBOX_REBOOT_ON_UNINSTALL 39 39 #VBoxGuest_DEFS += LOG_ENABLED 40 40 VBoxGuest_INCS = ../include -
trunk/src/VBox/Additions/WINNT/VBoxGuest/VBoxGuest.cpp
r10636 r11820 340 340 } 341 341 342 #ifdef VBOX_ HGCM342 #ifdef VBOX_WITH_HGCM 343 343 DECLVBGL(void) VBoxHGCMCallback (VMMDevHGCMRequestHeader *pHeader, void *pvData, uint32_t u32Data) 344 344 { … … 399 399 } 400 400 401 #endif /* VBOX_ HGCM */401 #endif /* VBOX_WITH_HGCM */ 402 402 403 403 static bool IsPowerOfTwo (uint32_t val) … … 883 883 } 884 884 885 #ifdef VBOX_ HGCM885 #ifdef VBOX_WITH_HGCM 886 886 /* HGCM offers blocking IOCTLSs just like waitevent and actually 887 887 * uses the same waiting code. … … 1001 1001 1002 1002 } break; 1003 #endif /* VBOX_ HGCM */1003 #endif /* VBOX_WITH_HGCM */ 1004 1004 1005 1005 #ifdef VBOX_WITH_VRDP_SESSION_HANDLING -
trunk/src/VBox/Additions/WINNT/VBoxHook/testcase/Makefile.kmk
r10129 r11820 36 36 37 37 tstHook_TEMPLATE = VBOXGUESTR3EXE 38 tstHook_DEFS = VBOX_ HGCM38 tstHook_DEFS = VBOX_WITH_HGCM 39 39 tstHook_SOURCES = tstHook.cpp 40 40 tstHook_INCS = ../../include -
trunk/src/VBox/Additions/WINNT/VBoxTray/Makefile.kmk
r10516 r11820 33 33 VBoxTray_NOINST = true 34 34 endif 35 VBoxTray_DEFS = VBOX_ HGCM LOG_TO_BACKDOOR35 VBoxTray_DEFS = VBOX_WITH_HGCM LOG_TO_BACKDOOR 36 36 VBoxTray_INCS = ../include 37 37 VBoxTray_SOURCES = \ -
trunk/src/VBox/Additions/WINNT/VBoxTray/testcase/Makefile.kmk
r10129 r11820 30 30 PROGRAMS += tstSessionHack 31 31 tstSessionHack_TEMPLATE = VBOXW32GUESTR3 32 tstSessionHack_DEFS = VBOX_ HGCM32 tstSessionHack_DEFS = VBOX_WITH_HGCM 33 33 tstSessionHack_INCS = ../../include 34 34 tstSessionHack_SOURCES = \ -
trunk/src/VBox/Additions/common/VBoxControl/Makefile.kmk
r10869 r11820 39 39 endif 40 40 VBoxControl_DEFS += \ 41 $(if $(VBOX_WITH_GUEST_PROPS),VBOX_WITH_GUEST_PROPS VBOX_ HGCM,)41 $(if $(VBOX_WITH_GUEST_PROPS),VBOX_WITH_GUEST_PROPS VBOX_WITH_HGCM,) 42 42 VBoxControl_SOURCES = \ 43 43 VBoxControl.cpp \ -
trunk/src/VBox/Additions/common/VBoxGuest/Makefile.kmk
r8760 r11820 35 35 endif 36 36 VBoxGuest_TEMPLATE = VBOXGUESTR0 37 VBoxGuest_DEFS = VBGL_VBOXGUEST VBOX_ HGCM37 VBoxGuest_DEFS = VBGL_VBOXGUEST VBOX_WITH_HGCM 38 38 VBoxGuest_INCS := $(PATH_SUB_CURRENT) 39 39 ifneq ($(KBUILD_TARGET),os2) … … 79 79 SYSMODS.freebsd += vboxguest 80 80 vboxguest_TEMPLATE = VBOXGUESTR0 81 vboxguest_DEFS = VBGL_VBOXGUEST VBOX_ HGCM81 vboxguest_DEFS = VBGL_VBOXGUEST VBOX_WITH_HGCM 82 82 vboxguest_INCS := \ 83 83 $(PATH_SUB_CURRENT) -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp
r10552 r11820 37 37 #include <iprt/assert.h> 38 38 #include <iprt/param.h> 39 #ifdef VBOX_ HGCM39 #ifdef VBOX_WITH_HGCM 40 40 # include <iprt/thread.h> 41 41 #endif … … 45 45 * Internal Functions * 46 46 *******************************************************************************/ 47 #ifdef VBOX_ HGCM47 #ifdef VBOX_WITH_HGCM 48 48 static DECLCALLBACK(void) VBoxGuestHGCMAsyncWaitCallback(VMMDevHGCMRequestHeader *pHdrNonVolatile, void *pvUser, uint32_t u32User); 49 49 #endif … … 156 156 pDevExt->WaitList.pHead = NULL; 157 157 pDevExt->WaitList.pTail = NULL; 158 #ifdef VBOX_ HGCM158 #ifdef VBOX_WITH_HGCM 159 159 pDevExt->HGCMWaitList.pHead = NULL; 160 160 pDevExt->HGCMWaitList.pTail = NULL; … … 213 213 if (RT_SUCCESS(rc)) 214 214 { 215 #ifdef VBOX_ HGCM215 #ifdef VBOX_WITH_HGCM 216 216 rc = vboxGuestInitFilterMask(pDevExt, VMMDEV_EVENT_HGCM); 217 217 #else … … 293 293 294 294 VBoxGuestDeleteWaitList(&pDevExt->WaitList); 295 #ifdef VBOX_ HGCM295 #ifdef VBOX_WITH_HGCM 296 296 VBoxGuestDeleteWaitList(&pDevExt->HGCMWaitList); 297 297 #endif … … 379 379 pSession, pSession->Process, (int)pSession->Process, (uintptr_t)pSession->R0Process)); /** @todo %RTr0proc */ 380 380 381 #ifdef VBOX_ HGCM381 #ifdef VBOX_WITH_HGCM 382 382 for (unsigned i = 0; i < RT_ELEMENTS(pSession->aHGCMClientIds); i++) 383 383 if (pSession->aHGCMClientIds[i]) … … 491 491 pWait->fReqEvents = 0; 492 492 pWait->fResEvents = 0; 493 #ifdef VBOX_ HGCM493 #ifdef VBOX_WITH_HGCM 494 494 pWait->pHGCMReq = NULL; 495 495 #endif … … 510 510 pWait->fReqEvents = 0; 511 511 pWait->fResEvents = 0; 512 #ifdef VBOX_ HGCM512 #ifdef VBOX_WITH_HGCM 513 513 pWait->pHGCMReq = NULL; 514 514 #endif … … 838 838 839 839 840 #ifdef VBOX_ HGCM840 #ifdef VBOX_WITH_HGCM 841 841 842 842 /** … … 1141 1141 } 1142 1142 1143 #endif /* VBOX_ HGCM */1143 #endif /* VBOX_WITH_HGCM */ 1144 1144 1145 1145 … … 1220 1220 rc = VBoxGuestCommonIOCtl_VMMRequest(pDevExt, (VMMDevRequestHeader *)pvData, cbData, pcbDataReturned); 1221 1221 } 1222 #ifdef VBOX_ HGCM1222 #ifdef VBOX_WITH_HGCM 1223 1223 /* 1224 1224 * This one is tricky and can be done later. … … 1229 1229 rc = VBoxGuestCommonIOCtl_HGCMCall(pDevExt, pSession, (VBoxGuestHGCMCallInfo *)pvData, cbData, pcbDataReturned); 1230 1230 } 1231 #endif /* VBOX_ HGCM */1231 #endif /* VBOX_WITH_HGCM */ 1232 1232 else if (VBOXGUEST_IOCTL_STRIP_SIZE(iFunction) == VBOXGUEST_IOCTL_STRIP_SIZE(VBOXGUEST_IOCTL_LOG(0))) 1233 1233 { … … 1256 1256 break; 1257 1257 1258 #ifdef VBOX_ HGCM1258 #ifdef VBOX_WITH_HGCM 1259 1259 case VBOXGUEST_IOCTL_HGCM_CONNECT: 1260 1260 CHECKRET_MIN_SIZE("HGCM_CONNECT", sizeof(VBoxGuestHGCMConnectInfo)); … … 1271 1271 rc = VBoxGuestCommonIOCtl_HGCMClipboardReConnect(pDevExt, (uint32_t *)pvData, pcbDataReturned); 1272 1272 break; 1273 #endif /* VBOX_ HGCM */1273 #endif /* VBOX_WITH_HGCM */ 1274 1274 1275 1275 default: … … 1322 1322 RTSpinlockAcquireNoInts(pDevExt->WaitSpinlock, &Tmp); 1323 1323 1324 #ifdef VBOX_ HGCM1324 #ifdef VBOX_WITH_HGCM 1325 1325 /* The HGCM event/list is kind of different in that we evaluate all entries. */ 1326 1326 if (fEvents & VMMDEV_EVENT_HGCM) -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuestInternal.h
r8328 r11820 51 51 /** The events we received. */ 52 52 uint32_t volatile fResEvents; 53 #ifdef VBOX_ HGCM53 #ifdef VBOX_WITH_HGCM 54 54 /** The HGCM request we're waiting for to complete. */ 55 55 VMMDevHGCMRequestHeader volatile *pHGCMReq; … … 87 87 /** Wait-for-event list for threads waiting for multiple events. */ 88 88 VBOXGUESTWAITLIST WaitList; 89 #ifdef VBOX_ HGCM89 #ifdef VBOX_WITH_HGCM 90 90 /** Wait-for-event list for threads waiting on HGCM async completion. 91 91 * The entire list is evaluated upon the arrival of an HGCM event, unlike … … 139 139 PVBOXGUESTDEVEXT pDevExt; 140 140 141 #ifdef VBOX_ HGCM141 #ifdef VBOX_WITH_HGCM 142 142 /** Array containing HGCM client IDs associated with this session. 143 143 * This will be automatically disconnected when the session is closed. */ -
trunk/src/VBox/Additions/common/VBoxGuestLib/Init.cpp
r10541 r11820 178 178 vbglQueryVMMDevPort (); 179 179 180 #ifdef VBOX_ HGCM180 #ifdef VBOX_WITH_HGCM 181 181 rc = vbglHGCMInit (); 182 #endif /* VBOX_ HGCM */182 #endif /* VBOX_WITH_HGCM */ 183 183 184 184 if (VBOX_FAILURE(rc)) … … 195 195 vbglTerminateCommon (); 196 196 197 #ifdef VBOX_ HGCM197 #ifdef VBOX_WITH_HGCM 198 198 vbglHGCMTerminate (); 199 199 #endif -
trunk/src/VBox/Additions/common/VBoxGuestLib/Makefile.kmk
r10797 r11820 53 53 # 54 54 VBoxGuestR0Lib_TEMPLATE = VBOXGUESTR0LIB 55 VBoxGuestR0Lib_DEFS = VBOX_ HGCM55 VBoxGuestR0Lib_DEFS = VBOX_WITH_HGCM 56 56 VBoxGuestR0Lib_INCS = \ 57 57 $(PATH_VBoxGuestR0Lib) … … 69 69 # 70 70 VBoxGuestR0LibBase_TEMPLATE = VBOXGUESTR0LIB 71 VBoxGuestR0LibBase_DEFS = VBOX_ HGCM VBGL_VBOXGUEST71 VBoxGuestR0LibBase_DEFS = VBOX_WITH_HGCM VBGL_VBOXGUEST 72 72 VBoxGuestR0LibBase_INCS = $(VBoxGuestR0Lib_INCS) 73 73 VBoxGuestR0LibBase_INCS.win = $(VBoxGuestR0Lib_INCS.win) … … 85 85 VBoxGuestR3Lib_TEMPLATE = VBOXGUESTR3LIB 86 86 VBoxGuestR3Lib_DEFS = \ 87 VBOX_ HGCM \87 VBOX_WITH_HGCM \ 88 88 $(if $(VBOX_WITH_GUEST_PROPS),VBOX_WITH_GUEST_PROPS,) 89 89 VBoxGuestR3Lib_SOURCES = \ … … 123 123 VBoxGuestR3LibXFree86_TEMPLATE = VBOXGUESTR3LIB 124 124 VBoxGuestR3LibXFree86_DEFS = \ 125 VBOX_ HGCM VBOX_VBGLR3_XFREE86 \125 VBOX_WITH_HGCM VBOX_VBGLR3_XFREE86 \ 126 126 $(if $(VBOX_WITH_GUEST_PROPS),VBOX_WITH_GUEST_PROPS,) 127 127 VBoxGuestR3LibXFree86_SOURCES = \ -
trunk/src/VBox/Additions/common/VBoxGuestLib/VBGLInternal.h
r8155 r11820 108 108 int VbglEnter (void); 109 109 110 #ifdef VBOX_ HGCM110 #ifdef VBOX_WITH_HGCM 111 111 #ifndef VBGL_VBOXGUEST 112 112 /* Initialize HGCM subsystem. */ -
trunk/src/VBox/Additions/common/VBoxService/Makefile.kmk
r10129 r11820 41 41 VBoxService_TEMPLATE = VBOXGUESTR3EXE 42 42 VBoxService_DEFS = VBOXSERVICE_TIMESYNC 43 VBoxService_DEFS.os2 = VBOX_ HGCM VBOXSERVICE_CLIPBOARD43 VBoxService_DEFS.os2 = VBOX_WITH_HGCM VBOXSERVICE_CLIPBOARD 44 44 VBoxService_SOURCES = \ 45 45 VBoxService.cpp \ -
trunk/src/VBox/Additions/freebsd/vboxvfs/Makefile.kmk
r10129 r11820 37 37 SYSMODS.freebsd += vboxvfs 38 38 vboxvfs_TEMPLATE = VBOXGUESTR0 39 vboxvfs_DEFS = VBOX_ HGCM39 vboxvfs_DEFS = VBOX_WITH_HGCM 40 40 vboxvfs_INCS := \ 41 41 $(PATH_SUB_CURRENT) \ -
trunk/src/VBox/Additions/linux/module/Makefile.kmk
r10129 r11820 65 65 vboxadd_NOINST = 1 66 66 vboxadd_DEFS = \ 67 MODULE IN_RT_R0 VBGL_VBOXGUEST EXPORT_SYMTAB VBGL_HGCM VBOX_ HGCM \67 MODULE IN_RT_R0 VBGL_VBOXGUEST EXPORT_SYMTAB VBGL_HGCM VBOX_WITH_HGCM \ 68 68 KBUILD_MODNAME=KBUILD_STR\(vboxadd\) \ 69 69 KBUILD_BASENAME=KBUILD_STR\(vboxadd\) -
trunk/src/VBox/Additions/linux/sharedfolders/Makefile.kmk
r10129 r11820 68 68 vboxvfs_CFLAGS = -fshort-wchar 69 69 vboxvfs_DEFS = \ 70 MODULE IN_RT_R0 VBOXGUEST VBOX_ HGCM \70 MODULE IN_RT_R0 VBOXGUEST VBOX_WITH_HGCM \ 71 71 KBUILD_MODNAME=KBUILD_STR\(vboxadd\) \ 72 72 KBUILD_BASENAME=KBUILD_STR\(vboxadd\) -
trunk/src/VBox/Additions/os2/VBoxSF/Makefile.kmk
r8760 r11820 12 12 VBoxSF_SYSSUFF = .ifs 13 13 VBoxSF_DLLSUFF = .ifs 14 VBoxSF_DEFS = VBOX_ HGCM14 VBoxSF_DEFS = VBOX_WITH_HGCM 15 15 VBoxSF_INCS := \ 16 16 $(PATH_SUB_CURRENT) \ -
trunk/src/VBox/Additions/solaris/SharedFolders/Makefile.kmk
r10307 r11820 28 28 SYSMODS.solaris += vboxvfs 29 29 vboxvfs_TEMPLATE = VBOXGUESTR0 30 vboxvfs_DEFS = VBOX_ HGCM30 vboxvfs_DEFS = VBOX_WITH_HGCM 31 31 vboxvfs_INCS := \ 32 32 $(PATH_SUB_CURRENT) \ -
trunk/src/VBox/Additions/x11/xclient/Makefile.kmk
r10653 r11820 34 34 35 35 VBoxClient_TEMPLATE = VBOXGUESTR3CPPEXE 36 VBoxClient_DEFS += VBOX_X11_CLIPBOARD VBOX_ HGCM36 VBoxClient_DEFS += VBOX_X11_CLIPBOARD VBOX_WITH_HGCM 37 37 VBoxClient_DEFS.linux += _GNU_SOURCE 38 38 VBoxClient_SOURCES = \ -
trunk/src/VBox/Devices/Makefile.kmk
r11805 r11820 30 30 include $(PATH_SUB_CURRENT)/PC/BIOS/Makefile.kmk 31 31 ifndef VBOX_OSE # not yet 32 include $(PATH_SUB_CURRENT)/PC/VMI/Makefile.kmk32 # include $(PATH_SUB_CURRENT)/PC/VMI/Makefile.kmk 33 33 endif 34 34 include $(PATH_SUB_CURRENT)/Graphics/BIOS/Makefile.kmk … … 331 331 endif 332 332 333 DevicesR3_DEFS += VBOX_ HGCM333 DevicesR3_DEFS += VBOX_WITH_HGCM 334 334 DevicesR3_DEFS.linux += _GNU_SOURCE 335 335 DevicesR3_DEFS.l4 += _GNU_SOURCE … … 795 795 USB/VUSBUrb.cpp 796 796 ifdef VBOX_WITH_VRDP 797 Drivers_DEFS += VBOX_ VRDP797 Drivers_DEFS += VBOX_WITH_VRDP 798 798 Drivers_SOURCES += \ 799 799 USB/vrdp/USBProxyDevice-vrdp.cpp -
trunk/src/VBox/Devices/VMMDev/VBoxDev.cpp
r11285 r11820 45 45 46 46 #include "VMMDevState.h" 47 #ifdef VBOX_ HGCM47 #ifdef VBOX_WITH_HGCM 48 48 # include "VMMDevHGCM.h" 49 49 #endif … … 1014 1014 } 1015 1015 1016 #ifdef VBOX_ HGCM1016 #ifdef VBOX_WITH_HGCM 1017 1017 /* 1018 1018 * Process HGCM request … … 1097 1097 break; 1098 1098 } 1099 #endif /* VBOX_ HGCM */1099 #endif /* VBOX_WITH_HGCM */ 1100 1100 1101 1101 case VMMDevReq_HGCMCancel: … … 1684 1684 case PDMINTERFACE_VMMDEV_PORT: 1685 1685 return &pThis->Port; 1686 #ifdef VBOX_ HGCM1686 #ifdef VBOX_WITH_HGCM 1687 1687 case PDMINTERFACE_HGCM_PORT: 1688 1688 return &pThis->HGCMPort; … … 2011 2011 SSMR3PutU32(pSSMHandle, pThis->guestCaps); 2012 2012 2013 #ifdef VBOX_ HGCM2013 #ifdef VBOX_WITH_HGCM 2014 2014 vmmdevHGCMSaveState (pThis, pSSMHandle); 2015 #endif /* VBOX_ HGCM */2015 #endif /* VBOX_WITH_HGCM */ 2016 2016 2017 2017 return VINF_SUCCESS; … … 2062 2062 } 2063 2063 2064 #ifdef VBOX_ HGCM2064 #ifdef VBOX_WITH_HGCM 2065 2065 vmmdevHGCMLoadState (pThis, pSSMHandle); 2066 #endif /* VBOX_ HGCM */2066 #endif /* VBOX_WITH_HGCM */ 2067 2067 2068 2068 /* … … 2106 2106 VMMDevState *pThis = PDMINS_2_DATA(pDevIns, VMMDevState*); 2107 2107 2108 #ifdef VBOX_ HGCM2108 #ifdef VBOX_WITH_HGCM 2109 2109 vmmdevHGCMLoadStateDone (pThis, pSSMHandle); 2110 #endif /* VBOX_ HGCM */2110 #endif /* VBOX_WITH_HGCM */ 2111 2111 2112 2112 VMMDevNotifyGuest (pThis, VMMDEV_EVENT_RESTORED); … … 2212 2212 pThis->SharedFolders.ILeds.pfnQueryStatusLed = vmmdevQueryStatusLed; 2213 2213 2214 #ifdef VBOX_ HGCM2214 #ifdef VBOX_WITH_HGCM 2215 2215 /* HGCM port */ 2216 2216 pThis->HGCMPort.pfnCompleted = hgcmCompleted; … … 2267 2267 if (!pThis->pDrv) 2268 2268 AssertMsgFailedReturn(("LUN #0 doesn't have a VMMDev connector interface!\n"), VERR_PDM_MISSING_INTERFACE); 2269 #ifdef VBOX_ HGCM2269 #ifdef VBOX_WITH_HGCM 2270 2270 pThis->pHGCMDrv = (PPDMIHGCMCONNECTOR)pThis->pDrvBase->pfnQueryInterface(pThis->pDrvBase, PDMINTERFACE_HGCM_CONNECTOR); 2271 2271 if (!pThis->pHGCMDrv) … … 2306 2306 AssertRCReturn(rc, rc); 2307 2307 2308 #ifdef VBOX_ HGCM2308 #ifdef VBOX_WITH_HGCM 2309 2309 pThis->pHGCMCmdList = NULL; 2310 2310 rc = RTCritSectInit(&pThis->critsectHGCMCmdList); 2311 2311 AssertRCReturn(rc, rc); 2312 2312 pThis->u32HGCMEnabled = 0; 2313 #endif /* VBOX_ HGCM */2313 #endif /* VBOX_WITH_HGCM */ 2314 2314 2315 2315 return rc; -
trunk/src/VBox/Devices/VMMDev/VMMDevState.h
r11282 r11820 53 53 /** VMMDev port interface. */ 54 54 PDMIVMMDEVPORT Port; 55 #ifdef VBOX_ HGCM55 #ifdef VBOX_WITH_HGCM 56 56 /** HGCM port interface. */ 57 57 PDMIHGCMPORT HGCMPort; … … 61 61 /** VMMDev connector interface */ 62 62 R3PTRTYPE(PPDMIVMMDEVCONNECTOR) pDrv; 63 #ifdef VBOX_ HGCM63 #ifdef VBOX_WITH_HGCM 64 64 /** HGCM connector interface */ 65 65 R3PTRTYPE(PPDMIHGCMCONNECTOR) pHGCMDrv; … … 165 165 bool fKeepCredentials; 166 166 167 #ifdef VBOX_ HGCM167 #ifdef VBOX_WITH_HGCM 168 168 /** List of pending HGCM requests, used for saving the HGCM state. */ 169 169 R3PTRTYPE(PVBOXHGCMCMD) pHGCMCmdList; … … 172 172 /** Whether the HGCM events are already automatically enabled. */ 173 173 uint32_t u32HGCMEnabled; 174 #endif /* VBOX_ HGCM */174 #endif /* VBOX_WITH_HGCM */ 175 175 176 176 /* Shared folders LED */ -
trunk/src/VBox/Frontends/VBoxBFE/Makefile.kmk
r11727 r11820 57 57 #endif 58 58 ifdef VBOX_WITH_VRDP 59 VBoxBFE_DEFS += VBOX_ VRDP59 VBoxBFE_DEFS += VBOX_WITH_VRDP 60 60 endif 61 61 ifneq ($(KBUILD_TARGET).$(VBOX_WITHOUT_COM),win.) … … 85 85 86 86 ifdef VBOX_WITH_HGCM 87 VBoxBFE_DEFS += VBOX_ HGCM87 VBoxBFE_DEFS += VBOX_WITH_HGCM 88 88 VBoxBFE_SOURCES += \ 89 89 HGCM.cpp \ -
trunk/src/VBox/Frontends/VBoxBFE/VBoxBFE.cpp
r11725 r11820 46 46 # include <VBox/vusb.h> 47 47 #endif 48 #ifdef VBOX_ HGCM48 #ifdef VBOX_WITH_HGCM 49 49 # include <VBox/shflsvc.h> 50 50 #endif … … 392 392 " -tapfd<1-N> <fd> Use existing TAP device, don't allocate\n" 393 393 #endif 394 #ifdef VBOX_ VRDP394 #ifdef VBOX_WITH_VRDP 395 395 " -vrdp [port] Listen for VRDP connections on port (default if not specified)\n" 396 396 #endif … … 418 418 { 419 419 bool fFullscreen = false; 420 #ifdef VBOX_ VRDP420 #ifdef VBOX_WITH_VRDP 421 421 int32_t portVRDP = -1; 422 422 #endif … … 713 713 } 714 714 #endif /* RT_OS_LINUX */ 715 #ifdef VBOX_ VRDP715 #ifdef VBOX_WITH_VRDP 716 716 else if (strcmp(pszArg, "-vrdp") == 0) 717 717 { … … 727 727 } 728 728 } 729 #endif /* VBOX_ VRDP */729 #endif /* VBOX_WITH_VRDP */ 730 730 #ifdef VBOX_SECURELABEL 731 731 else if (strcmp(pszArg, "-securelabel") == 0) … … 1185 1185 } 1186 1186 1187 #ifdef VBOX_ HGCM1187 #ifdef VBOX_WITH_HGCM 1188 1188 /* 1189 1189 * Add shared folders to the VM -
trunk/src/VBox/Frontends/VBoxBFE/VMMDevInterface.cpp
r11307 r11820 42 42 #include "DisplayImpl.h" 43 43 #include "ConsoleImpl.h" 44 #ifdef VBOX_ HGCM44 #ifdef VBOX_WITH_HGCM 45 45 #include "HGCM.h" 46 46 #endif … … 69 69 PDMIVMMDEVCONNECTOR Connector; 70 70 71 #ifdef VBOX_ HGCM71 #ifdef VBOX_WITH_HGCM 72 72 /** Pointer to the HGCM port interface of the driver/device above us. */ 73 73 PPDMIHGCMPORT pHGCMPort; … … 80 80 #define PDMIVMMDEVCONNECTOR_2_MAINVMMDEV(pInterface) ( (PDRVMAINVMMDEV) ((uintptr_t)pInterface - RT_OFFSETOF(DRVMAINVMMDEV, Connector)) ) 81 81 82 #ifdef VBOX_ HGCM82 #ifdef VBOX_WITH_HGCM 83 83 /** Converts PDMIHGCMCONNECTOR pointer to a DRVMAINVMMDEV pointer. */ 84 84 #define PDMIHGCMCONNECTOR_2_MAINVMMDEV(pInterface) ( (PDRVMAINVMMDEV) ((uintptr_t)pInterface - RT_OFFSETOF(DRVMAINVMMDEV, HGCMConnector)) ) … … 87 87 VMMDev::VMMDev() : mpDrv(NULL) 88 88 { 89 #ifdef VBOX_ HGCM89 #ifdef VBOX_WITH_HGCM 90 90 int rc = VINF_SUCCESS; 91 91 if (fActivateHGCM()) … … 97 97 VMMDev::~VMMDev() 98 98 { 99 #ifdef VBOX_ HGCM99 #ifdef VBOX_WITH_HGCM 100 100 if (fActivateHGCM()) 101 101 HGCMHostShutdown (); 102 #endif /* VBOX_ HGCM */102 #endif /* VBOX_WITH_HGCM */ 103 103 } 104 104 … … 259 259 } 260 260 261 #ifdef VBOX_ HGCM261 #ifdef VBOX_WITH_HGCM 262 262 263 263 /* HGCM connector interface */ … … 360 360 case PDMINTERFACE_VMMDEV_CONNECTOR: 361 361 return &pDrv->Connector; 362 #ifdef VBOX_ HGCM362 #ifdef VBOX_WITH_HGCM 363 363 case PDMINTERFACE_HGCM_CONNECTOR: 364 364 if (fActivateHGCM()) … … 430 430 pData->Connector.pfnQueryVisibleRegion = iface_QueryVisibleRegion; 431 431 432 #ifdef VBOX_ HGCM432 #ifdef VBOX_WITH_HGCM 433 433 if (fActivateHGCM()) 434 434 { … … 449 449 } 450 450 451 #ifdef VBOX_ HGCM451 #ifdef VBOX_WITH_HGCM 452 452 if (fActivateHGCM()) 453 453 { … … 475 475 pData->pVMMDev->mpDrv = pData; 476 476 477 #ifdef VBOX_ HGCM477 #ifdef VBOX_WITH_HGCM 478 478 if (fActivateHGCM()) 479 479 { … … 487 487 pDrvIns->pDrvHlp->pfnSSMRegister(pDrvIns, "HGCM", 0, HGCM_SSM_VERSION, 4096/* bad guess */, NULL, iface_hgcmSave, NULL, NULL, iface_hgcmLoad, NULL); 488 488 } 489 #endif /* VBOX_ HGCM */489 #endif /* VBOX_WITH_HGCM */ 490 490 491 491 return VINF_SUCCESS; -
trunk/src/VBox/Frontends/VBoxManage/Makefile.kmk
r11703 r11820 39 39 else # !VBOX_ONLY_DOCS 40 40 VBoxManage_TEMPLATE = VBOXMAINCLIENTEXE 41 VBoxManage_DEFS += $(if $(VBOX_WITH_VRDP),VBOX_ VRDP,) \41 VBoxManage_DEFS += $(if $(VBOX_WITH_VRDP),VBOX_WITH_VRDP,) \ 42 42 $(if $(VBOX_WITH_ALSA),VBOX_WITH_ALSA,) \ 43 43 $(if $(VBOX_WITH_PULSE),VBOX_WITH_PULSE,) \ -
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp
r11765 r11820 253 253 bool fDarwin = false; 254 254 #endif 255 #ifdef VBOX_ VRDP255 #ifdef VBOX_WITH_VRDP 256 256 bool fVRDP = true; 257 257 #else … … 3779 3779 char *audiocontroller = NULL; 3780 3780 char *clipboard = NULL; 3781 #ifdef VBOX_ VRDP3781 #ifdef VBOX_WITH_VRDP 3782 3782 char *vrdp = NULL; 3783 3783 uint16_t vrdpport = UINT16_MAX; … … 4199 4199 i++; 4200 4200 } 4201 #ifdef VBOX_ VRDP4201 #ifdef VBOX_WITH_VRDP 4202 4202 else if (strcmp(argv[i], "-vrdp") == 0) 4203 4203 { … … 4238 4238 vrdpmulticon = argv[i]; 4239 4239 } 4240 #endif /* VBOX_ VRDP */4240 #endif /* VBOX_WITH_VRDP */ 4241 4241 else if (strcmp(argv[i], "-usb") == 0) 4242 4242 { … … 5324 5324 break; 5325 5325 5326 #ifdef VBOX_ VRDP5326 #ifdef VBOX_WITH_VRDP 5327 5327 if (vrdp || (vrdpport != UINT16_MAX) || vrdpaddress || vrdpauthtype || vrdpmulticon) 5328 5328 { … … 5397 5397 } 5398 5398 } 5399 #endif /* VBOX_ VRDP */5399 #endif /* VBOX_WITH_VRDP */ 5400 5400 5401 5401 /* -
trunk/src/VBox/Frontends/VBoxSDL/Makefile.kmk
r11728 r11820 77 77 endif 78 78 ifdef VBOX_WITH_VRDP 79 VBoxSDL_DEFS += VBOX_ VRDP79 VBoxSDL_DEFS += VBOX_WITH_VRDP 80 80 endif 81 81 VBoxSDL_DEFS.freebsd = VBOXSDL_WITH_X11 -
trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp
r11725 r11820 672 672 " -evdevkeymap Use evdev keycode map\n" 673 673 #endif 674 #ifdef VBOX_ VRDP674 #ifdef VBOX_WITH_VRDP 675 675 " -vrdp <port> Listen for VRDP connections on port (default if not specified)\n" 676 676 #endif … … 1036 1036 char *cdromFile = NULL; 1037 1037 char *fdaFile = NULL; 1038 #ifdef VBOX_ VRDP1038 #ifdef VBOX_WITH_VRDP 1039 1039 int portVRDP = ~0; 1040 1040 #endif … … 1450 1450 } 1451 1451 #endif /* RT_OS_LINUX || RT_OS_DARWIN */ 1452 #ifdef VBOX_ VRDP1452 #ifdef VBOX_WITH_VRDP 1453 1453 else if (strcmp(argv[curArg], "-vrdp") == 0) 1454 1454 { … … 1469 1469 } 1470 1470 } 1471 #endif /* VBOX_ VRDP */1471 #endif /* VBOX_WITH_VRDP */ 1472 1472 else if (strcmp(argv[curArg], "-discardstate") == 0) 1473 1473 { … … 2055 2055 #endif /* RT_OS_LINUX || RT_OS_DARWIN */ 2056 2056 2057 #ifdef VBOX_ VRDP2057 #ifdef VBOX_WITH_VRDP 2058 2058 if (portVRDP != ~0) 2059 2059 { … … 2791 2791 #endif /* VBOX_WITH_XPCOM */ 2792 2792 2793 #ifdef VBOX_ VRDP2793 #ifdef VBOX_WITH_VRDP 2794 2794 if (gVrdpServer) 2795 2795 rc = gVrdpServer->COMSETTER(Enabled)(FALSE); -
trunk/src/VBox/HostServices/GuestProperties/Makefile.kmk
r11725 r11820 34 34 VBoxGuestPropSvc_TEMPLATE = VBOXR3 35 35 VBoxGuestPropSvc_NAME.os2 = VBoxSIS 36 VBoxGuestPropSvc_DEFS = VBOX_ HGCM36 VBoxGuestPropSvc_DEFS = VBOX_WITH_HGCM 37 37 VBoxGuestPropSvc_INCS = $(PATH_ROOT)/src/VBox/Main/include 38 38 VBoxGuestPropSvc_INCS.win = \ -
trunk/src/VBox/HostServices/SharedClipboard/Makefile.kmk
r11725 r11820 33 33 DLLS += VBoxSharedClipboard 34 34 VBoxSharedClipboard_TEMPLATE = VBOXR3 35 VBoxSharedClipboard_DEFS = VBOX_ HGCM35 VBoxSharedClipboard_DEFS = VBOX_WITH_HGCM 36 36 VBoxSharedClipboard_INCS.win = \ 37 37 $(VBOX_PATH_SDK) -
trunk/src/VBox/HostServices/SharedFolders/Makefile.kmk
r11725 r11820 37 37 VBoxSharedFolders_TEMPLATE = VBOXR3 38 38 VBoxSharedFolders_NAME.os2 = VBoxSFld 39 VBoxSharedFolders_DEFS = VBOX_ HGCM RTSHFL39 VBoxSharedFolders_DEFS = VBOX_WITH_HGCM RTSHFL 40 40 VBoxSharedFolders_INCS.win = \ 41 41 $(PATH_TOOL_$(VBOX_VCC_TOOL)_ATLMFC_INC) \ -
trunk/src/VBox/HostServices/SharedFolders/testcase/Makefile.kmk
r11733 r11820 31 31 TESTING += $(PATH_TARGET)/tstShflSizes.run 32 32 tstShflSizes_TEMPLATE = VBOXR3AUTOTST 33 tstShflSizes_DEFS = VBOX_ HGCM33 tstShflSizes_DEFS = VBOX_WITH_HGCM 34 34 tstShflSizes_SOURCES = tstShflSizes.cpp 35 35 … … 41 41 42 42 tstShflCase_TEMPLATE = VBOXR3TSTEXE 43 tstShflCase_DEFS = VBOX_ HGCM43 tstShflCase_DEFS = VBOX_WITH_HGCM 44 44 tstShflCase_SOURCES = tstShflCase.cpp 45 45 tstShflCase_LIBS = $(LIB_RUNTIME) -
trunk/src/VBox/HostServices/SharedOpenGL/Makefile.kmk
r10051 r11820 33 33 DLLS += VBoxSharedOpenGL 34 34 VBoxSharedOpenGL_TEMPLATE = VBOXR3 35 VBoxSharedOpenGL_DEFS = VBOX_ HGCM VBOX_OGL_HOST_SIDE35 VBoxSharedOpenGL_DEFS = VBOX_WITH_HGCM VBOX_OGL_HOST_SIDE 36 36 VBoxSharedOpenGL_INCS.win = \ 37 37 $(PATH_TOOL_$(VBOX_VCC_TOOL)_ATLMFC_INC) \ -
trunk/src/VBox/Main/ConsoleImpl.cpp
r11354 r11820 285 285 AssertComRCReturnRC (rc); 286 286 287 #ifdef VBOX_ VRDP287 #ifdef VBOX_WITH_VRDP 288 288 rc = mMachine->COMGETTER(VRDPServer) (unconst (mVRDPServer).asOutParam()); 289 289 AssertComRCReturnRC (rc); … … 447 447 unconst (mFloppyDrive).setNull(); 448 448 unconst (mDVDDrive).setNull(); 449 #ifdef VBOX_ VRDP449 #ifdef VBOX_WITH_VRDP 450 450 unconst (mVRDPServer).setNull(); 451 451 #endif … … 645 645 AssertComRCReturnVoid (autoCaller.rc()); 646 646 647 #ifdef VBOX_ VRDP647 #ifdef VBOX_WITH_VRDP 648 648 uint32_t u32Clients = ASMAtomicIncU32(&mcVRDPClients); 649 649 … … 657 657 NOREF(u32ClientId); 658 658 mDisplay->VideoAccelVRDP (true); 659 #endif /* VBOX_ VRDP */659 #endif /* VBOX_WITH_VRDP */ 660 660 661 661 LogFlowFuncLeave(); … … 673 673 AssertReturnVoid (mConsoleVRDPServer); 674 674 675 #ifdef VBOX_ VRDP675 #ifdef VBOX_WITH_VRDP 676 676 uint32_t u32Clients = ASMAtomicDecU32(&mcVRDPClients); 677 677 … … 684 684 685 685 mDisplay->VideoAccelVRDP (false); 686 #endif /* VBOX_ VRDP */686 #endif /* VBOX_WITH_VRDP */ 687 687 688 688 if (fu32Intercepted & VRDP_CLIENT_INTERCEPT_USB) … … 691 691 } 692 692 693 #ifdef VBOX_ VRDP693 #ifdef VBOX_WITH_VRDP 694 694 if (fu32Intercepted & VRDP_CLIENT_INTERCEPT_CLIPBOARD) 695 695 { … … 713 713 } 714 714 } 715 #endif /* VBOX_ VRDP */715 #endif /* VBOX_WITH_VRDP */ 716 716 717 717 Guid uuid; … … 741 741 NOREF(u32ClientId); 742 742 743 #ifdef VBOX_ VRDP743 #ifdef VBOX_WITH_VRDP 744 744 mcAudioRefs++; 745 745 … … 785 785 AssertReturnVoid (mConsoleVRDPServer); 786 786 787 #ifdef VBOX_ VRDP787 #ifdef VBOX_WITH_VRDP 788 788 mConsoleVRDPServer->ClipboardCreate (u32ClientId); 789 #endif /* VBOX_ VRDP */789 #endif /* VBOX_WITH_VRDP */ 790 790 791 791 LogFlowFuncLeave(); … … 4340 4340 4341 4341 4342 #ifdef VBOX_ HGCM4342 #ifdef VBOX_WITH_HGCM 4343 4343 /* 4344 4344 * Shutdown HGCM services before stopping the guest, because they might need a cleanup. … … 4405 4405 ComSafeArrayAsInParam (flags)); 4406 4406 # endif /* VBOX_WITH_GUEST_PROPS defined */ 4407 #endif /* VBOX_ HGCM */4407 #endif /* VBOX_WITH_HGCM */ 4408 4408 4409 4409 /* First, wait for all mpVM callers to finish their work if necessary */ … … 6208 6208 do 6209 6209 { 6210 #ifdef VBOX_ VRDP6210 #ifdef VBOX_WITH_VRDP 6211 6211 /* Create the VRDP server. In case of headless operation, this will 6212 6212 * also create the framebuffer, required at VM creation. … … 6247 6247 break; 6248 6248 } 6249 #endif /* VBOX_ VRDP */6249 #endif /* VBOX_WITH_VRDP */ 6250 6250 6251 6251 /* … … 6265 6265 alock.enter(); 6266 6266 6267 #ifdef VBOX_ VRDP6267 #ifdef VBOX_WITH_VRDP 6268 6268 /* Enable client connections to the server. */ 6269 6269 console->consoleVRDPServer()->EnableConnections (); 6270 #endif /* VBOX_ VRDP */6270 #endif /* VBOX_WITH_VRDP */ 6271 6271 6272 6272 if (VBOX_SUCCESS (vrc)) -
trunk/src/VBox/Main/ConsoleVRDPServer.cpp
r8155 r11820 35 35 36 36 #include <VBox/err.h> 37 #ifdef VBOX_ VRDP37 #ifdef VBOX_WITH_VRDP 38 38 #include <VBox/VRDPOrders.h> 39 #endif /* VBOX_ VRDP */39 #endif /* VBOX_WITH_VRDP */ 40 40 41 41 class VRDPConsoleCallback : public IConsoleCallback … … 579 579 //////////////////////////////////////////////////////////////////////////////// 580 580 581 #ifdef VBOX_ VRDP581 #ifdef VBOX_WITH_VRDP 582 582 RTLDRMOD ConsoleVRDPServer::mVRDPLibrary; 583 583 … … 1007 1007 server->mConsole->getDisplay ()->SetVideoModeHint(cWidth, cHeight, cBitsPerPixel, uScreenId); 1008 1008 } 1009 #endif /* VBOX_ VRDP */1009 #endif /* VBOX_WITH_VRDP */ 1010 1010 1011 1011 ConsoleVRDPServer::ConsoleVRDPServer (Console *console) … … 1028 1028 #endif 1029 1029 1030 #ifdef VBOX_ VRDP1030 #ifdef VBOX_WITH_VRDP 1031 1031 mhServer = 0; 1032 1032 … … 1051 1051 mConsoleCallback->AddRef(); 1052 1052 console->RegisterCallback(mConsoleCallback); 1053 #endif /* VBOX_ VRDP */1053 #endif /* VBOX_WITH_VRDP */ 1054 1054 1055 1055 mAuthLibrary = 0; … … 1060 1060 Stop (); 1061 1061 1062 #ifdef VBOX_ VRDP1062 #ifdef VBOX_WITH_VRDP 1063 1063 if (mConsoleCallback) 1064 1064 { … … 1077 1077 } 1078 1078 } 1079 #endif /* VBOX_ VRDP */1079 #endif /* VBOX_WITH_VRDP */ 1080 1080 1081 1081 if (RTCritSectIsInitialized (&mCritSect)) … … 1089 1089 { 1090 1090 LogFlowMember(("ConsoleVRDPServer::Launch\n")); 1091 #ifdef VBOX_ VRDP1091 #ifdef VBOX_WITH_VRDP 1092 1092 int rc = VINF_SUCCESS; 1093 1093 IVRDPServer *vrdpserver = mConsole->getVRDPServer (); … … 1122 1122 int rc = VERR_NOT_SUPPORTED; 1123 1123 LogRel(("VRDP: this version does not include the VRDP server.\n")); 1124 #endif /* VBOX_ VRDP */1124 #endif /* VBOX_WITH_VRDP */ 1125 1125 return rc; 1126 1126 } … … 1128 1128 void ConsoleVRDPServer::EnableConnections (void) 1129 1129 { 1130 #ifdef VBOX_ VRDP1130 #ifdef VBOX_WITH_VRDP 1131 1131 if (mpEntryPoints && mhServer) 1132 1132 { 1133 1133 mpEntryPoints->VRDPEnableConnections (mhServer, true); 1134 1134 } 1135 #endif /* VBOX_ VRDP */1135 #endif /* VBOX_WITH_VRDP */ 1136 1136 } 1137 1137 1138 1138 void ConsoleVRDPServer::MousePointerUpdate (const VRDPCOLORPOINTER *pPointer) 1139 1139 { 1140 #ifdef VBOX_ VRDP1140 #ifdef VBOX_WITH_VRDP 1141 1141 if (mpEntryPoints && mhServer) 1142 1142 { 1143 1143 mpEntryPoints->VRDPColorPointer (mhServer, pPointer); 1144 1144 } 1145 #endif /* VBOX_ VRDP */1145 #endif /* VBOX_WITH_VRDP */ 1146 1146 } 1147 1147 1148 1148 void ConsoleVRDPServer::MousePointerHide (void) 1149 1149 { 1150 #ifdef VBOX_ VRDP1150 #ifdef VBOX_WITH_VRDP 1151 1151 if (mpEntryPoints && mhServer) 1152 1152 { 1153 1153 mpEntryPoints->VRDPHidePointer (mhServer); 1154 1154 } 1155 #endif /* VBOX_ VRDP */1155 #endif /* VBOX_WITH_VRDP */ 1156 1156 } 1157 1157 … … 1160 1160 Assert(VALID_PTR(this)); /** @todo r=bird: there are(/was) some odd cases where this buster was invalid on 1161 1161 * linux. Just remove this when it's 100% sure that problem has been fixed. */ 1162 #ifdef VBOX_ VRDP1162 #ifdef VBOX_WITH_VRDP 1163 1163 if (mhServer) 1164 1164 { … … 1173 1173 } 1174 1174 } 1175 #endif /* VBOX_ VRDP */1175 #endif /* VBOX_WITH_VRDP */ 1176 1176 1177 1177 #ifdef VBOX_WITH_USB … … 1499 1499 int rc = VINF_SUCCESS; 1500 1500 1501 #ifdef VBOX_ VRDP1501 #ifdef VBOX_WITH_VRDP 1502 1502 ConsoleVRDPServer *pServer = static_cast <ConsoleVRDPServer *>(pvExtension); 1503 1503 … … 1558 1558 rc = VERR_NOT_SUPPORTED; 1559 1559 } 1560 #endif /* VBOX_ VRDP */1560 #endif /* VBOX_WITH_VRDP */ 1561 1561 1562 1562 return rc; … … 1858 1858 void ConsoleVRDPServer::SendUpdate (unsigned uScreenId, void *pvUpdate, uint32_t cbUpdate) const 1859 1859 { 1860 #ifdef VBOX_ VRDP1860 #ifdef VBOX_WITH_VRDP 1861 1861 if (mpEntryPoints && mhServer) 1862 1862 { … … 1868 1868 void ConsoleVRDPServer::SendResize (void) const 1869 1869 { 1870 #ifdef VBOX_ VRDP1870 #ifdef VBOX_WITH_VRDP 1871 1871 if (mpEntryPoints && mhServer) 1872 1872 { … … 1878 1878 void ConsoleVRDPServer::SendUpdateBitmap (unsigned uScreenId, uint32_t x, uint32_t y, uint32_t w, uint32_t h) const 1879 1879 { 1880 #ifdef VBOX_ VRDP1880 #ifdef VBOX_WITH_VRDP 1881 1881 VRDPORDERHDR update; 1882 1882 update.x = x; … … 1893 1893 void ConsoleVRDPServer::SendAudioSamples (void *pvSamples, uint32_t cSamples, VRDPAUDIOFORMAT format) const 1894 1894 { 1895 #ifdef VBOX_ VRDP1895 #ifdef VBOX_WITH_VRDP 1896 1896 if (mpEntryPoints && mhServer) 1897 1897 { … … 1903 1903 void ConsoleVRDPServer::SendAudioVolume (uint16_t left, uint16_t right) const 1904 1904 { 1905 #ifdef VBOX_ VRDP1905 #ifdef VBOX_WITH_VRDP 1906 1906 if (mpEntryPoints && mhServer) 1907 1907 { … … 1913 1913 void ConsoleVRDPServer::SendUSBRequest (uint32_t u32ClientId, void *pvParms, uint32_t cbParms) const 1914 1914 { 1915 #ifdef VBOX_ VRDP1915 #ifdef VBOX_WITH_VRDP 1916 1916 if (mpEntryPoints && mhServer) 1917 1917 { … … 1923 1923 void ConsoleVRDPServer::QueryInfo (uint32_t index, void *pvBuffer, uint32_t cbBuffer, uint32_t *pcbOut) const 1924 1924 { 1925 #ifdef VBOX_ VRDP1925 #ifdef VBOX_WITH_VRDP 1926 1926 if (mpEntryPoints && mhServer) 1927 1927 { … … 1931 1931 } 1932 1932 1933 #ifdef VBOX_ VRDP1933 #ifdef VBOX_WITH_VRDP 1934 1934 /* note: static function now! */ 1935 1935 bool ConsoleVRDPServer::loadVRDPLibrary (void) … … 1991 1991 return (mVRDPLibrary != NULL); 1992 1992 } 1993 #endif /* VBOX_ VRDP */1993 #endif /* VBOX_WITH_VRDP */ 1994 1994 1995 1995 /* -
trunk/src/VBox/Main/DisplayImpl.cpp
r11296 r11820 786 786 } 787 787 788 #ifdef VBOX_ VRDP788 #ifdef VBOX_WITH_VRDP 789 789 /* Called always by one VRDP server thread. Can be thread-unsafe. 790 790 */ … … 834 834 } 835 835 } 836 #endif /* VBOX_ VRDP */836 #endif /* VBOX_WITH_VRDP */ 837 837 838 838 static bool vbvaVerifyRingBuffer (VBVAMEMORY *pVbvaMemory) -
trunk/src/VBox/Main/MachineImpl.cpp
r11699 r11820 1275 1275 STDMETHODIMP Machine::COMGETTER(VRDPServer)(IVRDPServer **vrdpServer) 1276 1276 { 1277 #ifdef VBOX_ VRDP1277 #ifdef VBOX_WITH_VRDP 1278 1278 if (!vrdpServer) 1279 1279 return E_POINTER; … … 3624 3624 3625 3625 Bstr type (aType); 3626 if (type == "gui" || type == "GUI/Qt3") 3627 { 3628 #ifdef RT_OS_DARWIN /* Avoid Lanuch Services confusing this with the selector by using a helper app. */ 3629 const char VirtualBox_exe[] = "../Resources/VirtualBoxVM.app/Contents/MacOS/VirtualBoxVM3"; 3630 #else 3631 const char VirtualBox_exe[] = "VirtualBox3" HOSTSUFF_EXE; 3632 #endif 3626 3627 /* Qt4 is default */ 3628 #ifdef VBOX_WITH_QT4GUI 3629 if (type == "gui" || type == "GUI/Qt4") 3630 { 3631 # ifdef RT_OS_DARWIN /* Avoid Lanuch Services confusing this with the selector by using a helper app. */ 3632 const char VirtualBox_exe[] = "../Resources/VirtualBoxVM.app/Contents/MacOS/VirtualBoxVM"; 3633 # else 3634 const char VirtualBox_exe[] = "VirtualBox" HOSTSUFF_EXE; 3635 # endif 3633 3636 Assert (sz >= sizeof (VirtualBox_exe)); 3634 3637 strcpy (cmd, VirtualBox_exe); 3635 3638 3636 3639 Utf8Str idStr = mData->mUuid.toString(); 3637 # ifdef RT_OS_WINDOWS /** @todo drop this once the RTProcCreate bug has been fixed */3640 # ifdef RT_OS_WINDOWS /** @todo drop this once the RTProcCreate bug has been fixed */ 3638 3641 const char * args[] = {path, "-startvm", idStr, 0 }; 3639 # else3642 # else 3640 3643 Utf8Str name = mUserData->mName; 3641 3644 const char * args[] = {path, "-comment", name, "-startvm", idStr, 0 }; 3642 # endif3645 # endif 3643 3646 vrc = RTProcCreate (path, args, env, 0, &pid); 3644 3647 } 3648 #else /* !VBOX_WITH_QT4GUI */ 3649 if (0) 3650 ; 3651 #endif /* VBOX_WITH_QT4GUI */ 3652 3645 3653 else 3646 if (type == "GUI/Qt4") 3647 { 3648 #ifdef RT_OS_DARWIN /* Avoid Lanuch Services confusing this with the selector by using a helper app. */ 3649 const char VirtualBox_exe[] = "../Resources/VirtualBoxVM.app/Contents/MacOS/VirtualBoxVM"; 3650 #else 3651 const char VirtualBox_exe[] = "VirtualBox" HOSTSUFF_EXE; 3652 #endif 3654 3655 /* Qt3 is used sometimes as well, OS/2 does not have Qt4 at all */ 3656 #ifdef VBOX_WITH_QTGUI 3657 if (type == "gui" || type == "GUI/Qt3") 3658 { 3659 # ifdef RT_OS_DARWIN /* Avoid Lanuch Services confusing this with the selector by using a helper app. */ 3660 const char VirtualBox_exe[] = "../Resources/VirtualBoxVM.app/Contents/MacOS/VirtualBoxVM3"; 3661 # else 3662 const char VirtualBox_exe[] = "VirtualBox3" HOSTSUFF_EXE; 3663 # endif 3653 3664 Assert (sz >= sizeof (VirtualBox_exe)); 3654 3665 strcpy (cmd, VirtualBox_exe); 3655 3666 3656 3667 Utf8Str idStr = mData->mUuid.toString(); 3657 # ifdef RT_OS_WINDOWS /** @todo drop this once the RTProcCreate bug has been fixed */3668 # ifdef RT_OS_WINDOWS /** @todo drop this once the RTProcCreate bug has been fixed */ 3658 3669 const char * args[] = {path, "-startvm", idStr, 0 }; 3659 # else3670 # else 3660 3671 Utf8Str name = mUserData->mName; 3661 3672 const char * args[] = {path, "-comment", name, "-startvm", idStr, 0 }; 3662 # endif3673 # endif 3663 3674 vrc = RTProcCreate (path, args, env, 0, &pid); 3664 3675 } 3676 #else /* !VBOX_WITH_QTGUI */ 3677 if (0) 3678 ; 3679 #endif /* !VBOX_WITH_QTGUI */ 3680 3665 3681 else 3666 #ifdef VBOX_VRDP 3682 3683 #ifdef VBOX_WITH_VRDP 3667 3684 if (type == "vrdp") 3668 3685 { … … 3672 3689 3673 3690 Utf8Str idStr = mData->mUuid.toString(); 3674 # ifdef RT_OS_WINDOWS3691 # ifdef RT_OS_WINDOWS 3675 3692 const char * args[] = {path, "-startvm", idStr, 0 }; 3676 # else3693 # else 3677 3694 Utf8Str name = mUserData->mName; 3678 3695 const char * args[] = {path, "-comment", name, "-startvm", idStr, 0 }; 3679 # endif3696 # endif 3680 3697 vrc = RTProcCreate (path, args, env, 0, &pid); 3681 3698 } 3699 #else /* !VBOX_WITH_VRDP */ 3700 if (0) 3701 ; 3702 #endif /* !VBOX_WITH_VRDP */ 3703 3682 3704 else 3683 #endif /* VBOX_VRDP */ 3705 3706 #ifdef VBOX_WITH_HEADLESS 3684 3707 if (type == "capture") 3685 3708 { … … 3689 3712 3690 3713 Utf8Str idStr = mData->mUuid.toString(); 3691 # ifdef RT_OS_WINDOWS3714 # ifdef RT_OS_WINDOWS 3692 3715 const char * args[] = {path, "-startvm", idStr, "-capture", 0 }; 3693 # else3716 # else 3694 3717 Utf8Str name = mUserData->mName; 3695 3718 const char * args[] = {path, "-comment", name, "-startvm", idStr, "-capture", 0 }; 3696 # endif3719 # endif 3697 3720 vrc = RTProcCreate (path, args, env, 0, &pid); 3698 3721 } 3722 #else /* !VBOX_WITH_HEADLESS */ 3723 if (0) 3724 ; 3725 #endif /* !VBOX_WITH_HEADLESS */ 3699 3726 else 3700 3727 { … … 4123 4150 mBIOSSettings->init (this); 4124 4151 4125 #ifdef VBOX_ VRDP4152 #ifdef VBOX_WITH_VRDP 4126 4153 /* create an associated VRDPServer object (default is disabled) */ 4127 4154 unconst (mVRDPServer).createObject(); … … 4252 4279 } 4253 4280 4254 #ifdef VBOX_ VRDP4281 #ifdef VBOX_WITH_VRDP 4255 4282 if (mVRDPServer) 4256 4283 { … … 4808 4835 } 4809 4836 4810 #ifdef VBOX_ VRDP4837 #ifdef VBOX_WITH_VRDP 4811 4838 /* RemoteDisplay */ 4812 4839 rc = mVRDPServer->loadSettings (aNode); … … 6193 6220 } 6194 6221 6195 #ifdef VBOX_ VRDP6222 #ifdef VBOX_WITH_VRDP 6196 6223 /* VRDP settings (optional) */ 6197 6224 rc = mVRDPServer->saveSettings (aNode); … … 7275 7302 mHWData.isBackedUp() || 7276 7303 mHDData.isBackedUp() || 7277 #ifdef VBOX_ VRDP7304 #ifdef VBOX_WITH_VRDP 7278 7305 (mVRDPServer && mVRDPServer->isModified()) || 7279 7306 #endif … … 7318 7345 /* ignore mHDData */ 7319 7346 //mHDData.hasActualChanges() || 7320 #ifdef VBOX_ VRDP7347 #ifdef VBOX_WITH_VRDP 7321 7348 (mVRDPServer && mVRDPServer->isReallyModified()) || 7322 7349 #endif … … 7394 7421 mBIOSSettings->rollback(); 7395 7422 7396 #ifdef VBOX_ VRDP7423 #ifdef VBOX_WITH_VRDP 7397 7424 if (mVRDPServer) 7398 7425 vrdpChanged = mVRDPServer->rollback(); … … 7495 7522 7496 7523 mBIOSSettings->commit(); 7497 #ifdef VBOX_ VRDP7524 #ifdef VBOX_WITH_VRDP 7498 7525 mVRDPServer->commit(); 7499 7526 #endif … … 7561 7588 7562 7589 mBIOSSettings->copyFrom (aThat->mBIOSSettings); 7563 #ifdef VBOX_ VRDP7590 #ifdef VBOX_WITH_VRDP 7564 7591 mVRDPServer->copyFrom (aThat->mVRDPServer); 7565 7592 #endif … … 7808 7835 unconst (mBIOSSettings).createObject(); 7809 7836 mBIOSSettings->init (this, aMachine->mBIOSSettings); 7810 #ifdef VBOX_ VRDP7837 #ifdef VBOX_WITH_VRDP 7811 7838 /* create another VRDPServer object that will be mutable */ 7812 7839 unconst (mVRDPServer).createObject(); … … 10566 10593 mBIOSSettings->initCopy (this, mPeer->mBIOSSettings); 10567 10594 10568 #ifdef VBOX_ VRDP10595 #ifdef VBOX_WITH_VRDP 10569 10596 unconst (mVRDPServer).createObject(); 10570 10597 mVRDPServer->initCopy (this, mPeer->mVRDPServer); … … 10668 10695 mBIOSSettings->init (this); 10669 10696 10670 #ifdef VBOX_ VRDP10697 #ifdef VBOX_WITH_VRDP 10671 10698 unconst (mVRDPServer).createObject(); 10672 10699 mVRDPServer->init (this); -
trunk/src/VBox/Main/Makefile.kmk
r11811 r11820 133 133 # 134 134 VBoxSVC_TEMPLATE = VBOXMAINEXE 135 VBoxSVC_DEFS = VBOX_MAIN_SETTINGS_ADDONS $(VBOX_MAIN_DEFS) 136 ifdef VBOX_WITH_VRDP 137 VBoxSVC_DEFS += VBOX_VRDP 138 endif 139 ifdef VBOX_WITH_HGCM 140 VBoxSVC_DEFS += VBOX_HGCM 141 endif 142 ifdef VBOX_MAIN_RELEASE_LOG 143 VBoxSVC_DEFS += VBOX_MAIN_RELEASE_LOG LOG_ENABLED 144 endif 135 VBoxSVC_DEFS = \ 136 VBOX_MAIN_SETTINGS_ADDONS \ 137 $(VBOX_MAIN_DEFS) \ 138 $(if $(VBOX_WITH_VRDP),VBOX_WITH_VRDP,) \ 139 $(if $(VBOX_WITH_HEADLESS),VBOX_WITH_HEADLESS,) \ 140 $(if $(VBOX_WITH_QTGUI),VBOX_WITH_QTGUI,) \ 141 $(if $(VBOX_WITH_QT4GUI),VBOX_WITH_QT4GUI,) \ 142 $(if $(VBOX_WITH_HGCM),VBOX_WITH_HGCM,) \ 143 $(if $(VBOX_MAIN_RELEASE_LOG),VBOX_MAIN_RELEASE_LOG LOG_ENABLED,) \ 144 $(if $(VBOX_WITH_ALSA),VBOX_WITH_ALSA,) \ 145 $(if $(VBOX_WITH_PULSE),VBOX_WITH_PULSE,) \ 146 $(if $(VBOX_WITH_WINMM),VBOX_WITH_WINMM,) \ 147 $(if $(VBOX_WITH_E1000),VBOX_WITH_E1000,) \ 148 $(if $(VBOX_WITH_AHCI),VBOX_WITH_AHCI,) \ 149 $(if $(VBOX_WITHOUT_LINUX_COMPILER_H),VBOX_WITHOUT_LINUX_COMPILER_H,) \ 150 $(if $(VBOX_WITH_RESOURCE_USAGE_API),VBOX_WITH_RESOURCE_USAGE_API,) 151 145 152 ifdef VBOX_WITH_USB 146 VBoxSVC_DEFS += VBOX_WITH_USB 147 ifdef VBOX_WITH_EHCI 148 VBoxSVC_DEFS += VBOX_WITH_EHCI 149 endif 150 ifdef VBOX_WITH_NEW_USB_CODE_ON_DARWIN 151 VBoxSVC_DEFS += VBOX_WITH_NEW_USB_CODE_ON_DARWIN 152 endif 153 endif 154 ifdef VBOX_WITH_ALSA 155 VBoxSVC_DEFS += VBOX_WITH_ALSA 156 endif 157 ifdef VBOX_WITH_PULSE 158 VBoxSVC_DEFS += VBOX_WITH_PULSE 159 endif 160 ifdef VBOX_WITH_WINMM 161 VBoxSVC_DEFS += VBOX_WITH_WINMM 162 endif 163 ifdef VBOX_WITH_E1000 164 VBoxSVC_DEFS += VBOX_WITH_E1000 165 endif 166 ifdef VBOX_WITH_AHCI 167 VBoxSVC_DEFS += VBOX_WITH_AHCI 168 endif 169 ifdef VBOX_WITHOUT_LINUX_COMPILER_H 170 VBoxSVC_DEFS += VBOX_WITHOUT_LINUX_COMPILER_H 171 endif 172 ifdef VBOX_WITH_RESOURCE_USAGE_API 173 VBoxSVC_DEFS += VBOX_WITH_RESOURCE_USAGE_API 174 endif 153 VBoxSVC_DEFS += \ 154 VBOX_WITH_USB \ 155 $(if $(VBOX_WITH_EHCI),VBOX_WITH_EHCI,) \ 156 $(if $(VBOX_WITH_NEW_USB_CODE_ON_DARWIN),VBOX_WITH_NEW_USB_CODE_ON_DARWIN,) 157 endif 158 175 159 176 160 VBoxSVC_DEFS.win += VBOX_COM_OUTOFPROC_MODULE … … 237 221 SharedFolderImpl.cpp \ 238 222 SystemPropertiesImpl.cpp \ 239 BIOSSettingsImpl.cpp 240 241 ifdef VBOX_WITH_VRDP 242 VBoxSVC_SOURCES += VRDPServerImpl.cpp 243 endif 223 BIOSSettingsImpl.cpp \ 224 $(if $(VBOX_WITH_VRDP),VRDPServerImpl.cpp,) \ 225 $(if $(VBOX_WITH_XPCOM),xpcom/server.cpp,) 244 226 245 227 VBoxSVC_SOURCES.darwin = \ … … 256 238 VBoxSVC_SOURCES.solaris = \ 257 239 linux/vbox-libhal.cpp 258 259 ifdef VBOX_WITH_XPCOM260 VBoxSVC_SOURCES += \261 xpcom/server.cpp262 endif263 240 264 241 ifdef VBOX_WITH_USB … … 334 311 # 335 312 VBoxC_TEMPLATE = VBOXMAINCOMP 336 VBoxC_DEFS = IN_RING3 $(VBOX_MAIN_DEFS) 337 VBoxC_DEFS += VBOX_COM_INPROC 338 339 ifdef VBOX_WITH_VRDP 340 VBoxC_DEFS += VBOX_VRDP 341 endif 342 ifdef VBOX_WITH_HGCM 343 VBoxC_DEFS += VBOX_HGCM 344 endif 345 ifdef VBOX_MAIN_RELEASE_LOG 346 VBoxC_DEFS += VBOX_MAIN_RELEASE_LOG LOG_ENABLED 347 endif 313 VBoxC_DEFS = \ 314 IN_RING3 \ 315 $(VBOX_MAIN_DEFS) \ 316 VBOX_COM_INPROC \ 317 $(if $(VBOX_WITH_VRDP),VBOX_WITH_VRDP,) \ 318 $(if $(VBOX_WITH_HGCM),VBOX_WITH_HGCM,) \ 319 $(if $(VBOX_MAIN_RELEASE_LOG),VBOX_MAIN_RELEASE_LOG LOG_ENABLED,) \ 320 $(if $(VBOX_WITH_ALSA),VBOX_WITH_ALSA,) \ 321 $(if $(VBOX_WITH_PULSE),VBOX_WITH_PULSE,) \ 322 $(if $(VBOX_WITH_WINMM),VBOX_WITH_WINMM,) \ 323 $(if $(VBOX_WITH_CROSSBOW),VBOX_WITH_CROSSBOW,) \ 324 $(if $(VBOX_WITH_E1000),VBOX_WITH_E1000,) 325 348 326 ifdef VBOX_WITH_USB 349 VBoxC_DEFS += VBOX_WITH_USB 350 ifdef VBOX_WITH_EHCI 351 VBoxC_DEFS += VBOX_WITH_EHCI 352 endif 353 endif 354 ifdef VBOX_WITH_ALSA 355 VBoxC_DEFS += VBOX_WITH_ALSA 356 endif 357 ifdef VBOX_WITH_PULSE 358 VBoxC_DEFS += VBOX_WITH_PULSE 359 endif 360 ifdef VBOX_WITH_WINMM 361 VBoxC_DEFS += VBOX_WITH_WINMM 362 endif 363 ifdef VBOX_WITH_CROSSBOW 364 VBoxC_DEFS += VBOX_WITH_CROSSBOW 365 endif 366 ifdef VBOX_WITH_E1000 367 VBoxC_DEFS += VBOX_WITH_E1000 327 VBoxC_DEFS += \ 328 VBOX_WITH_USB \ 329 $(if $(VBOX_WITH_EHCI),VBOX_WITH_EHCI,) 368 330 endif 369 331 … … 608 570 IDL_DEFS = /nologo 609 571 ifdef VBOX_WITH_VRDP 610 IDL_DEFS += /D VBOX_ VRDP572 IDL_DEFS += /D VBOX_WITH_VRDP 611 573 endif 612 574 -
trunk/src/VBox/Main/VMMDevInterface.cpp
r11409 r11820 33 33 #include <iprt/asm.h> 34 34 35 #ifdef VBOX_ HGCM35 #ifdef VBOX_WITH_HGCM 36 36 #include "hgcm/HGCM.h" 37 37 #include "hgcm/HGCMObjects.h" … … 67 67 PDMIVMMDEVCONNECTOR Connector; 68 68 69 #ifdef VBOX_ HGCM69 #ifdef VBOX_WITH_HGCM 70 70 /** Pointer to the HGCM port interface of the driver/device above us. */ 71 71 PPDMIHGCMPORT pHGCMPort; … … 78 78 #define PDMIVMMDEVCONNECTOR_2_MAINVMMDEV(pInterface) ( (PDRVMAINVMMDEV) ((uintptr_t)pInterface - RT_OFFSETOF(DRVMAINVMMDEV, Connector)) ) 79 79 80 #ifdef VBOX_ HGCM80 #ifdef VBOX_WITH_HGCM 81 81 /** Converts PDMIHGCMCONNECTOR pointer to a DRVMAINVMMDEV pointer. */ 82 82 #define PDMIHGCMCONNECTOR_2_MAINVMMDEV(pInterface) ( (PDRVMAINVMMDEV) ((uintptr_t)pInterface - RT_OFFSETOF(DRVMAINVMMDEV, HGCMConnector)) ) … … 91 91 int rc = RTSemEventCreate(&mCredentialsEvent); 92 92 AssertRC(rc); 93 #ifdef VBOX_ HGCM93 #ifdef VBOX_WITH_HGCM 94 94 rc = HGCMHostInit (); 95 95 AssertRC(rc); 96 96 m_fHGCMActive = true; 97 #endif /* VBOX_ HGCM */97 #endif /* VBOX_WITH_HGCM */ 98 98 mu32CredentialsFlags = 0; 99 99 } … … 503 503 } 504 504 505 #ifdef VBOX_ HGCM505 #ifdef VBOX_WITH_HGCM 506 506 507 507 /* HGCM connector interface */ … … 620 620 case PDMINTERFACE_VMMDEV_CONNECTOR: 621 621 return &pDrv->Connector; 622 #ifdef VBOX_ HGCM622 #ifdef VBOX_WITH_HGCM 623 623 case PDMINTERFACE_HGCM_CONNECTOR: 624 624 return &pDrv->HGCMConnector; … … 639 639 PDRVMAINVMMDEV pData = PDMINS_2_DATA(pDrvIns, PDRVMAINVMMDEV); 640 640 LogFlow(("VMMDev::drvDestruct: iInstance=%d\n", pDrvIns->iInstance)); 641 #ifdef VBOX_ HGCM641 #ifdef VBOX_WITH_HGCM 642 642 /* HGCM is shut down on the VMMDev destructor. */ 643 #endif /* VBOX_ HGCM */643 #endif /* VBOX_WITH_HGCM */ 644 644 if (pData->pVMMDev) 645 645 { … … 657 657 { 658 658 LogFlow(("VMMDev::drvReset: iInstance=%d\n", pDrvIns->iInstance)); 659 #ifdef VBOX_ HGCM659 #ifdef VBOX_WITH_HGCM 660 660 HGCMHostReset (); 661 #endif /* VBOX_ HGCM */661 #endif /* VBOX_WITH_HGCM */ 662 662 } 663 663 … … 710 710 pData->Connector.pfnChangeMemoryBalloon = vmmdevChangeMemoryBalloon; 711 711 712 #ifdef VBOX_ HGCM712 #ifdef VBOX_WITH_HGCM 713 713 pData->HGCMConnector.pfnConnect = iface_hgcmConnect; 714 714 pData->HGCMConnector.pfnDisconnect = iface_hgcmDisconnect; … … 726 726 } 727 727 728 #ifdef VBOX_ HGCM728 #ifdef VBOX_WITH_HGCM 729 729 pData->pHGCMPort = (PPDMIHGCMPORT)pDrvIns->pUpBase->pfnQueryInterface(pDrvIns->pUpBase, PDMINTERFACE_HGCM_PORT); 730 730 if (!pData->pHGCMPort) … … 749 749 pData->pVMMDev->mpDrv = pData; 750 750 751 #ifdef VBOX_ HGCM751 #ifdef VBOX_WITH_HGCM 752 752 rc = pData->pVMMDev->hgcmLoadService (VBOXSHAREDFOLDERS_DLL, 753 753 "VBoxSharedFolders"); … … 803 803 804 804 pDrvIns->pDrvHlp->pfnSSMRegister(pDrvIns, "HGCM", 0, HGCM_SSM_VERSION, 4096/* bad guess */, NULL, iface_hgcmSave, NULL, NULL, iface_hgcmLoad, NULL); 805 #endif /* VBOX_ HGCM */805 #endif /* VBOX_WITH_HGCM */ 806 806 807 807 return VINF_SUCCESS; -
trunk/src/VBox/Main/include/ConsoleVRDPServer.h
r8155 r11820 35 35 /////////////////////////////////////////////////////////////////////////////// 36 36 37 #ifdef VBOX_ VRDP37 #ifdef VBOX_WITH_VRDP 38 38 typedef struct _VRDPInputSynch 39 39 { … … 49 49 bool fClientScrollLock; 50 50 } VRDPInputSynch; 51 #endif /* VBOX_ VRDP */51 #endif /* VBOX_WITH_VRDP */ 52 52 53 53 /* Member of Console. Helper class for VRDP server management. Not a COM class. */ … … 62 62 void NotifyAbsoluteMouse (bool fGuestWantsAbsolute) 63 63 { 64 #ifdef VBOX_ VRDP64 #ifdef VBOX_WITH_VRDP 65 65 m_fGuestWantsAbsolute = fGuestWantsAbsolute; 66 66 #else 67 67 NOREF(fGuestWantsAbsolute); 68 #endif /* VBOX_ VRDP */68 #endif /* VBOX_WITH_VRDP */ 69 69 } 70 70 71 71 void NotifyKeyboardLedsChange (BOOL fNumLock, BOOL fCapsLock, BOOL fScrollLock) 72 72 { 73 #ifdef VBOX_ VRDP73 #ifdef VBOX_WITH_VRDP 74 74 bool fGuestNumLock = (fNumLock != FALSE); 75 75 bool fGuestCapsLock = (fCapsLock != FALSE); … … 94 94 NOREF(fCapsLock); 95 95 NOREF(fScrollLock); 96 #endif /* VBOX_ VRDP */96 #endif /* VBOX_WITH_VRDP */ 97 97 } 98 98 … … 147 147 Console *mConsole; 148 148 149 #ifdef VBOX_ VRDP149 #ifdef VBOX_WITH_VRDP 150 150 HVRDPSERVER mhServer; 151 151 … … 182 182 183 183 VRDPInputSynch m_InputSynch; 184 #endif /* VBOX_ VRDP */184 #endif /* VBOX_WITH_VRDP */ 185 185 186 186 RTCRITSECT mCritSect; -
trunk/src/VBox/Main/include/DisplayImpl.h
r8155 r11820 110 110 bool VideoAccelAllowed (void); 111 111 112 #ifdef VBOX_ VRDP112 #ifdef VBOX_WITH_VRDP 113 113 void VideoAccelVRDP (bool fEnable); 114 #endif /* VBOX_ VRDP */114 #endif /* VBOX_WITH_VRDP */ 115 115 116 116 // IConsoleCallback methods -
trunk/src/VBox/Main/include/VMMDev.h
r11409 r11820 68 68 uint32_t mu32CredentialsFlags; 69 69 70 #ifdef VBOX_ HGCM70 #ifdef VBOX_WITH_HGCM 71 71 bool m_fHGCMActive; 72 #endif /* VBOX_ HGCM */72 #endif /* VBOX_WITH_HGCM */ 73 73 }; 74 74 -
trunk/src/VBox/Main/xpcom/server.cpp
r10958 r11820 152 152 NS_DECL_CLASSINFO(SharedFolder) 153 153 NS_IMPL_THREADSAFE_ISUPPORTS1_CI(SharedFolder, ISharedFolder) 154 #ifdef VBOX_ VRDP154 #ifdef VBOX_WITH_VRDP 155 155 NS_DECL_CLASSINFO(VRDPServer) 156 156 NS_IMPL_THREADSAFE_ISUPPORTS1_CI(VRDPServer, IVRDPServer) -
trunk/src/VBox/VMM/DBGF.cpp
r11311 r11820 241 241 RTStrmPrintf(g_pStdErr, "DBGF: No debugger attached, waiting 15 seconds for one to attach (event=%d)\n", enmEvent); 242 242 RTStrmFlush(g_pStdErr); 243 # if def DEBUG_sandervl243 # if defined (DEBUG_sandervl) || defined (DEBUG_frank) 244 244 int cWait = 10; 245 245 # else
Note:
See TracChangeset
for help on using the changeset viewer.