Author: tkreuzer
Date: Wed Mar 25 22:27:05 2015
New Revision: 66884
URL:
http://svn.reactos.org/svn/reactos?rev=66884&view=rev
Log:
[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
Modified:
trunk/reactos/win32ss/gdi/ntgdi/brush.h
trunk/reactos/win32ss/include/ntgdityp.h
Modified: trunk/reactos/win32ss/gdi/ntgdi/brush.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/ntgdi/brush.h?…
==============================================================================
--- trunk/reactos/win32ss/gdi/ntgdi/brush.h [iso-8859-1] (original)
+++ trunk/reactos/win32ss/gdi/ntgdi/brush.h [iso-8859-1] Wed Mar 25 22:27:05 2015
@@ -90,7 +90,7 @@
#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
Modified: trunk/reactos/win32ss/include/ntgdityp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/include/ntgdityp.h…
==============================================================================
--- trunk/reactos/win32ss/include/ntgdityp.h [iso-8859-1] (original)
+++ trunk/reactos/win32ss/include/ntgdityp.h [iso-8859-1] Wed Mar 25 22:27:05 2015
@@ -223,8 +223,12 @@
#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 *********************************************************************/