The DrawDibRealize function realizes the palette of the DrawDib DC for use with the specified DC.
UINT DrawDibRealize(
HDRAWDIB hdd,
HDC hdc,
BOOL fBackground
);
Returns the number of entries in the logical palette mapped to different values in the system palette. If an error occurs or no colors were updated, it returns zero.
To select the palette of the DrawDib DC as a background palette, use the DrawDibDraw function and specify the DDF_BACKGROUNDPAL flag.
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, GetDC, DrawDibDraw