MIDI.MarkersEnum method |
|
Remarks
Enumerates a specific type of marker detected inside the loaded MIDI stream. After completing the enumeration, information about each of the detected markers can be obtained through the MIDI.MarkersEnumItemGet method.
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.MarkersEnum ( nPlayer as Integer, nMarkerType as enumMidiMarkerNotifications, nCount as Long ) as enumErrorCodes |
[C++] short control.MIDI.MarkersEnum ( short nPlayer, short nMarkerType, long *nCount ); |
\
Parameter |
Description |
||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
nPlayer |
Number representing the zero-based index of the involved player |
||||||||||||||||||||||||||||||
nMarkerType |
Type of marker whose notification for which there is an interest. Supported values are the following:
|
||||||||||||||||||||||||||||||
nCount |
Reference that, on return from the method call, will contain the number of markers of the given type detected inside 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 |