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.
Called by the media pipeline to initialize the sensor transform.
HRESULT InitializeFactory(
[in] DWORD dwMaxTransformCount,
[in] IMFCollection *pSensorDevices,
[in, optional] IMFAttributes *pAttributes
);
[in] dwMaxTransformCount
The maximum number of transforms allowed in a single transform. In the current release, this is always 1.
[in] pSensorDevices
A collection of IMFSensorDevice objects representing the available sensors.
[in, optional] pAttributes
The attribute store to be populated by the sensor transform. The only required attribute for sensor transforms is MF_STF_VERSION_INFO.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1703 [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