Changeset 10552 in vbox for trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxSeamless.cpp
- Timestamp:
- Jul 11, 2008 8:05:12 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 33244
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxSeamless.cpp
r10541 r10552 85 85 86 86 DWORD cbReturned; 87 if (!DeviceIoControl(pEnv->hDriver, VBOXGUEST_IOCTL_VMMREQUEST , &vmmreqGuestCaps, sizeof(vmmreqGuestCaps),87 if (!DeviceIoControl(pEnv->hDriver, VBOXGUEST_IOCTL_VMMREQUEST(sizeof(vmmreqGuestCaps)), &vmmreqGuestCaps, sizeof(vmmreqGuestCaps), 88 88 &vmmreqGuestCaps, sizeof(vmmreqGuestCaps), &cbReturned, NULL)) 89 89 { … … 115 115 116 116 DWORD cbReturned; 117 if (!DeviceIoControl(pEnv->hDriver, VBOXGUEST_IOCTL_VMMREQUEST , &vmmreqGuestCaps, sizeof(vmmreqGuestCaps),117 if (!DeviceIoControl(pEnv->hDriver, VBOXGUEST_IOCTL_VMMREQUEST(sizeof(vmmreqGuestCaps)), &vmmreqGuestCaps, sizeof(vmmreqGuestCaps), 118 118 &vmmreqGuestCaps, sizeof(vmmreqGuestCaps), &cbReturned, NULL)) 119 119 { … … 337 337 seamlessChangeRequest.eventAck = VMMDEV_EVENT_SEAMLESS_MODE_CHANGE_REQUEST; 338 338 339 BOOL fSeamlessChangeQueried = DeviceIoControl(gVBoxDriver, VBOXGUEST_IOCTL_VMMREQUEST , &seamlessChangeRequest, sizeof(seamlessChangeRequest),339 BOOL fSeamlessChangeQueried = DeviceIoControl(gVBoxDriver, VBOXGUEST_IOCTL_VMMREQUEST(sizeof(seamlessChangeRequest)), &seamlessChangeRequest, sizeof(seamlessChangeRequest), 340 340 &seamlessChangeRequest, sizeof(seamlessChangeRequest), &cbReturned, NULL); 341 341 if (fSeamlessChangeQueried)
Note:
See TracChangeset
for help on using the changeset viewer.