Copyright © 2005-2018 MultiMedia Soft

MIDI.SoundFontListItemCountGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the number of MIDI SoundFonts inside the list that will be applied at a later time through the MIDI.SoundFontListApply method. The unique id of each MIDI SoundFont can be retrieved through the MIDI.SoundFontListItemUniqueIdGet 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 SoundFontListItemCountGet (

nPlayerIndex as Int16,

ByRef nCount As Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes SoundFontListItemCountGet (

Int16 nPlayerIndex,

ref Int32 nCount

);


 

[C++]

public: enumErrorCodes SoundFontListItemCountGet (

Int16 nPlayerIndex,

Int32 __gc *nCount

);


 

 

 

Parameter

Description

 

 

nPlayerIndex

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 SoundFonts inside the list.

 

 

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.