BASS.NET API for the Un4seen BASS Audio LibraryBassVstBASS_VST_GetProgramCount Method BASS.NET API for the Un4seen BASS Audio Library
Returns the number of editable programs for the VST effect.

Namespace: Un4seen.Bass.AddOn.Vst
Assembly: Bass.Net (in Bass.Net.dll) Version:

[DllImportAttribute("bass_vst.dll", CharSet = CharSet.Auto)]
public static int BASS_VST_GetProgramCount(
	int vstHandle


Type: SystemInt32
The VST effect handle as returned by BASS_VST_ChannelSetDSP(Int32, String, BASSVSTDsp, Int32).

Return Value

Type: Int32
The number of available programs or 0 if no program is available.

Many (not all!) effects have more than one "program" that can hold a complete set of parameters each. Moreover, some of these programs may be initialized to some useful "factory defaults".
See Also