## Presentation Device Driver Reference for OS/2

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

### GreRealizePalette - Remarks

If a palette has not been explicitly selected into the DC before a call to GreRealizePalette is made, the default palette is implicitly in effect and is realized.

This function requires no action for memory DCs. A call to GreRealizePalette is a real operation only when an actual device with a palette is referenced. The function does not return an error for memory DCs , therefore, an application need not be concerned with the DC type if it has a number of DCs with palettes.

When GreBitblt is performed between a memory DC and a device DC, the presentation driver has to perform the appropriate translation between the memory bit map's color table or logical palette and the physical palette.