Copyright © 2001-2018 MultiMedia Soft

MIDI.StreamEventsListItemRemove method

Previous pageReturn to chapter overviewNext page



Removes a specific single MIDI event from the list of MIDI events that will be applied to the loaded MIDI stream in one single shot through a call to 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.





[Visual Basic]

control.MIDI.StreamEventsListItemRemove (

nPlayer as Integer,

nUniqueId as Long

) as enumErrorCodes



short control.MIDI.StreamEventsListItemRemove (

short nPlayer

long nUniqueId








Number representing the zero-based index of the involved player


The unique identifier of the MIDI event inside the list. This unique identifier is generated and returned by the MIDI.StreamEventsListItemAdd method when the MIDI event is added to the list.

If this parameter is set to -1, the full list is cleared and removed from memory.



Return value






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