CImage::GetColorTable
Retrieves red, green, blue (RGB) color values from a range of entries in the palette of the DIB section.
void GetColorTable(
UINT iFirstColor,
UINT nColors,
RGBQUAD* prgbColors
) const throw( );
Parameters
iFirstColor
The color table index of the first entry to retrieve.nColors
The number of color table entries to retrieve.prgbColors
A pointer to the array of RGBQUAD structures to retrieve the color table entries.
Requirements
Header: atlimage.h
See Also
Reference
CImage::GetMaxColorTableEntries