Share via


IWMPCdrom interface (wmp.h)

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The IWMPCdrom interface provides a way to access a CD or DVD in its drive.

Inheritance

The IWMPCdrom interface inherits from the IDispatch interface. IWMPCdrom also has these types of members:

Methods

The IWMPCdrom interface has these methods.

 
IWMPCdrom::eject

The eject method ejects the CD or DVD from the drive.
IWMPCdrom::get_driveSpecifier

The get_driveSpecifier method retrieves the CD or DVD drive letter.
IWMPCdrom::get_playlist

The get_playlist method retrieves a pointer to an IWMPPlaylist interface representing the tracks on the CD currently in the CD drive or the root-level title entries for a DVD.

Requirements

Requirement Value
Target Platform Windows
Header wmp.h

See also

IWMPPlaylist Interface

Interfaces