From fe93333f0ed0e1c2d964acb179488fcb85f2ac4e Mon Sep 17 00:00:00 2001 From: Magnus Olsen Date: Wed, 28 May 2008 20:03:10 +0000 Subject: [PATCH] This file will be share between dxg and win32k explain why will follow in documentations that Z98 helping me writing at moment. they will be release to public fast explain windows xp and higher have two gdi table, it is better reuse same macro for both, that rewrite it one more time. svn path=/trunk/; revision=33744 --- reactos/include/reactos/win32k/ntgdihdl.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/reactos/include/reactos/win32k/ntgdihdl.h b/reactos/include/reactos/win32k/ntgdihdl.h index 58178fb427a..30aa0ede4b1 100644 --- a/reactos/include/reactos/win32k/ntgdihdl.h +++ b/reactos/include/reactos/win32k/ntgdihdl.h @@ -51,7 +51,6 @@ */ /*@{*/ #define GDI_OBJECT_TYPE_DC 0x00010000 -#define GDI_OBJECT_TYPE_DIRECTDRAW 0x00020000 /* Should be moved away from gdi objects */ #define GDI_OBJECT_TYPE_DD_SURFACE 0x00030000 /* Should be moved away from gdi objects */ #define GDI_OBJECT_TYPE_REGION 0x00040000 #define GDI_OBJECT_TYPE_BITMAP 0x00050000 @@ -66,9 +65,13 @@ #define GDI_OBJECT_TYPE_DD_MOTIONCOMP 0x00140000 /* Should be moved away from gdi objects */ #define GDI_OBJECT_TYPE_ENUMFONT 0x00160000 +/* Confrim on XP value is taken from NtGdiCreateDirectDrawObject */ +#define GDI_OBJECT_TYPE_DIRECTDRAW 0x00200000 + /* Following object types are derived types from the above base types use 0x001f0000 as mask to get the base type */ #define GDI_OBJECT_TYPE_EMF 0x00210000 + #define GDI_OBJECT_TYPE_METAFILE 0x00260000 #define GDI_OBJECT_TYPE_ENHMETAFILE 0x00460000 #define GDI_OBJECT_TYPE_PEN 0x00300000