#ifndef __WIN32K_COLOR_H
#define __WIN32K_COLOR_H
+#ifndef CLR_INVALID
#define CLR_INVALID 0xffffffff
-#define PC_SYS_USED 0x80 // palentry is used (both system and logical)
-#define PC_SYS_RESERVED 0x40 // system palentry is not to be mapped to
-#define PC_SYS_MAPPED 0x10 // logical palentry is a direct alias for system palentry
+#endif
+#define PC_SYS_USED 0x80 /* palentry is used (both system and logical) */
+#define PC_SYS_RESERVED 0x40 /* system palentry is not to be mapped to */
+#define PC_SYS_MAPPED 0x10 /* logical palentry is a direct alias for system palentry */
BOOL
STDCALL
-W32kAnimatePalette (
+NtGdiAnimatePalette (
HPALETTE hpal,
UINT StartIndex,
UINT Entries,
);
HPALETTE
STDCALL
-W32kCreateHalftonePalette (
+NtGdiCreateHalftonePalette (
HDC hDC
);
HPALETTE
STDCALL
-W32kCreatePalette (
+NtGdiCreatePalette (
CONST PLOGPALETTE lgpl
);
BOOL
STDCALL
-W32kGetColorAdjustment (
+NtGdiGetColorAdjustment (
HDC hDC,
LPCOLORADJUSTMENT ca
);
COLORREF
STDCALL
-W32kGetNearestColor (
+NtGdiGetNearestColor (
HDC hDC,
COLORREF Color
);
UINT
STDCALL
-W32kGetNearestPaletteIndex (
+NtGdiGetNearestPaletteIndex (
HPALETTE hpal,
COLORREF Color
);
UINT
STDCALL
-W32kGetPaletteEntries (
+NtGdiGetPaletteEntries (
HPALETTE hpal,
UINT StartIndex,
UINT Entries,
);
UINT
STDCALL
-W32kGetSystemPaletteEntries (
+NtGdiGetSystemPaletteEntries (
HDC hDC,
UINT StartIndex,
UINT Entries,
);
UINT
STDCALL
-W32kGetSystemPaletteUse (
+NtGdiGetSystemPaletteUse (
HDC hDC
);
UINT
STDCALL
-W32kRealizePalette (
+NtGdiRealizePalette (
HDC hDC
);
BOOL
STDCALL
-W32kResizePalette (
+NtGdiResizePalette (
HPALETTE hpal,
UINT Entries
);
HPALETTE
STDCALL
-W32kSelectPalette (
+NtGdiSelectPalette (
HDC hDC,
HPALETTE hpal,
BOOL ForceBackground
);
BOOL
STDCALL
-W32kSetColorAdjustment (
+NtGdiSetColorAdjustment (
HDC hDC,
CONST LPCOLORADJUSTMENT ca
);
UINT
STDCALL
-W32kSetPaletteEntries (
+NtGdiSetPaletteEntries (
HPALETTE hpal,
UINT Start,
UINT Entries,
);
UINT
STDCALL
-W32kSetSystemPaletteUse (
+NtGdiSetSystemPaletteUse (
HDC hDC,
UINT Usage
);
BOOL
STDCALL
-W32kUnrealizeObject (
+NtGdiUnrealizeObject (
HGDIOBJ hgdiobj
);
BOOL
STDCALL
-W32kUpdateColors (
+NtGdiUpdateColors (
HDC hDC
);
#endif