IAudioSessionControl2::IsSystemSoundsSession method (audiopolicy.h)

The IsSystemSoundsSession method indicates whether the session is a system sounds session.

Syntax

HRESULT IsSystemSoundsSession();

Return value

The possible return codes include, but are not limited to, the values shown in the following table.

Return code Description
S_OK
The session is a system sounds session.
S_FALSE
The session is not a system sounds session.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header audiopolicy.h

See also

IAudioSessionControl2