7 #define NB_RESERVED_COLORS 20 13 { 0x00, 0x00, 0x00, 0 },
14 { 0x80, 0x00, 0x00, 0 },
15 { 0x00, 0x80, 0x00, 0 },
16 { 0x80, 0x80, 0x00, 0 },
17 { 0x00, 0x00, 0x80, 0 },
18 { 0x80, 0x00, 0x80, 0 },
19 { 0x00, 0x80, 0x80, 0 },
20 { 0xc0, 0xc0, 0xc0, 0 },
21 { 0xc0, 0xdc, 0xc0, 0 },
22 { 0xa6, 0xca, 0xf0, 0 },
30 { 0xff, 0xfb, 0xf0, 0 },
31 { 0xa0, 0xa0, 0xa4, 0 },
32 { 0x80, 0x80, 0x80, 0 },
33 { 0xff, 0x00, 0x00, 0 },
34 { 0x00, 0xff, 0x00, 0 },
35 { 0xff, 0xff, 0x00, 0 },
36 { 0x00, 0x00, 0xff, 0 },
37 { 0xff, 0x00, 0xff, 0 },
38 { 0x00, 0xff, 0xff, 0 },
39 { 0xff, 0xff, 0xff, 0 }
108 if (iStartIndex < 256)
UINT WINAPI GetPaletteEntries(HPALETTE hpal, UINT iStartIndex, UINT cEntries, LPPALETTEENTRY ppe)
BOOL APIENTRY NtGdiResizePalette(HPALETTE hpal, UINT Entries)
UINT WINAPI SetDIBColorTable(HDC hDC, UINT iStartIndex, UINT cEntries, const RGBQUAD *pColors)
HPALETTE WINAPI CreatePalette(CONST LOGPALETTE *plpal)
HPALETTE APIENTRY NtGdiCreatePaletteInternal(IN LPLOGPALETTE plogpalUser, IN UINT cEntries)
UINT WINAPI UserRealizePalette(HDC hDC)
struct _W32CLIENTINFO * PW32CLIENTINFO
UINT WINAPI SetPaletteEntries(HPALETTE hpal, UINT iStartIndex, UINT cEntries, const PALETTEENTRY *ppe)
BOOL WINAPI AnimatePalette(HPALETTE hpal, UINT iStartIndex, UINT cEntries, const PALETTEENTRY *ppe)
UINT WINAPI GetDIBColorTable(HDC hDC, UINT iStartIndex, UINT cEntries, RGBQUAD *pColors)
#define NB_RESERVED_COLORS
#define GDI_HANDLE_GET_TYPE(h)
UINT WINAPI RealizePalette(_In_ HDC hdc)
BOOL WINAPI UpdateColors(HDC hdc)
_In_ UINT _In_ UINT cEntries
BOOL METADC_RealizePalette(HDC hdc) DECLSPEC_HIDDEN
UINT WINAPI GetSystemPaletteEntries(HDC hDC, UINT iStartIndex, UINT cEntries, LPPALETTEENTRY ppe)
__kernel_entry LONG APIENTRY NtGdiDoPalette(_In_ HGDIOBJ hObj, _In_ WORD iStart, _In_ WORD cEntries, _When_(bInbound!=0, _In_reads_bytes_(cEntries *sizeof(PALETTEENTRY))) _When_(bInbound==0, _Out_writes_bytes_(cEntries *sizeof(PALETTEENTRY))) LPVOID pUnsafeEntries, _In_ DWORD iFunc, _In_ BOOL bInbound)
int WINAPI GetDeviceCaps(_In_opt_ HDC, _In_ int)
BOOL WINAPI ResizePalette(HPALETTE hPalette, UINT nEntries)
FORCEINLINE struct _TEB * NtCurrentTeb(VOID)
BOOL WINAPI ColorCorrectPalette(HDC hDC, HPALETTE hPalette, DWORD dwFirstEntry, DWORD dwNumOfEntries)
static const PALETTEENTRY sys_pal_template[NB_RESERVED_COLORS]
#define ERROR_CALL_NOT_IMPLEMENTED
#define RtlZeroMemory(Destination, Length)
#define RtlCopyMemory(Destination, Source, Length)
BOOL APIENTRY NtGdiUpdateColors(HDC hDC)