Remarks
Retrieves the full binary contents of the ID3V2 tag for a MP3 sound. The overall tag size can be obtained through a call to the GetMp3Tag2Size method.
Details about the use of Tags and a sample of use of this method can be found on the How to read TAG information in sound files and How to retrieve basic TAG information from the sound loaded into a player tutorials.
Syntax
[Visual Basic]
control.GetMp3Tag2Data (
nPlayer as Integer,
pBuffer as Variant,
nBufferLen as Long
) as enumErrorCodes
|
|
[C++]
short control.GetMp3Tag2Data (
short nPlayer,
const VARIANT FAR& pBuffer,
long nBufferLen
);
|
|
Parameter
|
Description
|
|
|
nPlayer
|
Number representing the zero-based index of the involved player
|
pBuffer
|
Variant parameter containing the pointer to a pre-allocated destination buffer that will receive the ID3V2 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
|
|