[WIN32SS] Use the DCFLAGS and DCTYPE flags defined in ntgdi/dc.h instead of the old ones in include/ntgdihdl.h

The names of these new flags match the documented ones at
https://reactos.org/wiki/Techwiki:Win32k/DC
https://books.google.hr/books?id=-O92IIF1Bj4C&pg=PA197&lpg=PA197
and the gdikdx debug extension.
This commit is contained in:
Hermès Bélusca-Maïto 2020-01-10 01:44:09 +01:00
parent 1c2b757a64
commit 5e93daa9ce
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
14 changed files with 54 additions and 76 deletions

View file

@ -14,7 +14,7 @@ enum _FONT_STATE
/* fl */
#define DC_FL_PAL_BACK 1
enum _DCFLAGS
typedef enum _DCFLAGS
{
DC_DISPLAY = 0x0001,
DC_DIRECT = 0x0002,
@ -34,13 +34,13 @@ enum _DCFLAGS
#if DBG
DC_PREPARED = 0x8000
#endif
};
} DCFLAGS;
typedef enum _DCTYPE
{
DCTYPE_DIRECT = 0,
DCTYPE_MEMORY = 1,
DCTYPE_INFO = 2,
DCTYPE_DIRECT = 0, /* Normal device context */
DCTYPE_MEMORY = 1, /* Memory device context */
DCTYPE_INFO = 2, /* Information context */
} DCTYPE;