SOPutPaletteEntry

Sets the colors for a palette entry.

The file parser must call the SOStartPalette function before calling this function.

The order of calls to this function determines the order of entries in the color table for an image. The first palette entry is color 0, the color displayed for pixels with a value of 0; the second palette entry is color 1; and so on.

VOID SOPutPaletteEntry(

unsigned char Red,  
unsigned char Green,  
unsigned char Blue,  
HPROC reserved  
);  

Parameters

Red

Relative red intensity in the range 0 to 255.

Green

Relative green intensity in the range 0 to 255.

Blue

Relative blue intensity in the range 0 to 255.

reserved

Reserved; do not use.

Return Values

None.