This documentation is archived and is not being maintained.

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( );

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.

Header: atlimage.h

Show: