Copyright © 2001-2019 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 MIDI object section and the How to deal with MIDI protocol tutorial.

 

 

Syntax

 

[Visual Basic]

control.MIDI.SoundFontListItemUniqueIdGet (

nPlayer as Integer,

nIndex as Long,

nUniqueId as Long,

) as enumErrorCodes


 

[C++]

short control.MIDI.SoundFontListItemUniqueIdGet (

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 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, check the LastError property value in order to get the error code

enumErrorCodes.ERR_NOERROR (0)

The method call was successful