mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 20:15:59 +00:00
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. svn path=/trunk/; revision=33225
This commit is contained in:
parent
4c675706f2
commit
6b7e77bfc9
1 changed files with 2 additions and 1 deletions
|
@ -309,7 +309,8 @@ DxEngGetHdevData(HDEV hDev,
|
|||
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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue