Author: jimtabor
Date: Mon Aug 6 02:02:12 2007
New Revision: 28181
URL:
http://svn.reactos.org/svn/reactos?rev=28181&view=rev
Log:
Start of the dcattr migration.
Modified:
trunk/reactos/include/reactos/win32k/ntgdihdl.h
trunk/reactos/subsystems/win32/win32k/include/dc.h
Modified: trunk/reactos/include/reactos/win32k/ntgdihdl.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/win32k/ntg…
==============================================================================
--- trunk/reactos/include/reactos/win32k/ntgdihdl.h (original)
+++ trunk/reactos/include/reactos/win32k/ntgdihdl.h Mon Aug 6 02:02:12 2007
@@ -89,6 +89,27 @@
#define GDI_ENTRY_GET_REUSECNT(e) \
((((ULONG_PTR)(e)) & GDI_ENTRY_REUSE_MASK) >> GDI_ENTRY_REUSECNT_SHIFT)
+/* DC OBJ Types */
+#define DC_TYPE_DIRECT 0 // normal device context
+#define DC_TYPE_MEMORY 1 // memory device context
+#define DC_TYPE_INFO 2 // information context
+
+/* DC OBJ Flags */
+#define DC_FLAG_DISPLAY 0x0001
+#define DC_FLAG_DIRECT 0x0002
+#define DC_FLAG_CANCELLED 0x0004
+#define DC_FLAG_PERMANENT 0x0008
+#define DC_FLAG_DIRTY_RAO 0x0010
+#define DC_FLAG_ACCUM_WMGR 0x0020
+#define DC_FLAG_ACCUM_APP 0x0040
+#define DC_FLAG_RESET 0x0080
+#define DC_FLAG_SYNCHRONIZEACCESS 0x0100
+#define DC_FLAG_EPSPRINTINGESCAPE 0x0200
+#define DC_FLAG_TEMPINFODC 0x0400
+#define DC_FLAG_FULLSCREEN 0x0800
+#define DC_FLAG_IN_CLONEPDEV 0x1000
+#define DC_FLAG_REDIRECTION 0x2000
+#define DC_FLAG_SHAREACCESS 0x4000
/* DC_ATTR Dirty Flags */
#define DIRTY_FILL 0x00000001
Modified: trunk/reactos/subsystems/win32/win32k/include/dc.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/in…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/include/dc.h (original)
+++ trunk/reactos/subsystems/win32/win32k/include/dc.h Mon Aug 6 02:02:12 2007
@@ -122,7 +122,8 @@
HPALETTE PalIndexed;
WIN_DC_INFO w;
-
+ DC_ATTR Dc_Attr;
+
HANDLE hFile;
LPENHMETAHEADER emh;