Copyright © 2001-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] 
CdPlayerStatusChanged 
ByVal nCdDriveIndex as Integer
ByVal nCdStatus as enumCdStates 
)
 
[C++] 
void CdPlayerStatusChanged ( 
short nCdDriveIndex, 
long nCdStatus 
);
 
 
Parameter
Description
 
 
nDrive
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
Numeric 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 © 2001-2008 MultiMedia Soft 
Return to Table of contents