Sets a device change notification callback.
Namespace: Un4seen.BassWasapi
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
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: BooleanIf successful, is returned, else is returned. Use BASS_ErrorGetCode to get the error code.
Remarks
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