MCIWndSetPalette macro

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.

Syntax


LONG MCIWndSetPalette(
    hwnd,
    hpal
);

Parameters

hwnd

Handle of the MCIWnd window.

hpal

Palette handle.

Return value

Returns zero if successful or an error otherwise.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Vfw.h

 

 

Show: