IMFDeviceTransform::InitializeTransform method (mftransform.h)
InitializeTransform is called to initialize the Device MFT.
Syntax
HRESULT InitializeTransform(
[in] IMFAttributes *pAttributes
);
Parameters
[in] pAttributes
Contains a pointer to an attribute, passed in by the capture pipeline that contains initialization parameters. The following attributes values are passed to the function
Attribute Key | Description |
---|---|
|
The IKsControl interface of the preceding DeviceTransform object. It also implements IMFDeviceTransform, used to get necessary information needed to create a valid pipeline. |
|
Denotes the symbolic link for a video capture driver |
|
Specifies the display name for a device. The display name is a human-readable string, suitable for display in a user interface. |
Return value
The method returns an HRESULT. Possible values include but not limited to values given in the following table.
Return code | Description |
---|---|
|
Initialization succeeded |
|
Device MFT could not support the request at this time. |
Remarks
Device MFTs can take advantage of this function to initialize various internal objects and states. Pipeline can also use the input IMFAttributes parameter to communicate certain configuration information to the Device MFT.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1703 |
Target Platform | Windows |
Header | mftransform.h |