Author: greatlrd
Date: Thu May 1 16:00:54 2008
New Revision: 33225
URL:
http://svn.reactos.org/svn/reactos?rev=33225&view=rev
Log:
Thx fireball to found the real issue with dxg.sys why the hell it did send down NULL
we need the graphic drv DeviceObject be sent in, it is known as PDev->hSpooler in
windows
reactos win32k does not set it up yet so we using reactos version of it
it call PDev->VideoFileObject->DeviceObject.
Modified:
trunk/reactos/subsystems/win32/win32k/ntddraw/dxeng.c
Modified: trunk/reactos/subsystems/win32/win32k/ntddraw/dxeng.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntddraw/dxeng.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntddraw/dxeng.c [iso-8859-1] Thu May 1 16:00:54
2008
@@ -309,7 +309,8 @@
break;
case DxEGShDevData_hSpooler:
DPRINT1("requested DXEGSHDEVDATA DxEGShDevData_hSpooler\n");
- retVal = (DWORD_PTR) PDev->hSpooler; // If the device is a spooler driver.
+ // retVal = (DWORD_PTR) PDev->hSpooler; // If the device is a spooler
driver.
+ retVal = (DWORD_PTR) PDev->VideoFileObject->DeviceObject;
break;
case DxEGShDevData_DitherFmt:
DPRINT1("requested DXEGSHDEVDATA DxEGShDevData_DitherFmt\n");