void DIB_SetPaletteTranslateExt(LPWORD lpIndexes,
LPPDEVICE lpDIBEngine);
Copies the translation table pointed to by the lpIndexes parameter and creates a corresponding inverse translation table. The driver uses the translation tables for mapping logical color indices to physical color indices.
When a non-identity palette translate is being set, this function sets the PALETTE_XLAT bit in the deFlags field of the DIBENGINE structure. This function clears the PALETTE_XLAT bit when an identity translate is set. Minidrivers and the DIB engine may use this bit to decide whether palette translation is needed or not. When applicable, this bit is set or cleared for palette translation for bitmaps, brushes, pens, foreground color, background color and text color.
The export ordinal for this function is 407.