Copyright © 2001-2018 MultiMedia Soft

TagsReader.WAV_BextChunkBinaryFieldGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains a copy in memory of a binary field stored inside the WAV Bext chunk.

 

For further details about methods related to tags reading refer to the TagsReader object.

For details about the reading of tags see the How to read TAG information in sound files tutorial.

 

 

Syntax

 

[Visual Basic]

control.TagsReader.WAV_BextChunkBinaryFieldGet (

nFieldId as enumBextChunkBinaryField,

pBuffer as variant,

nBufferLen as long

) as enumErrorCodes


 

[C++]

short control.TagsReader.WAV_BextChunkBinaryFieldGet (

short nFieldId,

const VARIANT FAR& pBuffer,

long *nBufferLen

);


 

 

Parameter

Description

 

 

nFieldId

Identifier of the binary field to read.

Supported values are the following:

Mnemonic Value

Value

Meaning

WAV_BEXT_CHUNK_BIN_UMID_0

0

Binary bytes of SMPTE UMID

WAV_BEXT_CHUNK_BIN_Reserved

1

Reserved for future expansion

pBuffer

Output buffer that, on return from the method call, will contain binary data of the requested field.

nBufferLength

Reference that represents the maximum allowed size of the buffer (in input) and, on return from the method call, will contain the effective size of the buffer read; the value is expressed in bytes.

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

enumErrorCodes.NOERROR (0)

The method call was successful.