PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Opens or closes the door of the current burner. This burner can be selected by BurnerSelect.
Note: 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 find out the error details, 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).
WEBDEV - Server code The CDs and the DVDs will be burned on the Web server. To burn CDs or DVDs, the server must be running Windows XP or later. To burn CDs in Windows 2003 Server, the IMAPI burn service (named "IMAPI CD-burning COM service") must be enabled. To burn DVDs in Windows 2003 Server, you also have to install the KB932716 update.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230grv.dll
Minimum required version
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment