Freigeben über


ICM_DRAW_REALIZE

The ICM_DRAW_REALIZE message notifies a rendering driver to realize its drawing palette while drawing. You can send this message explicitly or by using the ICDrawRealize macro.

ICM_DRAW_REALIZE 
wParam = (DWORD) (UINT) (HDC) hdc; 
lParam = (DWORD) (BOOL) fBackground; 

Parameters

hdc

Handle to the DC used to realize the palette.

fBackground

Background flag. Specify TRUE to realize the palette as a background task or FALSE to realize the palette in the foreground.

Return Values

Returns ICERR_OK if the drawing palette is realized or ICERR_UNSUPPORTED if the palette associated with the decompressed data is realized.

Remarks

Drivers need to respond to this message only if the drawing palette is different from the decompressed palette.

Requirements

**  Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
**  Windows 95/98/Me:** Included in Windows 95 and later.
**  Header:** Declared in Vfw.h.

See Also

Video Compression Manager, Video Compression Messages, ICDrawRealize