ULONG PALOBJ_cGetColors(
IN PALOBJ *ppo, | |
IN ULONG iStart, | |
IN ULONG cColors, | |
OUT ULONG *ppalentry | |
); |
PALOBJ_cGetColors copies RGB colors from an indexed palette.
Parameters
ppo
Points to the PALOBJ structure that contains the RGB colors to be copied.
iStart
Specifies the starting color index.
cColors
Specifies the number of colors to be written.
ppalentry
Points to the buffer in which the colors are to be written.
Return Value
The return value is the number of colors written if the function is successful. Otherwise, it is zero.
Comments
A graphics driver can call this function in its implementation of DrvSetPalette.