IMFTransform::GetOutputStreamAttributes method (mftransform.h)

Gets the attribute store for an output stream on this Media Foundation transform (MFT).

Syntax

HRESULT GetOutputStreamAttributes(
  [in]  DWORD         dwOutputStreamID,
  [out] IMFAttributes **pAttributes
);

Parameters

[in] dwOutputStreamID

Output stream identifier. To get the list of stream identifiers, call IMFTransform::GetStreamIDs.

[out] pAttributes

Receives a pointer to the IMFAttributes interface. The caller must release the interface.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.
E_NOTIMPL
The MFT does not support output stream attributes.
MF_E_INVALIDSTREAMNUMBER
Invalid stream identifier.

Remarks

Implementation of this method is optional unless the MFT needs to support a particular set of attributes.

To get the attribute store for the entire MFT, call IMFTransform::GetAttributes.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header mftransform.h
Library Mfuuid.lib

See also

IMFTransform

Media Foundation Transforms

Transform Attributes