PALOBJ_cGetColors (Compact 2013)
3/26/2014
This function copies colors from an indexed palette.
Syntax
ULONG PALOBJ_cGetColors(
PALOBJ* ppalo,
ULONG iStart,
ULONG cColors,
ULONG* pulColors
);
Parameters
- ppalo
[in] Pointer to the PALOBJ structure that contains the colors to be copied.
- iStart
[in] Index of the starting color.
- cColors
[in] Number of colors to be written.
- pulColors
[out] Pointer to the buffer in which to write the colors.
Return Value
If the function call succeeds, this function returns the number of colors written. Otherwise, this function returns zero.
Remarks
A display driver can call this function in its implementation of the DrvSetPalette function.
Requirements
Header |
winddi.h |
Library |
Ddi_ati_lib.lib, |