Copyright © 2005-2018 MultiMedia Soft

MIDI.SoundFontListItemUniqueIdGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the unique identifier of a specific MIDI SoundFont inside the list that will be applied at a later time through the MIDI.SoundFontListApply 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 SoundFontListItemUniqueIdGet (

nPlayerIndex as Int16,

nIndex as Int32,

ByRef nUniqueId As Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes SoundFontListItemUniqueIdGet (

Int16 nPlayerIndex,

Int32 nIndex,

ref Int32 nUniqueId

);


 

[C++]

public: enumErrorCodes SoundFontListItemUniqueIdGet (

Int16 nPlayerIndex,

Int32 nIndex,

Int32 __gc *nUniqueId

);


 

 

 

Parameter

Description

 

 

nPlayerIndex

Number representing the zero-based index of the involved player

nIndex

Number representing the zero-based index of the MIDI SoundFont inside the list. The total number of MIDI SoundFonts available inside the list can be obtained through the MIDI.SoundFontListItemCountGet method.

nUniqueId

Reference that, on return from the method call, will contain the unique identifier of the requested MIDI SoundFont.

 

 

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.