mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 16:11:49 +00:00
[GDI] Windows puts DeviceObject to hSpooler field when it is graphics device. CORE-7733 CORE-4490
svn path=/trunk/; revision=74169
This commit is contained in:
parent
6231da678b
commit
7797dd6fcc
2 changed files with 5 additions and 1 deletions
|
@ -359,6 +359,10 @@ EngpCreatePDEV(
|
|||
ppdev->pfnMovePointer = EngMovePointer;
|
||||
|
||||
ppdev->pGraphicsDevice = pGraphicsDevice;
|
||||
|
||||
// DxEngGetHdevData asks for Graphics DeviceObject in hSpooler field
|
||||
ppdev->hSpooler = ppdev->pGraphicsDevice->DeviceObject;
|
||||
|
||||
// Should we change the ative mode of pGraphicsDevice ?
|
||||
ppdev->pdmwDev = PDEVOBJ_pdmMatchDevMode(ppdev, pdm) ;
|
||||
|
||||
|
|
|
@ -123,7 +123,7 @@ typedef struct _PDEVOBJ
|
|||
DEVINFO devinfo;
|
||||
GDIINFO gdiinfo;
|
||||
PSURFACE pSurface; /* SURFACE for this device. */
|
||||
// HANDLE hSpooler; /* Handle to spooler, if spooler dev driver. */
|
||||
HANDLE hSpooler; /* Handle to spooler, if spooler dev driver, DeviceObject if graphics device */
|
||||
// PVOID pDesktopId;
|
||||
PGRAPHICS_DEVICE pGraphicsDevice;
|
||||
POINTL ptlOrigion;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue