DrawDibSetPalette function (vfw.h)

The DrawDibSetPalette function sets the palette used for drawing DIBs.

Syntax

BOOL VFWAPI DrawDibSetPalette(
  HDRAWDIB hdd,
  HPALETTE hpal
);

Parameters

hdd

Handle to a DrawDib DC.

hpal

Handle to the palette. Specify NULL to use the default palette.

Return value

Returns TRUE if successful or FALSE otherwise.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header vfw.h
Library Vfw32.lib
DLL Msvfw32.dll

See also

DrawDib Functions