## Display Device Driver Reference for OS/2

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

### OS/2 PM Palette Manager Support

The supplied driver supports the OS/2 PM Palette Manager, which is a set of application-level APIs that enable an application to change a video board's palette look-up table. Refer to PM Palette Management Support for additional information. The driver must deal with logical color tables ( LCTs), as well as palettes, and must be able to convert between memory- memory, memory-screen, and screen-memory bit maps.

Screen bit-map pels are physical indexes into the hardware palette, whether you are dealing with a device context (DC) that is using a palette or an LCT.

Memory bit-map pels can be any of the following:

Logical indexes into a palette if you are dealing with a DC that is using a palette

Physical indexes into the device default palette if you are dealing with a DC that is using an LCT

Physical indexes into the hardware palette if you are dealing with a DC that is using a realizable LCT