Changeset 4121 in vbox for trunk/src/VBox/Additions/WINNT/Graphics
- Timestamp:
- Aug 12, 2007 2:14:24 PM (17 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/Display
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Display/driver.h
r4061 r4121 141 141 extern HSEMAPHORE ghsemHwBuffer; 142 142 143 /* Global DDI version of guest */ 144 extern ULONG giEngineVersion; 143 145 144 146 DWORD getAvailableModes(HANDLE, PVIDEO_MODE_INFORMATION *, DWORD *); -
trunk/src/VBox/Additions/WINNT/Graphics/Display/enable.c
r4028 r4121 273 273 // Required hook bits will be set up according to DDI version 274 274 static ULONG gflHooks = 0; 275 ULONG giEngineVersion = DDI_DRIVER_VERSION_NT4; 275 276 276 277 #define HOOKS_BMF8BPP gflHooks … … 306 307 HOOK_COPYBITS | HOOK_STROKEPATH | HOOK_LINETO | 307 308 HOOK_PAINT | HOOK_STRETCHBLT | HOOK_SYNCHRONIZEACCESS; 309 310 giEngineVersion = iEngineVersion; 308 311 309 312 // Fill in as much as we can. -
trunk/src/VBox/Additions/WINNT/Graphics/Display/screen.c
r4061 r4121 488 488 489 489 490 pGdiInfo->ulVersion = GDI_DRIVER_VERSION; 490 if ( giEngineVersion == DDI_DRIVER_VERSION_NT4 491 || giEngineVersion == DDI_DRIVER_VERSION_SP3) 492 { 493 DISPDBG((0,"DISP bInitPDEV pGdiInfo->ulVersion = %x\n", GDI_DRIVER_VERSION)); 494 pGdiInfo->ulVersion = GDI_DRIVER_VERSION; /* 0x4000 -> NT4 */ 495 } 496 else 497 { 498 DISPDBG((0,"DISP bInitPDEV pGdiInfo->ulVersion = %x\n", 0x5000)); 499 pGdiInfo->ulVersion = 0x5000; 500 } 501 491 502 pGdiInfo->ulTechnology = DT_RASDISPLAY; 492 503 pGdiInfo->ulHorzSize = pVideoModeSelected->XMillimeter;
Note:
See TracChangeset
for help on using the changeset viewer.