hdc (HDC) - input
flOptions (ULONG) - input
The only valid option flag is:
LCOLOPT_INDEX
lStart (LONG) - input
cArray (LONG) - input
pArray (PLONG) - input
When LCOLOPT_INDEX is set, pArray points to an array of alternating color indexes and values (index1, value1, index2, value2, and so forth). If the logical color table is not loaded with a contiguous set of indexes, any index values that are not loaded are skipped.
When LCOLOPT_INDEX is not set, pArray points to an array of RGB color values in which the information is to be returned. Each value is the same as those defined for GreCreateLogColorTable, starting with the specified index and ending when there are no further loaded entries in the table or when cCount has been exhausted. If the logical color table is not loaded with a contiguous set of indexes, QLCT_NOTLOADED is returned as the color value for any index values that are not loaded.
pInstance (PVOID) - input
lFunction (ULONG) - input
rc (LONG) - returns
The handling routine must return a LONG value indicating the number of elements returned in pArray or:
QLCT_ERROR
PMERR_DEV_FUNC_NOT_INSTALLED PMERR_INV_COLOR_OPTIONS
PMERR_INV_COLOR_START_INDEX
PMERR_INV_HDC
PMERR_INV_LENGTH_OR_COUNT