DIB_GetPaletteExt

VOID DIB_GetPaletteExt(WORD nStartIndex, WORD nNumEntries, 
    RGBQUAD lpPalette, LPPDEVICE lpDIBEngine);
 

Retrieves the logical colors (RGB values) for the given color indices. The function copies RGB structure color values to the buffer pointed to by the lpPalette parameter.

nStartIndex
The color index of the first color to retrieve.
nNumEntries
The total number of entries to retrieve from the device's hardware palette.
lpPalette
Address of the buffer to receive the RGB colors.
lpDIBEngine
Address of PDEVICE structure that specifies color data for the display surface.

The export ordinal for this function is 406.