PALOBJ_cGetColors (Windows CE 5.0)
This function copies colors from an indexed palette.
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 Values
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
OS Versions: Windows CE 1.0 and later.
Header: Winddi.h.
Link Library: Ddi_ati_lib.lib, Ddi_flat_lib.lib, Ddi_gx_lib.lib, Ddi_mq200_lib.lib, Ddi_nop_lib.lib, Ddi_rflat_lib.lib, Ddi_rgx_lib.lib, or Ddi_tvia5_lib.lib.
See Also
GDI Functions for Display Drivers | DrvSetPalette
Send Feedback on this topic to the authors