BASS.NET API for the Un4seen BASS Audio LibraryBassWaDspBASS_WADSP_SetFileName Method BASS.NET API for the Un4seen BASS Audio Library
Set the file name for a loaded Winamp DSP plugin.

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

[DllImportAttribute("bass_wadsp.dll", CharSet = CharSet.Auto)]
public static bool BASS_WADSP_SetFileName(
	int plugin,
	string file
)

Parameters

plugin
Type: SystemInt32
The plugin handle (returned by BASS_WADSP_Load(String, Int32, Int32, Int32, Int32, WINAMPWINPROC)).
file
Type: SystemString
The file name to set.

Return Value

Type: Boolean
on success, else . Use BASS_ErrorGetCode to get the error code.
Remarks

Some Winamp DSPs require or simply display a current playing file name. Use this method to set this file name. It will then be used in the internal Window message handler for the related fake Winamp windows. In most cases it is not required to set any file name at all.

ERROR CODEDescription
BASS_ERROR_HANDLEThe plugin is not a valid plugin handle.

See Also

Reference