Copyright © 2006 - 2008 MultiMedia Soft 
Return to Table of contents  
 
 
CdPlayerStatusChanged event 
 
Remarks 
 
If the automatic CD monitoring is enabled, occurs whenever an installed CD drive changes its status: see the EnableCdMonitor method for details about enabling CD drives status monitoring. 
 
Syntax 
 
[Visual Basic] 
Public Event CdPlayerStatusChanged As CdPlayerStatusChangedEventHandler
 
[C#] 
public event CdPlayerStatusChangedEventHandler CdPlayerStatusChanged;
 
[C++] 
public: __event CdPlayerStatusChangedEventHandler CdPlayerStatusChanged;
 
 
Event Data 
 
The event handler receives an argument of type CdPlayerStatusChangedEventArgs. 
 
CdPlayerStatusChangedEventArgs members
Description
 
 
nCdDriveIndex
Number representing the zero-based index of the CD drive that fired the event. The total number of available CD drives can be obtained using the GetCdDrivesCount method.
nCdStatus
The CD drive status. 
 
Supported values are the following: 
 
Mnemonic Value
Value
Meaning
CD_STATUS_OPEN
0
The CD drive door is open
CD_STATUS_CLOSED
1
The CD drive door is closed but no CD is available inside
CD_STATUS_READY
2
The CD drive door is closed and a CD is available inside and ready to play
CD_STATUS_BUSY
3
The CD drive door is closed and a CD is available inside but the drive is busy loading an audio track from the CD
 
 
 
 
 
 
 
 
 
Copyright © 2006 - 2008 MultiMedia Soft 
Return to Table of contents