IAudioSessionEnumerator::GetCount method

The GetCount method gets the total number of audio sessions that are open on the audio device.

Syntax


HRESULT GetCount(
  [out] int *SessionCount
);

Parameters

SessionCount [out]

Receives the total number of audio sessions.

Return value

If the method succeeds, it returns S_OK.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Audiopolicy.h

See also

IAudioSessionEnumerator

 

 

Show: