## Presentation Device Driver Reference for OS/2

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

### GreQueryColorData Parameter - pArray

pArray (PLONG) - input Pointer to Array.

On return, this array contains:

lArray[QCD_LCT_FORMAT] Format of loaded color table (if any):

LCOLF_DEFAULT Default color table is in force.

LCOLF_INDRGB Color table loaded, which provides translation from index to RGB.

LCOLF_RGB Color index = RGB.

LCOLF_PALETTE DC has a palette selected.

lArray[QCD_LCT_LOINDEX] Smallest color index loaded (always 0).

lArray[QCD_LCT_HIINDEX] Largest color index loaded (never less than 15).

Information is only returned for the number of elements supplied. Any extra elements supplied must be zeroed by the handling routine.