## Presentation Device Driver Reference for OS/2

[prev][next][parent][TOC]

### GreUpdateColors - Remarks

This function causes a pel-by-pel remapping of the hardware palette indexes for the DC's visible area on the screen. This function call indicates that the window colors might have changed to incorrect colors if the window is in the background. By calling GreUpdateColors, the pels are changed to the color in the current physical palette that comes closest to the desired color.