MIDI.TrackTagsEnum method |
|
Remarks
Enumerates meta tag strings available inside a given MIDI track of the loaded MIDI stream. Each enumerated tag string can be obtained at a later time using the MIDI.TrackTagsItemGet method. Each enumeration stays available in memory until a new enumeration is performed.
For further details about the use of MIDI protocol see the MIDI object section and the How to deal with MIDI protocol tutorial.
Syntax
[Visual Basic] control.MIDI.TrackTagsEnum ( nPlayer as Integer, nTrack as Integer, nCount as Integer ) as enumErrorCodes |
[C++] short control.MIDI.TrackTagsEnum ( short nPlayer, short nTrack, short *nCount ); |
Parameter |
Description |
|
|
nPlayer |
Number representing the zero-based index of the involved player. |
nTrack |
Number representing the zero-based index of the MIDI track. The total number of available MIDI tracks can be obtained through the MIDI:TrackCountGet method. |
nCount |
Reference that, on return from the method call, will contain the number of meta tag strings inside the given track of the loaded MIDI stream. |
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred, check the LastError property value in order to get the error code |
enumErrorCodes.ERR_NOERROR (0) |
The method call was successful |