PALOBJ_cGetColors function
The PALOBJ_cGetColors function copies RGB colors from an indexed palette.
Syntax
ULONG PALOBJ_cGetColors( PALOBJ *ppalo, ULONG iStart, ULONG cColors, ULONG *pulColors );
Parameters
- ppalo
-
Pointer 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.
- pulColors
-
Pointer 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.
Remarks
A graphics driver can call this function in its implementation of DrvSetPalette.
Requirements
|
Version | Available in Windows 2000 and later versions of the Windows operating systems. |
|---|---|
|
Header |
|
|
Library |
|
See also
Send comments about this topic to Microsoft
Build date: 11/29/2012