BASS.NET API for the Un4seen BASS Audio Library

WINAMPWINPROC Delegate

BASS.NET API for the Un4seen BASS Audio Library
User defined Window Message Process Handler (to be used with BASS_WADSP_Load(String, Int32, Int32, Int32, Int32, WINAMPWINPROC)).

Normally this is not needed, since BASS_WADSP implements a default handler which emulates most functions needed by Winamp DSPs. However, some very special Winamp DSPs might require something special. So you might implement your own windows message handler here.

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

public delegate int WINAMPWINPROC(
	IntPtr hwnd,
	int msg,
	int wParam,
	int lParam
)

Parameters

hwnd
Type: SystemIntPtr
The Window handle we are dealing with - which is the hidden fake window which BASS_WADSP has created during BASS_WADSP_Load(String, Int32, Int32, Int32, Int32, WINAMPWINPROC) and which emulates a Winamp 1.x class.
msg
Type: SystemInt32
The window message send. You typically might only react on WM_USER messages (also defined as BASS_WADSP_IPC).
wParam
Type: SystemInt32
The wParam message parameter see the Winamp SDK for further details.
lParam
Type: SystemInt32
The lParam message parameter see the Winamp SDK for further details.

Return Value

Type: Int32
See the Winamp SDK documentation for information.
Remarks

The BASSWADSPIpc enumeration defines all lParam values which you should typically handle. See the Winamp SDK for further details.

See Also

Reference