Copyright © 2001-2018 MultiMedia Soft

MIDI.StreamEventsListItemCountGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the number of MIDI events inside the list that will be applied at a later time through the MIDI.StreamEventsListApply method. The unique id of each MIDI event can be retrieved through the MIDI.StreamEventsListItemUniqueIdGet 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.StreamEventsListItemCountGet (

nPlayer as Integer,

nCount as Long

) as enumErrorCodes


 

[C++]

short control.MIDI.StreamEventsListItemCountGet (

short nPlayer,

long *nCount

);


\

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player

nCount

Reference that, on return from the method call, will contain the number of MIDI events inside the list.

 

 

 

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