IAudioSessionManager2RegisterSessionNotification Method

Registers the application 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 RegisterSessionNotification(
	IAudioSessionNotification client
)

Parameters

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

If the method call succeeds, it calls the AddRef 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