|
|
|
|
- Opening and closing the burner door
- Required configuration
BurnerEject (Function) In french: GraveurEjecte Opens or closes the door of the current burner. This burner can be selected by BurnerSelect. Remark: To find out the list of burners available from the current computer, use BurnerList. // Opens the burner door ResOpen is boolean ResOpen = BurnerEject() // Error occurred? IF ResOpen = False THEN // Display the error Error(ErrorInfo(errMessage)) ELSE Info("Insert the CD or DVD into the burner") END
Syntax
<Result> = BurnerEject([<Opening>])
<Result>: Boolean - True if the requested operation was performed,
- False otherwise. To get more details on the error, use ErrorInfo.
<Opening>: Optional boolean - True (default value) if the burner door must be opened,
- False if the burner door must be closed.
Remarks Opening and closing the burner door If the burner door is already opened, the following code line will have no effect: Similarly, if the burner door is already closed, the following code line will have no effect: Some burners ignore the request for closing the door. In this case, BurnerEject returns True even if the burner door remains opened.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|