IMFAudioPolicy::GetGroupingParam method (mfidl.h)

Retrieves the group of sessions to which this audio session belongs.

Syntax

HRESULT GetGroupingParam(
  [out] GUID *pguidClass
);

Parameters

[out] pguidClass

Receives a GUID that identifies the session group.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.

Remarks

If two or more audio sessions share the same group, the Windows volume control displays one slider control for the entire group. Otherwise, it displays a slider for each session. For more information, see IAudioSessionControl::SetGroupingParam in the core audio API documentation.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header mfidl.h
Library Mfuuid.lib

See also

IMFAudioPolicy

Streaming Audio Renderer