Edit

Share via


ICDrawChangePalette macro (vfw.h)

The ICDrawChangePalette macro notifies a rendering driver that the movie palette is changing. You can use this macro or explicitly call the ICM_DRAW_CHANGEPALETTE message.

Syntax

DWORD ICDrawChangePalette(
     hic,
     lpbiInput
);

Parameters

hic

Handle to a rendering driver.

lpbiInput

Pointer to a BITMAPINFO structure containing the new format and optional color table.

Return value

Type: DWORD

Returns ICERR_OK if successful or FALSE otherwise.

Remarks

This message should be supported by installable rendering handlers that draw DIBs with an internal structure that includes a palette.

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

See also

Video Compression Macros

Video Compression Manager