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.12.0
Syntax

[DllImportAttribute("basswasapi.dll", CharSet = CharSet.Auto)]
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.
See Also

Reference