DrawDibSetPalette

The DrawDibSetPalette function sets the palette used for drawing DIBs.

BOOL DrawDibSetPalette(
  HDRAWDIB hdd,  
  HPALETTE hpal  
);
 

Parameters

hdd
Handle of a DrawDib DC.
hpal
Handle of the palette. Specify NULL to use the default palette.

Return Values

Returns TRUE if successful or FALSE otherwise.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in vfw.h.
  Import Library: Use vfw32.lib.

See Also

DrawDib Overview, DrawDib Functions