VOID UpdateColors(
WORD wStartX,
WORD wStartY,
WORD wExtX,
WORD wExtY,
LPWORD lpTranslate
);
Redraws all pixels in a region on the display surface using the colors specified in the given translation table. For each pixel in the region, the function reads the pixel's color index, translates the index, and writes the translated index back to the original position.
A graphics driver must export the GetPalette function if the RC_PALETTE bit is set in the dpRaster member of the driver's GDIINFO structure.
The export ordinal for this function is 26.
GDI assumes that the display origin is in the upper-left corner of the screen.