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
This commit is contained in:
Timo Kreuzer 2015-03-25 22:27:05 +00:00
parent e431dd155c
commit 1ddbcff3ca
2 changed files with 6 additions and 2 deletions

View file

@ -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

View file

@ -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;