Export (0) Print
Expand All

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.

See Also

CImage Overview | Class Members | CImage::SetColorTable | CImage::GetMaxColorTableEntries | GetDIBColorTable

Show:
© 2014 Microsoft