BASS.NET API for the Un4seen BASS Audio Library

BassVstBASS_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.17.5
Syntax

[DllImportAttribute("bass_vst")]
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