mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 07:02:56 +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->pfnMovePointer = EngMovePointer;
|
||||||
|
|
||||||
ppdev->pGraphicsDevice = pGraphicsDevice;
|
ppdev->pGraphicsDevice = pGraphicsDevice;
|
||||||
|
|
||||||
|
// DxEngGetHdevData asks for Graphics DeviceObject in hSpooler field
|
||||||
|
ppdev->hSpooler = ppdev->pGraphicsDevice->DeviceObject;
|
||||||
|
|
||||||
// Should we change the ative mode of pGraphicsDevice ?
|
// Should we change the ative mode of pGraphicsDevice ?
|
||||||
ppdev->pdmwDev = PDEVOBJ_pdmMatchDevMode(ppdev, pdm) ;
|
ppdev->pdmwDev = PDEVOBJ_pdmMatchDevMode(ppdev, pdm) ;
|
||||||
|
|
||||||
|
|
|
@ -123,7 +123,7 @@ typedef struct _PDEVOBJ
|
||||||
DEVINFO devinfo;
|
DEVINFO devinfo;
|
||||||
GDIINFO gdiinfo;
|
GDIINFO gdiinfo;
|
||||||
PSURFACE pSurface; /* SURFACE for this device. */
|
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;
|
// PVOID pDesktopId;
|
||||||
PGRAPHICS_DEVICE pGraphicsDevice;
|
PGRAPHICS_DEVICE pGraphicsDevice;
|
||||||
POINTL ptlOrigion;
|
POINTL ptlOrigion;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue