Share via


Windows Media Player 11 SDK Cdrom Object 

Windows Media Player SDK banner art

Previous Next

Cdrom Object

The Cdrom object provides a way to access a CD or DVD in its drive.

The Cdrom object supports the following properties.

Property Description
driveSpecifier Retrieves the CD or DVD drive letter.
playlist Retrieves a Playlist object representing the tracks on the CD currently in the CD drive or the root-level title entries for DVD.

The Cdrom object supports the following method.

Method Description
eject Ejects the CD or DVD from the drive.

The Cdrom object is accessed through the following method.

Object Method
CdromCollection item

For purposes of illustration, player.cdromCollection.item(index) is used in the reference syntax sections.

See Also

Previous Next