MIDI.SoundFontDefaultConfigGet method |
|
Remarks
Retrieves the current configuration of the default MIDI SoundFont.
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.SoundFontDefaultConfigGet ( nUniqueId As Long, nPreset as Long, nBank as Long ) as enumErrorCodes |
[C++] short control.MIDI.SoundFontDefaultConfigGet ( long *nUniqueId, long *nPreset, long *nBank ); |
Parameter |
Description |
|
|
nUniqueId |
Reference that, on return from the method call, will contain the unique identifier of the default SoundFont |
nPreset |
Reference that, on return from the method call, will contain the preset number |
nBank |
Reference that, on return from the method call, will contain the base bank number or the bank number of the individual preset |
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 |