MCIWndEject  17HP43E 

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

LONG MCIWndEject(

    hwnd

 

   );

 

 

Parameters

hwnd

Handle of the MCIWnd window.

 

Return Values

Returns zero if successful or an error otherwise.

See Also

MCIWNDM_EJECT