Windows Media Player SDK banner art
PreviousNext

Cdrom.eject

The eject method ejects the CD from the CD-ROM drive.

Syntax

player.cdromCollection.item(index).eject()

Parameters

This method takes no parameters.

Return Values

This method does not return a value.

Remarks

The CD must not be playing when this method is called. To confirm that this is true, check the value of Player.playState.

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.