Changeset 42233 in vbox
- Timestamp:
- Jul 19, 2012 4:25:49 PM (13 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/Video
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm/VBoxDispDriver.cpp
r42232 r42233 1005 1005 if (pvOut && cjOut == sizeof(DWORD)) 1006 1006 { 1007 /* @todo: impl */ 1008 *(DWORD *)pvOut = TRUE; 1009 return 1; 1007 DWORD cbReturned; 1008 DWORD dwrc = EngDeviceIoControl(pDev->hDriver, IOCTL_VIDEO_VBOX_ISANYX, NULL, 0, 1009 pvOut, sizeof (uint32_t), &cbReturned); 1010 if (dwrc == NO_ERROR && cbReturned == sizeof (uint32_t)) 1011 return 1; 1012 WARN(("EngDeviceIoControl failed, dwrc(%d), cbReturned(%d)", dwrc, cbReturned)); 1013 return 0; 1010 1014 } 1011 1015 else -
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/xpdm/VBoxMPDriver.cpp
r41044 r42233 535 535 } 536 536 #endif 537 538 case IOCTL_VIDEO_VBOX_ISANYX: 539 { 540 STARTIO_OUT(uint32_t, pu32AnyX); 541 *pu32AnyX = pExt->fAnyX; 542 pStatus->Information = sizeof (uint32_t); 543 bResult = TRUE; 544 break; 545 } 546 537 547 default: 538 548 {
Note:
See TracChangeset
for help on using the changeset viewer.