IMFSensorDevice::GetDeviceAttributes method (mfidl.h)

Gets the IMFAttributes for the sensor group.

Syntax

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

Parameters

[out] ppAttributes

The IMFAttributes interface representing the internal attribute store of the sensor device.

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 device has not been initialized.

Remarks

The object returned is a copy of the internal attribute store and so changes made to the returned attributes have no effect on the IMFSensorDevice.

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

IMFSensorDevice