From 1ddbcff3ca1f0cab8355402698e85e1edd43c388 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Wed, 25 Mar 2015 22:27:05 +0000 Subject: [PATCH] [WIN32K] Add definition for DIB_PAL_INDICES and fix typo in the related brush flag (BR_IS_DIBPALINDICES). See http://support.microsoft.com/kb/kbview/108497 svn path=/trunk/; revision=66884 --- reactos/win32ss/gdi/ntgdi/brush.h | 2 +- reactos/win32ss/include/ntgdityp.h | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/reactos/win32ss/gdi/ntgdi/brush.h b/reactos/win32ss/gdi/ntgdi/brush.h index fe1d23647d9..79ffd968193 100644 --- a/reactos/win32ss/gdi/ntgdi/brush.h +++ b/reactos/win32ss/gdi/ntgdi/brush.h @@ -90,7 +90,7 @@ typedef struct _EBRUSHOBJ #define BR_IS_PEN 0x00000400 /* Pen */ #define BR_IS_OLDSTYLEPEN 0x00000800 /* Geometric pen */ #define BR_IS_DIBPALCOLORS 0x00001000 -#define BR_IS_DIBPALINDICE 0x00002000 +#define BR_IS_DIBPALINDICES 0x00002000 #define BR_IS_DEFAULTSTYLE 0x00004000 #define BR_IS_MASKING 0x00008000 /* Pattern bitmap is used as transparent mask (?) */ #define BR_IS_INSIDEFRAME 0x00010000 diff --git a/reactos/win32ss/include/ntgdityp.h b/reactos/win32ss/include/ntgdityp.h index d0f6b60c31b..6491211c6dc 100644 --- a/reactos/win32ss/include/ntgdityp.h +++ b/reactos/win32ss/include/ntgdityp.h @@ -223,9 +223,13 @@ typedef DWORD LFTYPE; #define METARGN 2 // GetMetaRgn #define APIRGN 3 -/* Undocumented flag for fdwInit in CreateDIBitmap */ +/* New flag for fdwInit in CreateDIBitmap. See support.microsoft.com/kb/kbview/108497*/ #define CBM_CREATDIB 2 +/* New color use parameter. See support.microsoft.com/kb/kbview/108497 */ +#define DIB_PAL_INDICES 2 + + /* TYPES *********************************************************************/ typedef PVOID KERNEL_PVOID;