From b307fac06c876f9f8eca1a741724a7c9db4e76d0 Mon Sep 17 00:00:00 2001 From: James Tabor Date: Mon, 20 Oct 2008 07:36:21 +0000 Subject: [PATCH] - Update local DC structure and defines. svn path=/trunk/; revision=36838 --- reactos/include/reactos/win32k/ntgdihdl.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/reactos/include/reactos/win32k/ntgdihdl.h b/reactos/include/reactos/win32k/ntgdihdl.h index f30b0c397d8..0159f7fe6d0 100644 --- a/reactos/include/reactos/win32k/ntgdihdl.h +++ b/reactos/include/reactos/win32k/ntgdihdl.h @@ -171,9 +171,12 @@ /* DC_ATTR LCD Flags */ #define LDC_LDC 0x00000001 // (init) local DC other than a normal DC #define LDC_EMFLDC 0x00000002 // Enhance Meta File local DC +#define LDC_SAPCALLBACK 0x00000020 #define LDC_INIT_DOCUMENT 0x00000040 #define LDC_INIT_PAGE 0x00000080 +#define LDC_CLOCKWISE 0x00002000 #define LDC_KILL_DOCUMENT 0x00010000 +#define LDC_DEVCAPS 0x02000000 /* DC_ATTR Xform Flags */ #define METAFILE_TO_WORLD_IDENTITY 0x00000001 @@ -244,10 +247,13 @@ typedef struct _LDC ULONG Flags; INT iType; PVOID pvEmfDC; /* Pointer to ENHMETAFILE structure */ + LPWSTR pwszPort; ABORTPROC pAbortProc; /* AbortProc for Printing */ + DWORD CallBackTick; HANDLE hPrinter; /* Local or Remote Printer driver */ - INT iInitPage; /* Start/Stop */ - INT iInitDocument; + DEVCAPS DevCaps; + HBRUSH BrushColor; + HPEN PenColor; } LDC, *PLDC; typedef struct _DC_ATTR