Redigera

Dela via


MCIWndEject macro (vfw.h)

The MCIWndEject macro sends a command to an MCI device to eject its media. You can use this macro or explicitly send the MCIWNDM_EJECT message.

Syntax

LONG MCIWndEject(
     hwnd
);

Parameters

hwnd

Handle of the MCIWnd window.

Return value

Type: LONG

Returns zero if successful or an error otherwise.

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_EJECT