30 { 0x00, 0x00, 0x00, 0x00 },
31 { 0x80, 0x00, 0x00, 0x00 },
32 { 0x00, 0x80, 0x00, 0x00 },
33 { 0x80, 0x80, 0x00, 0x00 },
34 { 0x00, 0x00, 0x80, 0x00 },
35 { 0x80, 0x00, 0x80, 0x00 },
36 { 0x00, 0x80, 0x80, 0x00 },
37 { 0xC0, 0xC0, 0xC0, 0x00 },
38 { 0xC0, 0xDC, 0xC0, 0x00 },
39 { 0xD4, 0xD0, 0xC8, 0x00 },
40 { 0xFF, 0xFB, 0xF0, 0x00 },
41 { 0x3A, 0x6E, 0xA5, 0x00 },
42 { 0x80, 0x80, 0x80, 0x00 },
43 { 0xFF, 0x00, 0x00, 0x00 },
44 { 0x00, 0xFF, 0x00, 0x00 },
45 { 0xFF, 0xFF, 0x00, 0x00 },
46 { 0x00, 0x00, 0xFF, 0x00 },
47 { 0xFF, 0x00, 0xFF, 0x00 },
48 { 0x00, 0xFF, 0xFF, 0x00 },
49 { 0xFF, 0xFF, 0xFF, 0x00 },
83 ColorLoop--, PaletteEntryPtr++)
85 PaletteEntryPtr->
peRed = ((ColorLoop >> 5) & 7) * 255 / 7;
86 PaletteEntryPtr->
peGreen = ((ColorLoop >> 3) & 3) * 255 / 3;
87 PaletteEntryPtr->
peBlue = (ColorLoop & 7) * 255 / 7;
125 if (((
PPDEV)dhpdev)->PaletteShift)
148 pClut, ClutSize,
NULL, 0, &cColors))
184 if (PaletteEntries ==
NULL)
#define memcpy(s1, s2, n)
#define IOCTL_VIDEO_SET_COLOR_REGISTERS
void * EngAllocMem(int zero, unsigned long size, int tag=0)
union VIDEO_CLUT::@3171 LookupTable[1]
PALETTEENTRY * PaletteEntries
const PALETTEENTRY BASEPALETTE[20]
BOOL IntInitDefaultPalette(PPDEV ppdev, PDEVINFO pDevInfo)
BOOL APIENTRY IntSetPalette(IN DHPDEV dhpdev, IN PPALETTEENTRY ppalent, IN ULONG iStart, IN ULONG cColors)
typedef DHPDEV(APIENTRY FN_DrvEnablePDEV)(_In_ DEVMODEW *pdm
FN_DrvSetPalette DrvSetPalette
ENGAPI ULONG APIENTRY PALOBJ_cGetColors(_In_ PALOBJ *ppalo, _In_ ULONG iStart, _In_ ULONG cColors, _Out_writes_(cColors) ULONG *pulColors)
_In_ LPWSTR _In_ ULONG _In_ ULONG _In_ ULONG _Out_ DEVINFO _In_ HDEV _In_ LPWSTR _In_ HANDLE hDriver
_Must_inspect_result_ ENGAPI HPALETTE APIENTRY EngCreatePalette(_In_ ULONG iMode, _In_ ULONG cColors, _In_ ULONG *pulColors, _In_ FLONG flRed, _In_ FLONG flGreen, _In_ FLONG flBlue)