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 MIDI object section and the How to deal with MIDI protocol tutorial.
Syntax
[Visual Basic] control.MIDI.StreamEventsListItemUniqueIdGet ( nPlayer as Integer, nIndex as Long, nUniqueId as Long, ) as enumErrorCodes |
[C++] short control.MIDI.StreamEventsListItemUniqueIdGet ( short nPlayer, long nIndex, long *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 |
enumErrorCodes.ERR_NOERROR (0) |
The method call was successful |