IAudioSessionEnumeratorGetSession Method

Notifies the client that the display name for the session has changed.

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 GetSession(
	int sessionCount,
	ref IAudioSessionControl refSession
)

Parameters

sessionCount  Int32
The session number. If there are n sessions, the sessions are numbered from 0 to n – 1.

To get the number of sessions, call the GetCount(Int32) function.

refSession  IAudioSessionControl
Receives a pointer to the IAudioSessionControl interface of the session object in the collection that is maintained by the session enumerator.

The caller must release the interface pointer.

Return Value

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

See Also