Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates an instance of the IMFSensorStream interface.
Syntax
HRESULT MFCreateSensorStream(
DWORD StreamId,
[in, optional] IMFAttributes *pAttributes,
[in] IMFCollection *pMediaTypeCollection,
[out] IMFSensorStream **ppStream
);
Parameters
StreamId
The identifier for the created stream. This is the same as setting the MF_DEVICESTREAM_STREAM_ID attribute. This value is used if pAttributes is null.
[in, optional] pAttributes
The attribute store for the created stream.
[in] pMediaTypeCollection
The collection of IMFMediaType objects specifying the media types supported by the stream.
[out] ppStream
The created stream interface.
Return value
The function returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
The method succeeded. |
|
The supplied IMFSensorGroup is null. |
|
The supplied LPCWSTR is null. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1703 [desktop apps | UWP apps] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | mfidl.h |