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.

IMFTransform::GetAttributes method

Gets the global attribute store for this Media Foundation transform (MFT).

Syntax


HRESULT GetAttributes(
  [out]  IMFAttributes **pAttributes
);

Parameters

pAttributes [out]

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 codeDescription
S_OK

The method succeeded.

E_NOTIMPL

The MFT does not support attributes.

 

Remarks

Use the IMFAttributes pointer retrieved by this method to get or set attributes that apply to the entire MFT. To get the attribute store for an input stream, call IMFTransform::GetInputStreamAttributes. To get the attribute store for an output stream, call IMFTransform::GetOutputStreamAttributes.

Implementation of this method is optional unless the MFT needs to support a particular set of attributes. Exception: Hardware-based MFTs must implement this method. See Hardware MFTs.

Requirements

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Mftransform.h

Library

Mfuuid.lib

See also

IMFTransform
Transform Attributes
Media Foundation Transforms

 

 

Community Additions

Show:
© 2014 Microsoft. All rights reserved.