DIB_SetPaletteExt

VOID DIB_SetPaletteExt(WORD nStartIndex, WORD nNumEntries, 
    RGBQUAD lpPalette, LPPDEVICE lpDIBEngine)
 

Sets one or more entries in the hardware color palette to the specified colors.

nStartIndex
A zero-based color-palette index. The function copies color values to the corresponding hardware-palette entry and to subsequent entries up to the number specified by the nNumEntries parameter.
nNumEntries
The number of entries to set in the hardware palette.
lpPalette
Address of an array of RGBQUAD structures specifying the colors to which to set the hardware-palette entries.
lpDIBEngine
Address of PDEVICE structure that specifies color data for the display surface.

The export ordinal for this function is 405.