BASS.NET API for the Un4seen BASS Audio LibraryBassVstBASS_VST_SetProgramName Method BASS.NET API for the Un4seen BASS Audio Library
Sets the name of any program of a VST effect.

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

[DllImportAttribute("bass_vst.dll", CharSet = CharSet.Auto)]
public static bool BASS_VST_SetProgramName(
	int vstHandle,
	int programIndex,
	string name
)

Parameters

vstHandle
Type: SystemInt32
The VST effect handle as returned by BASS_VST_ChannelSetDSP(Int32, String, BASSVSTDsp, Int32).
programIndex
Type: SystemInt32
The program number for which to set the name, must be smaller than BASS_VST_GetProgramCount(Int32).
name
Type: SystemString
The new name to use. Names are limited to 24 characters, BASS_VST truncates the names, if needed.

Return Value

Type: Boolean
If successful, is returned, else is returned. Use BASS_ErrorGetCode to get the error code.
Remarks

This function does not change the selected program!
See Also

Reference