## Presentation Device Driver Reference for OS/2

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

### GreCreateLogColorTable Parameter - lFormat

lFormat (LONG) - input Format of entries in the table.

Valid formats are:

LCOLF_INDRGB Array of (index, RGB) values. Each pair of values contains eight bytes, a four-byte index and a four-byte color. This flag sets the color table into index mode, and forces LCOL_RESET if it is in RGB mode.

LCOLF_CONSECRGB Array of (RGB) values corresponding to color indexes starting from lStart upwards. Each entry is a four-byte value. This flag sets the color table into index mode, and forces LCOL_RESET if it is in RGB mode.

LCOLF_RGB Color index = RGB. This flag sets the color table to RGB mode.