IMFTransform::GetInputStreamAttributes Method

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

Syntax

public:
HRESULT GetInputStreamAttributes(
         DWORD dwInputStreamID,
         IMFAttributes **pAttributes
)  

Parameters

dwInputStreamID
Type: DWORD 

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

pAttributes
Type: IMFAttributes **

[out, optional] Receives a pointer to the IMFAttributes interface. The caller must release the interface.

Return value

Type: HRESULT 

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

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

Refer to Media Foundation return codes.

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

Header: Declared in mftransform.h.

Library: Use Mfuuid.lib.