Méthode IMFTransform ::GetOutputStreamAttributes (mftransform.h)

Obtient le magasin d’attributs pour un flux de sortie sur cette transformation Media Foundation (MFT).

Syntaxe

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

Paramètres

[in] dwOutputStreamID

Identificateur de flux de sortie. Pour obtenir la liste des identificateurs de flux, appelez IMFTransform ::GetStreamIDs.

[out] pAttributes

Reçoit un pointeur vers l’interface IMFAttributes . L’appelant doit libérer l’interface.

Valeur retournée

Cette méthode retourne un code HRESULT. Les valeurs possibles sont notamment celles figurant dans le tableau suivant.

Code de retour Description
S_OK
S_OK
E_NOTIMPL
MFT ne prend pas en charge les attributs de flux de sortie.
MF_E_INVALIDSTREAMNUMBER
Identificateur de flux non valide.

Remarques

L’implémentation de cette méthode est facultative, sauf si MFT doit prendre en charge un ensemble particulier d’attributs.

Pour obtenir le magasin d’attributs pour l’ensemble de MFT, appelez IMFTransform ::GetAttributes.

Configuration requise

Condition requise Valeur
Client minimal pris en charge Windows Vista [applications de bureau | applications UWP]
Serveur minimal pris en charge Windows Server 2008 [applications de bureau | applications UWP]
Plateforme cible Windows
En-tête mftransform.h
Bibliothèque Mfuuid.lib

Voir aussi

IMFTransform

Transformations Media Foundation

Transformer les attributs