Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 | UWP apps]

Minimum supported server

Windows Server 2012 [desktop apps | UWP apps]

Header

Mfreadwrite.h

See also

IMFSinkWriterEx

 

 

Show:
© 2018 Microsoft