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 MIDIMan class section and the How to deal with MIDI protocol tutorial.
Syntax
[Visual Basic] Public Function MarkersEnum ( nPlayerIndex as Int16, nMarkerType as enumMidiMarkerNotifications, ByRef nCount as Int32 ) as enumErrorCodes |
[C#] public enumErrorCodes MarkersEnum ( Int16 nPlayerIndex, enumMidiMarkerNotifications nMarkerType, ref Int32 nCount ); |
[C++] public: enumErrorCodes MarkersEnum ( Int16 nPlayerIndex, enumMidiMarkerNotifications nMarkerType, Int32 __gc *nCount ); |
Parameter |
Description |
||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
nPlayerIndex |
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 (see the LastError property for further error details) |
enumErrorCodes.NOERROR (0) |
The method call was successful. |