ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / CD and DVD burning functions
  • Block
  • 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
BurnerCompilationInfo (Function)
In french: GraveurInfoCompilation
Retrieves the characteristics of current compilation.
Remark: A compilation corresponds to the set of files that must be burnt on a CD or DVD. This compilation will be taken into account next time BurnerSave is called. A compilation is automatically created during the first call to BurnerAddFile or to BurnerAddDirectory. A single compilation can be created at a time.
A compilation is automatically deleted:
  • when changing the type of CD/DVD to burn (BurnerMediaType).
  • when selecting the default burner (BurnerSelect).
  • after the call to BurnerSave (only if the burn process was started, <Result> is set to True).
  • when canceling the burn process (BurnerCancel).
  • when closing the current WINDEV application or WEBDEV site.
Example
// Characteristics of compilation
ResNbTracks, ResBlocks, ResBlockSize are int
ResNbTracks = BurnerCompilationInfo(compilationNumberAudioTracks)
ResBlocks = BurnerCompilationInfo(compilationBlocksUsed)
ResBlockSize = BurnerCompilationInfo(compilationBlockSize)
 
Info("The compilation contains: " + ResNbTracks + " tracks ", ...
"and it is using " + ResBlocks + " blocks of " + ResBlockSize + " bytes each.")
Syntax
<Result> = BurnerCompilationInfo(<Type of characteristic>)
<Result>: Integer constant
  • Requested characteristic,
  • -1 if an error occurred. To get more details on the error, use ErrorInfo with the errMessage constant.
This function cannot be used if no CD is inserted into the burner.
<Type of characteristic>: Integer constant
Type of characteristic to retrieve:
compilationBlockSizeSize of block (in bytes).
The block size depends on the type of compilation (data or audio).
compilationBlocksUsedNumber of blocks found in the current compilation.
This number is updated after each call to BurnerAddFile or BurnerAddDirectory.
compilationNumberAudioTracks
  • Number of audio tracks found in the current compilation.
  • 0 if the current compilation is a data compilation.
This number is updated after each call to BurnerAddFile or BurnerAddDirectory.
Remarks

Block

  • The CD size is expressed in blocks.
  • A block corresponds to 2048 bytes on a data CD and to 2352 bytes on an audio CD.
  • A second on the CD corresponds to 75 blocks.

Required configuration



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