IMFSensorGroup::GetSensorGroupAttributes method (mfidl.h)

Gets the IMFAttributes for the sensor group. The returned object is a live reference to the internal attribute store.

Syntax

HRESULT GetSensorGroupAttributes(
  [out] IMFAttributes **ppAttributes
);

Parameters

[out] ppAttributes

The IMFAttributes interface representing the internal attribute store of the sensor 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.
E_POINTER
The ppAttributes parameter is null.
MF_E_NOT_INITIALIZED
The sensor group has not been initialized.

Remarks

The caller may optionally use this attribute store to query for attributes set on the sensor group or modify/add attributes to the sensor group. Modification of this attribute set is not persisted and will only be valid for the instance of the IMFSensorGroup.

This attribute store can be used to add runtime attributes for the IMFMediaSource that can be created using the IMFSensorGroup::CreateMediaSource method.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1607 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header mfidl.h
Library Mfplat.lib; Mfplat.dll

See also

IMFSensorGroup