Windows Media Player 11 SDK IWMPCdrom::ejectÂ
Previous | Next |
IWMPCdrom::eject
The eject method ejects the CD or DVD from the drive.
Syntax
Parameters
This method takes no parameters.
Return Values
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
S_OK | The method succeeded. |
Remarks
If the drive door is open, this method closes the door.
To use this method, read access to the library is required. For more information, see Library Access.
Windows Media Player 10 Mobile: This method is not supported.
Requirements
Version: Windows Media Player 9 Series or later.
Header: Include wmp.h.
Library: Use wmp.dll.
Platform: Windows XP or later for DVD.
See Also
- IWMPCdrom Interface
- IWMPCore::get_playState
- IWMPSettings2::get_mediaAccessRights
- IWMPSettings2::requestMediaAccessRights
Previous | Next |