Changeset 4686 in vbox for trunk/src/VBox/Additions/WINNT/VBoxService
- Timestamp:
- Sep 11, 2007 8:42:32 AM (17 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/VBoxService
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxService/VBoxDisplay.cpp
r4267 r4686 319 319 /* wait for a display change event */ 320 320 VBoxGuestWaitEventInfo waitEvent; 321 waitEvent.u32TimeoutIn = 100 ;321 waitEvent.u32TimeoutIn = 1000; 322 322 waitEvent.u32EventMaskIn = VMMDEV_EVENT_DISPLAY_CHANGE_REQUEST; 323 323 if (DeviceIoControl(gVBoxDriver, IOCTL_VBOXGUEST_WAITEVENT, &waitEvent, sizeof(waitEvent), &waitEvent, sizeof(waitEvent), &cbReturned, NULL)) -
trunk/src/VBox/Additions/WINNT/VBoxService/VBoxMemBalloon.cpp
r4597 r4686 103 103 /* wait for a seamless change event */ 104 104 VBoxGuestWaitEventInfo waitEvent; 105 waitEvent.u32TimeoutIn = 1000;105 waitEvent.u32TimeoutIn = 5000; 106 106 waitEvent.u32EventMaskIn = VMMDEV_EVENT_BALLOON_CHANGE_REQUEST; 107 107 if (DeviceIoControl(gVBoxDriver, IOCTL_VBOXGUEST_WAITEVENT, &waitEvent, sizeof(waitEvent), &waitEvent, sizeof(waitEvent), &cbReturned, NULL)) -
trunk/src/VBox/Additions/WINNT/VBoxService/VBoxRestore.cpp
r4305 r4686 116 116 /* wait for a seamless change event */ 117 117 VBoxGuestWaitEventInfo waitEvent; 118 waitEvent.u32TimeoutIn = 1000;118 waitEvent.u32TimeoutIn = 5000; 119 119 waitEvent.u32EventMaskIn = VMMDEV_EVENT_RESTORED; 120 120 if (DeviceIoControl(gVBoxDriver, IOCTL_VBOXGUEST_WAITEVENT, &waitEvent, sizeof(waitEvent), &waitEvent, sizeof(waitEvent), &cbReturned, NULL)) -
trunk/src/VBox/Additions/WINNT/VBoxService/VBoxSeamless.cpp
r4461 r4686 293 293 /* wait for a seamless change event */ 294 294 VBoxGuestWaitEventInfo waitEvent; 295 waitEvent.u32TimeoutIn = 1000;295 waitEvent.u32TimeoutIn = 5000; 296 296 waitEvent.u32EventMaskIn = VMMDEV_EVENT_SEAMLESS_MODE_CHANGE_REQUEST; 297 297 if (DeviceIoControl(gVBoxDriver, IOCTL_VBOXGUEST_WAITEVENT, &waitEvent, sizeof(waitEvent), &waitEvent, sizeof(waitEvent), &cbReturned, NULL)) -
trunk/src/VBox/Additions/WINNT/VBoxService/VBoxStatistics.cpp
r4610 r4686 93 93 *(uintptr_t *)&gCtx.pfnGlobalMemoryStatusEx = (uintptr_t)GetProcAddress(hMod, "GlobalMemoryStatusEx"); 94 94 if (gCtx.pfnGlobalMemoryStatusEx) 95 dprintf(("gCtx.GlobalMemoryStatus = %x\n", gCtx.pfnGlobalMemoryStatusEx));95 dprintf(("gCtx.GlobalMemoryStatusEx = %x\n", gCtx.pfnGlobalMemoryStatusEx)); 96 96 else 97 97 { 98 98 /** @todo now fails in NT4; do we care? */ 99 dprintf(("KERNEL32.GlobalMemoryStatus not found!!\n"));99 dprintf(("KERNEL32.GlobalMemoryStatusEx not found!!\n")); 100 100 return VERR_NOT_IMPLEMENTED; 101 101 } … … 260 260 /* wait for a seamless change event */ 261 261 VBoxGuestWaitEventInfo waitEvent; 262 waitEvent.u32TimeoutIn = (pCtx->uStatInterval) ? pCtx->uStatInterval : 1000;262 waitEvent.u32TimeoutIn = (pCtx->uStatInterval) ? pCtx->uStatInterval : 5000; 263 263 waitEvent.u32EventMaskIn = VMMDEV_EVENT_STATISTICS_INTERVAL_CHANGE_REQUEST; 264 264 if (DeviceIoControl(gVBoxDriver, IOCTL_VBOXGUEST_WAITEVENT, &waitEvent, sizeof(waitEvent), &waitEvent, sizeof(waitEvent), &cbReturned, NULL))
Note:
See TracChangeset
for help on using the changeset viewer.