IMFSinkWriterEx::GetTransformForStream method
Gets a pointer to a Media Foundation transform (MFT) for a specified stream.
Syntax
HRESULT GetTransformForStream( [in] DWORD dwStreamIndex, [in] DWORD dwTransformIndex, [out] GUID *pGuidCategory, [out] IMFTransform **ppTransform );
Parameters
- dwStreamIndex [in]
-
The zero-based index of a stream.
- dwTransformIndex [in]
-
The zero-based index of the MFT to retreive.
- pGuidCategory [out]
-
Receives a pointer to a GUID that specifies the category of the MFT. For a list of possible values, see MFT_CATEGORY.
- ppTransform [out]
-
Receives a pointer to the IMFTransform interface of the MFT. The caller must release the interface.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
|
Minimum supported client |
Windows 8 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps | Windows Store apps] |
|
Header |
|
See also