124 RIP(
"DISP bInitDefaultPalette() failed EngAllocMem\n");
132 jRed = jGre = jBlu = 0;
134 for (ulLoop = 0; ulLoop < 256; ulLoop++)
152 for (ulLoop = 0; ulLoop < 10; ulLoop++)
183 RIP(
"DISP bInitDefaultPalette failed EngCreatePalette\n");
209 RIP(
"DISP bInitDefaultPalette failed EngCreatePalette\n");
230 ULONG ulReturnedDataLength;
253 pScreenClutData[cColors].
Red = ppdev->
pPal[cColors].
peRed >>
259 pScreenClutData[cColors].
Unused = 0;
266 if (EngDeviceIoControl(ppdev->
hDriver,
272 &ulReturnedDataLength))
274 DISPDBG((0,
"Failed bEnablePalette"));
279 DISPDBG((5,
"Passed bEnablePalette"));
305 ppdev = (
PDEV*) dhpdev;
318 (
ULONG*) pScreenClutData))
320 DISPDBG((0,
"DrvSetPalette failed PALOBJ_cGetColors\n"));
336 pScreenClutData[cColors].
Unused = 0;
343 pScreenClutData[cColors].
Unused = 0;
351 if (EngDeviceIoControl(ppdev->
hDriver,
359 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::@3171 LookupTable[1]
PALETTEENTRY palPalEntry[16]
const PALETTEENTRY BASEPALETTE[20]
VOID vDisablePalette(PPDEV ppdev)
BOOL bInitDefaultPalette(PPDEV ppdev, DEVINFO *pDevInfo)
struct _VGALOGPALETTE VGALOGPALETTE
BOOL bInit256ColorPalette(PPDEV ppdev)
BOOL bInitPaletteInfo(PPDEV ppdev, DEVINFO *pDevInfo)
const VGALOGPALETTE logPalVGA
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