GetWavChunkBinaryInfo method |
|
Remarks
Obtains binary contents a specific binary field of the WAV chunk available inside the loaded file. You can know if a certain chunk is available through the IsWavChunkAvailable method.
Syntax
[Visual Basic] control.GetWavChunkBinaryInfo ( nPlayer as Integer, nInfoField as enumWavChunkBinaryInfo, pBuffer as Variant, nBufferLen as Long ) as enumErrorCodes |
[C++] short control.GetWavChunkBinaryInfo ( short nPlayer, short nInfoField, const VARIANT FAR& pBuffer, long nBufferLen ); |
Parameter |
Description |
||||||||||||
|
|
||||||||||||
nPlayer |
Number representing the zero-based index of the involved player |
||||||||||||
nInfoField |
Identifier of the needed field. Supported values are the following:
|
||||||||||||
pBuffer |
Variant parameter containing the pointer to a pre-allocated destination buffer that will receive binary data. Allocating/freeing this buffer is responsibility of the container application. |
||||||||||||
nBufferLen |
Length in bytes of the destination buffer |
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred (see the LastError property for further error details) |
enumErrorCodes.NOERROR (0) |
The call was successful |