1 #ifndef _WIN32K_COLOR_H
2 #define _WIN32K_COLOR_H
5 #define CLR_INVALID 0xffffffff
7 #define PC_SYS_USED 0x80 /* palentry is used (both system and logical) */
8 #define PC_SYS_RESERVED 0x40 /* system palentry is not to be mapped to */
9 #define PC_SYS_MAPPED 0x10 /* logical palentry is a direct alias for system palentry */
11 #define NB_RESERVED_COLORS 20 /* number of fixed colors in system palette */
13 const PALETTEENTRY
* FASTCALL
COLOR_GetSystemPaletteTemplate (VOID
);
14 COLORREF STDCALL
COLOR_LookupNearestColor (PALETTEENTRY
* palPalEntry
, INT size
, COLORREF color
);
15 INT STDCALL
COLOR_PaletteLookupExactIndex (PALETTEENTRY
* palPalEntry
, INT size
, COLORREF col
);
16 INT STDCALL
COLOR_PaletteLookupPixel(PALETTEENTRY
*palPalEntry
, INT size
, XLATEOBJ
*XlateObj
, COLORREF col
, BOOL skipReserved
);
17 UINT FASTCALL
IntGdiRealizePalette (HDC
);
19 #endif /* _WIN32K_COLOR_H */