BASS.NET API for the Un4seen BASS Audio LibraryBassWaDspBASS_WADSP_GetModule Method BASS.NET API for the Un4seen BASS Audio Library
Returns the currently selected plugin module of a Winamp DSP.

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 int BASS_WADSP_GetModule(
	int plugin
)

Parameters

plugin
Type: SystemInt32
The plugin handle (returned by BASS_WADSP_Load(String, Int32, Int32, Int32, Int32, WINAMPWINPROC)).

Return Value

Type: Int32
The selected module number (first = 0), or -1, if an error occured. Use BASS_ErrorGetCode to get the error code.
Remarks

ERROR CODEDescription
BASS_ERROR_HANDLEThe plugin is not a valid plugin handle.
BASS_ERROR_STARTBASS_WADSP_Start(Int32, Int32, Int32) was not called (no module selected so far).

See Also

Reference