MCIWndSetPalette

The MCIWndSetPalette macro sends a palette handle to the MCI device associated with the MCIWnd window. You can use this macro or explicitly send the MCIWNDM_SETPALETTE message.

MCIWndSetPalette(
  hwnd, 
  hpal  
);

Parameters

hwnd

Handle of the MCIWnd window.

hpal

Palette handle.

Return Values

Returns zero if successful or an error otherwise.

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

MCIWNDM_SETPALETTE