Copyright © 2001-2019 MultiMedia Soft

MIDI.SoundFontInfoStringGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains a string information about the given 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.SoundFontInfoStringGet (

nUniqueId as Long,

nInfo as enumMidiSoundFontStringInfo

) as BSTR


 

[C++]

BSTR control.MIDI.SoundFontInfoStringGet (

long nUniqueId,

short nInfo

);


 

Parameter

Description

 

 

nUniqueId

Number representing the unique identifier of the MIDI SoundFont as returned by a previous call to one between the MIDI.SoundFontInit or MIDI.SoundFontInitFromMemory or MIDI.SoundFontInitFromMemory methods.

This parameter can be set to 0 when the request is related to the system default SoundFont.

nInfo

The type of information that must be retrieved.

Supported values are the following:

Mnemonic constant

Value

Meaning

MIDI_SOUNDFONT_INFO_NAME

0

Friendly name of the SoundFont

MIDI_SOUNDFONT_INFO_COPYRIGHT

1

Copyright info

MIDI_SOUNDFONT_INFO_COMMENT

2

Comment

 

 

Return value

 

Value

Meaning

 

 

Empty string

An error occurred (see the LastError property for further error details)

Valid string

String containing the requested information