ULONG PALOBJ_cGetColors(
IN PALOBJ *ppo, | |
IN ULONG iStart, | |
IN ULONG cColors, | |
OUT ULONG *ppalentry | |
); |
PALOBJ_cGetColors copies RGB colors from an indexed palette.
The return value is the number of colors written if the function is successful. Otherwise, it is zero.
A graphics driver can call this function in its implementation of DrvSetPalette.