BASS.NET API for the Un4seen BASS Audio LibraryBassWasapiBASS_WASAPI_SetNotify Method BASS.NET API for the Un4seen BASS Audio Library
Sets a device change notification callback.

Namespace: Un4seen.BassWasapi
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.13.3
Syntax

[DllImportAttribute("basswasapi")]
public static bool BASS_WASAPI_SetNotify(
	WASAPINOTIFYPROC proc,
	IntPtr user
)

Parameters

proc
Type: Un4seen.BassWasapiWASAPINOTIFYPROC
User defined notification function... = disable notifications.
user
Type: SystemIntPtr
User instance data to pass to the callback function.

Return Value

Type: Boolean
If successful, is returned, else is returned. Use BASS_ErrorGetCode to get the error code.
Remarks

A previously set notification callback can be changed (or removed) at any time, by calling this function again.

If the BASSWASAPI DLL is loaded dynamically (eg. via LoadLibrary), this function should be called with NULL parameters prior to unloading the DLL.

See Also

Reference