BASS.NET API for the Un4seen BASS Audio Library

BassMidiBASS_MIDI_StreamGetFontsCount Method

BASS.NET API for the Un4seen BASS Audio Library
Retrieves the number of elements in the soundfont configuration.

Namespace:  Un4seen.Bass.AddOn.Midi
Assembly:  Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax

public static int BASS_MIDI_StreamGetFontsCount(
	int handle
)

Parameters

handle
Type: SystemInt32
The MIDI stream to retrieve the soundfont configuration of... 0 = get default soundfont configuration.

Return Value

Type: Int32
If successful, the number of soundfonts in the configuration is returned, else -1 is returned. Use BASS_ErrorGetCode to get the error code.
Remarks

ERROR CODEDescription
BASS_ERROR_HANDLEhandle is not valid.

See Also

Reference