MIDI.StreamEventsListItemUniqueIdGet method |
|
Remarks
Obtains the unique identifier of a specific MIDI event inside the list that will be applied at a later time through the MIDI.StreamEventsListApply 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 StreamEventsListItemUniqueIdGet ( nPlayerIndex as Int16, nIndex as Int32, ByRef nUniqueId as Int32 ) as Int32 |
[C#] public Int32 StreamEventsListItemUniqueIdGet ( Int16 nPlayerIndex, Int32 nIndex, ref Int32 nUniqueId ); |
[C++] public: Int32 StreamEventsListItemUniqueIdGet ( Int16 nPlayerIndex, Int32 nIndex, Int32 __gc *nUniqueId ); |
Parameter |
Description |
|
|
nPlayer |
Number representing the zero-based index of the involved player |
nIndex |
Number representing the zero-based index of the MIDI event inside the list. The total number of MIDI events available inside the list can be obtained through the MIDI.StreamEventsListItemCountGet method. |
nUniqueId |
Reference that, on return from the method call, will contain the unique identifier of the requested MIDI event. |
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred, check the LastError property value in order to get the error code |
Value > 0 |
The method call was successful and the returned value is the unique identifier of the event. |