Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Gets the count of stream attribute stores for the sensor device. This number represents the number of total streams available for the device because every valid stream must have an attribute store that contains at least the stream ID and stream category.
HRESULT GetStreamAttributesCount(
[in] MFSensorStreamType eType,
[out] DWORD *pdwCount
);
[in] eType
A member of the MFSensorStreamType enumeration specifying whether the attribute store count is being requested for an input or output stream.
[out] pdwCount
The number of stream attributes available for this sensor device.
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 pdwCount parameter is null. |
|
The sensor group has not been initialized. |
The caller can use the number of stream attributes to indicate the number of streams provided by the sensor device.
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 |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today