Platform SDK: Windows Multimedia

ICDrawChangePalette

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.

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 Values

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

  Windows NT/2000: Requires Windows NT 3.1 or later.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Vfw.h.

See Also

Video Compression Manager Overview, Video Compression Macros, BITMAPINFO, ICM_DRAW_CHANGEPALETTE