Edit

Share via


MCIWndGetPalette macro (vfw.h)

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.

Syntax

HPALETTE MCIWndGetPalette(
     hwnd
);

Parameters

hwnd

Handle of the MCIWnd window.

Return value

Type: HPALETTE

Returns the handle of the palette if successful.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header vfw.h

See also

MCIWNDM_GETPALETTE

MCIWndGetPalette