The MCIWNDM_GETPALETTE message retrieves a handle of the palette used by an MCI device. You can send this message explicitly or by using the MCIWndGetPalette macro.
MCIWNDM_GETPALETTE
wParam = 0;
lParam = 0;
Returns the handle of the palette if successful.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in vfw.h.
MCIWnd Window Class Overview, MCIWnd Messages, MCIWndGetPalette