IMFSensorDevice::GetStreamAttributes method (mfidl.h)
Gets the stream attribute store with the specified index.
Syntax
HRESULT GetStreamAttributes(
[in] MFSensorStreamType eType,
[in] DWORD dwIndex,
[out] IMFAttributes **ppAttributes
);
Parameters
[in] eType
A member of the MFSensorStreamType enumeration specifying whether the attribute store is being requested for an input or output stream.
[in] dwIndex
The 0-based index of the stream to be retrieved. The index must be between 0 and the value returned by GetStreamAttributesCount - 1.
[out] ppAttributes
The IMFAttributes interface representing a copy internal attribute store of the stream.
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
The method succeeded. |
|
The pDeviceId parameter is null. |
|
The sensor group 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 |