DrawDibSetPalette function

The DrawDibSetPalette function sets the palette used for drawing DIBs.

Syntax


BOOL 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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Vfw.h

Library

Vfw32.lib

DLL

Msvfw32.dll

See also

DrawDib Functions

 

 

Show: