IAudioSessionManager2UnregisterSessionNotification Method

Deletes the registration to receive a notification when a session is created.

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 UnregisterSessionNotification(
	IAudioSessionNotification client
)

Parameters

client  IAudioSessionNotification
A pointer to the application's implementation of the IAudioSessionNotification interface.

Pass the same interface pointer that was specified to the session manager in a previous call to RegisterSessionNotification(IAudioSessionNotification) to register for notification.

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

Return Value

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

See Also