IMFAudioPolicy::SetGroupingParam method (mfidl.h)

Assigns the audio session to a group of sessions.

Syntax

HRESULT SetGroupingParam(
  [in] REFGUID rguidClass
);

Parameters

[in] rguidClass

A GUID that identifies the session group. Groups are application-defined. To create a new session group, assign a new GUID.

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