#include "BIDIB.H"
int LookupColorInDIBPalette( HDIB hDIB,
COLORREF Color)
Description
This function will check to see if the specified color exists in the palette of the DIB and it will return the palette index entry of the color or -1 if the color is not found.
Parameters
|
HDIB |
hDIB |
Device independent bitmap handle. |
|
COLORREF |
Color |
Color Reference. |
Return values
-1 if the color is not found, palette index entry on success.