101 RIP(
"DISP bInitDefaultPalette() failed EngAllocMem\n");
109 jRed = jGre = jBlu = 0;
111 for (ulLoop = 0; ulLoop < 256; ulLoop++)
129 for (ulLoop = 0; ulLoop < 10; ulLoop++)
156 RIP(
"DISP bInitDefaultPalette failed EngCreatePalette\n");
178 RIP(
"DISP bInitDefaultPalette failed EngCreatePalette\n");
197 ULONG ulReturnedDataLength;
220 pScreenClutData[cColors].
Red = ppdev->
pPal[cColors].
peRed >>
226 pScreenClutData[cColors].
Unused = 0;
233 if (EngDeviceIoControl(ppdev->
hDriver,
239 &ulReturnedDataLength))
241 DISPDBG((0,
"Failed bEnablePalette"));
246 DISPDBG((5,
"Passed bEnablePalette"));
272 ppdev = (
PDEV*) dhpdev;
285 (
ULONG*) pScreenClutData))
287 DISPDBG((0,
"DrvSetPalette failed PALOBJ_cGetColors\n"));
303 pScreenClutData[cColors].
Unused = 0;
310 pScreenClutData[cColors].
Unused = 0;
318 if (EngDeviceIoControl(ppdev->
hDriver,
326 DISPDBG((0,
"DrvSetPalette failed EngDeviceIoControl\n"));
#define UNREFERENCED_PARAMETER(P)
#define IOCTL_VIDEO_SET_COLOR_REGISTERS
struct VIDEO_CLUT * PVIDEO_CLUT
struct _VIDEO_CLUTDATA * PVIDEO_CLUTDATA
void * EngAllocMem(int zero, unsigned long size, int tag=0)
union VIDEO_CLUT::@3144 LookupTable[1]
const PALETTEENTRY BASEPALETTE[20]
VOID NTAPI vDisablePalette(PPDEV ppdev)
BOOL NTAPI bInitDefaultPalette(PPDEV ppdev, DEVINFO *pDevInfo)
BOOL NTAPI bInitPaletteInfo(PPDEV ppdev, DEVINFO *pDevInfo)
BOOL NTAPI bInit256ColorPalette(PPDEV ppdev)
typedef DHPDEV(APIENTRY FN_DrvEnablePDEV)(_In_ DEVMODEW *pdm
FN_DrvSetPalette DrvSetPalette
ENGAPI BOOL APIENTRY EngDeletePalette(_In_ _Post_ptr_invalid_ HPALETTE hpal)
ENGAPI ULONG APIENTRY PALOBJ_cGetColors(_In_ PALOBJ *ppalo, _In_ ULONG iStart, _In_ ULONG cColors, _Out_writes_(cColors) ULONG *pulColors)
_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)
struct tagPALETTEENTRY * PPALETTEENTRY