## Presentation Device Driver Reference for OS/2

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

### GreCreateLogColorTable Parameter - flOptions

flOptions (ULONG) - input Options flag.

Valid options are:

LCOL_RESET Indicates that the handling routine must reset the color table to default before processing the remainder of this function.

Note: This option is assumed when the color table is changed from LCOLF_ RGB to LCOLF_INDRGB or LCOLF_CONSECRGB.

LCOL_REALIZABLE Indicates that the application can call GreRealizeColorTable at the appropriate time. This can affect the way the handling routine maps the indexes when the Logical Color Table is not realized. A realizable color table is only required to provide color mapping for its color indexes while it is realized.

If this flag is not set, GreRealizeColorTable has no effect and posts a warning.

LCOL_PURECOLOR For solid patterns, pattern colors that are not available can be approximated by dithering. When this flag is set, only pure colors are used; the handling routine must not dither colors. The default is to allow color dithering.

Other flags are reserved and must be 0.