Changeset 10552 in vbox for trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDisplay.cpp
- Timestamp:
- Jul 11, 2008 8:05:12 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDisplay.cpp
r10541 r10552 409 409 displayChangeRequest.header.requestType = VMMDevReq_GetDisplayChangeRequest2; 410 410 displayChangeRequest.eventAck = VMMDEV_EVENT_DISPLAY_CHANGE_REQUEST; 411 BOOL fDisplayChangeQueried = DeviceIoControl(gVBoxDriver, VBOXGUEST_IOCTL_VMMREQUEST , &displayChangeRequest, sizeof(VMMDevDisplayChangeRequest2),411 BOOL fDisplayChangeQueried = DeviceIoControl(gVBoxDriver, VBOXGUEST_IOCTL_VMMREQUEST(sizeof(VMMDevDisplayChangeRequest2)), &displayChangeRequest, sizeof(VMMDevDisplayChangeRequest2), 412 412 &displayChangeRequest, sizeof(VMMDevDisplayChangeRequest2), &cbReturned, NULL); 413 413 if (!fDisplayChangeQueried) … … 418 418 displayChangeRequest.header.requestType = VMMDevReq_GetDisplayChangeRequest; 419 419 displayChangeRequest.eventAck = VMMDEV_EVENT_DISPLAY_CHANGE_REQUEST; 420 fDisplayChangeQueried = DeviceIoControl(gVBoxDriver, VBOXGUEST_IOCTL_VMMREQUEST , &displayChangeRequest, sizeof(VMMDevDisplayChangeRequest),420 fDisplayChangeQueried = DeviceIoControl(gVBoxDriver, VBOXGUEST_IOCTL_VMMREQUEST(sizeof(VMMDevDisplayChangeRequest)), &displayChangeRequest, sizeof(VMMDevDisplayChangeRequest), 421 421 &displayChangeRequest, sizeof(VMMDevDisplayChangeRequest), &cbReturned, NULL); 422 422 displayChangeRequest.display = 0;
Note:
See TracChangeset
for help on using the changeset viewer.