ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / CD and DVD burning functions
  • Opening and closing the burner door
  • Required configuration
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
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.
Example
// 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:
BurnerEject(True)
Similarly, if the burner door is already closed, the following code line will have no effect:
BurnerEject(False)
Some burners ignore the request for closing the door. In this case, BurnerEject returns True even if the burner door remains opened.

Required configuration

WINDEV Burning CDs is available for Windows XP and later. Burning DVDs is available for Windows Vista and for Windows XP when using the KB932716 update for Windows XP (this update must be downloaded from the Microsoft site and installed manually because it is not taken into account by the Live Update mechanism).
Component: wd290grv.dll
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help