MCIWndGetPalette

The MCIWndGetPalette macro retrieves a handle of the palette used by an MCI device. You can use this macro or explicitly send the MCIWNDM_GETPALETTE message.

HPALETTE MCIWndGetPalette(
  hwnd  
);

Parameters

hwnd

Handle of the MCIWnd window.

Return Values

Returns the handle of the palette if successful.

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_GETPALETTE