IAudioSessionManager2UnregisterDuckNotification Method

Deletes a previous registration by the application to receive notifications.

Definition

Namespace: DevCase.Win32.Interfaces
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[PreserveSigAttribute]
HResult UnregisterDuckNotification(
	IAudioVolumeDuckNotification client
)

Parameters

client  IAudioVolumeDuckNotification
Pointer to the IAudioVolumeDuckNotification interface that is implemented by the application.

Pass the same interface pointer that was specified to the session manager in a previous call to the RegisterDuckNotification(String, IAudioVolumeDuckNotification) method.

If the UnregisterDuckNotification(IAudioVolumeDuckNotification) method succeeds, it calls the Release method on the application's IAudioVolumeDuckNotification interface.

Return Value

HResult
If the method succeeds, it returns S_OK. If it fails, it returns an HResult value.

See Also