DIB_GetPaletteTranslateExt

void DIB_GetPaletteTranslateExt(LPWORD lpIndexes, 
    LPPDEVICE lpDIBEngine);
 

Copies the driver's translation table into the array pointed to by the lpIndexes parameter.

lpIndexes
Address of the array to receive color indices. The number of indices in the array is specified by the dpPalColors member in the device's GDIINFO structure.
lpDIBEngine
Address of PDEVICE structure that specifies color data for the display surface.

The export ordinal for this function is 408.