[ros-diffs] [jimtabor] 30950: Add GdiDevice flags.
jimtabor at svn.reactos.org
jimtabor at svn.reactos.org
Sun Dec 2 01:42:31 CET 2007
Author: jimtabor
Date: Sun Dec 2 03:42:31 2007
New Revision: 30950
URL: http://svn.reactos.org/svn/reactos?rev=30950&view=rev
Log:
Add GdiDevice flags.
Modified:
trunk/reactos/subsystems/win32/win32k/include/dc.h
Modified: trunk/reactos/subsystems/win32/win32k/include/dc.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/include/dc.h?rev=30950&r1=30949&r2=30950&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/include/dc.h (original)
+++ trunk/reactos/subsystems/win32/win32k/include/dc.h Sun Dec 2 03:42:31 2007
@@ -12,7 +12,23 @@
#define GDI_DC_TYPE (1)
-
+// GDIDEVICE flags
+#define PDEV_DISPLAY 0x00000001 // Display device
+#define PDEV_HARDWARE_POINTER 0x00000002 // Supports hardware cursor
+#define PDEV_SOFTWARE_POINTER 0x00000004
+#define PDEV_GOTFONTS 0x00000040 // Has font driver
+#define PDEV_PRINTER 0x00000080
+#define PDEV_ALLOCATEDBRUSHES 0x00000100
+#define PDEV_HTPAL_IS_DEVPAL 0x00000200
+#define PDEV_DISABLED 0x00000400
+#define PDEV_SYNCHRONIZE_ENABLED 0x00000800
+#define PDEV_FONTDRIVER 0x00002000 // Font device
+#define PDEV_GAMMARAMP_TABLE 0x00004000
+#define PDEV_UMPD 0x00008000
+#define PDEV_SHARED_DEVLOCK 0x00010000
+#define PDEV_META_DEVICE 0x00020000
+#define PDEV_DRIVER_PUNTED_CALL 0x00040000 // Driver calls back to GDI engine
+#define PDEV_CLONE_DEVICE 0x00080000
typedef struct _GDIPOINTER /* should stay private to ENG */
{
@@ -40,6 +56,7 @@
ULONG lucExcLock;
ULONG Tid;
+ FLONG flFlags;
PERESOURCE hsemDevLock;
PVOID pvGammaRamp;
More information about the Ros-diffs
mailing list