|
|
|
|
- Block
- Required configuration
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.
// 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: | | compilationBlockSize | Size of block (in bytes). The block size depends on the type of compilation (data or audio). | compilationBlocksUsed | Number 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 - 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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|