Changeset 3118 in vbox
- Timestamp:
- Jun 15, 2007 11:29:48 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideo.cpp
r2981 r3118 1541 1541 PULONG pUnused) 1542 1542 { 1543 dprintf(("VBoxVideo::VBoxVideoGetChildDescriptor\n")); 1544 return ERROR_NO_MORE_DEVICES; 1543 dprintf(("VBoxVideo::VBoxVideoGetChildDescriptor\n")); 1544 1545 DEVICE_EXTENSION *pDevExt = (DEVICE_EXTENSION *)HwDeviceExtension; 1546 1547 if (ChildEnumInfo->ChildIndex > 0) 1548 { 1549 if ( (ChildEnumInfo->ChildIndex == 1 && gNumDisplays == 0) 1550 || ((int)ChildEnumInfo->ChildIndex <= gNumDisplays) 1551 ) 1552 { 1553 *VideoChildType = Monitor; 1554 *pUId = ChildEnumInfo->ChildIndex; 1555 1556 return VIDEO_ENUM_MORE_DEVICES; 1557 } 1558 } 1559 1560 return ERROR_NO_MORE_DEVICES; 1545 1561 } 1546 1562
Note:
See TracChangeset
for help on using the changeset viewer.