Copyright © 2005-2019 MultiMedia Soft

EnableCdMonitor method

Previous pageReturn to chapter overviewNext page

Remarks

 

Enables/disables monitoring the status of the available CD drives.

 

Certain type of CD drives, with old software drivers, will become inaccessible while the CD drives monitoring is running so be careful in enabling CD monitoring if not strictly needed.

 

 

Syntax

 

[Visual Basic]

Public Sub EnableCdMonitor (

bEnable as Boolean

)


 

[C#]

public void EnableCdMonitor (

bool bEnable

);


 

[C++]

public: void EnableCdMonitor (

bool bEnable

);


 

 

Parameter

Description

 

 

bEnable

Boolean value that specifies if the control must automatically monitor the status of the available CD drives.

Supported values are the following:

Value

Meaning

false (default)

Available CD drives won't be monitored. In this condition the GetCdStatus method will not work and the CallbackForCdDrivesEvents delegate having the nEvent parameter set to EV_CD_STATUS_CHANGED is not invoked.

true

CD drives will be monitored.

 

Return value

 

None