BASS.NET API for the Un4seen BASS Audio LibraryBassWaDspBASS_WADSP_GetFakeWinampWnd Method BASS.NET API for the Un4seen BASS Audio Library
Gets the window handle of the fake Winamp window which has been created internally when a Winamp DSP was loaded with BASS_WADSP_Load(String, Int32, Int32, Int32, Int32, WINAMPWINPROC).

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

Parameters

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

Return Value

Type: IntPtr
An IntPtr representing the window handle of the fake Winamp window or Zero 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_UNKNOWNSome other problem (the internal fake Winamp window could not be created).

See Also

Reference