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 of a rendering driver.
lpbiInput
Address of 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.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in vfw.h.

See Also

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