The DrawDibSetPalette function sets the palette used for drawing DIBs.
BOOL DrawDibSetPalette(
HDRAWDIB hdd,
HPALETTE hpal
);
Returns TRUE if successful or FALSE otherwise.
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.
DrawDib Overview, DrawDib Functions