Share via


Fonction MFCreatePresentationDescriptorFromASFProfile (wmcontainer.h)

Crée un descripteur de présentation à partir d’un objet de profil ASF.

Syntaxe

HRESULT MFCreatePresentationDescriptorFromASFProfile(
  IMFASFProfile             *pIProfile,
  IMFPresentationDescriptor **ppIPD
);

Paramètres

pIProfile

Pointeur vers l’interface IMFASFProfile de l’objet de profil ASF.

ppIPD

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

Valeur retournée

La fonction retourne un HRESULT. Les valeurs possibles sont notamment celles figurant dans le tableau suivant.

Code de retour Description
S_OK
La fonction a réussi.

Configuration requise

Condition requise Valeur
Client minimal pris en charge Windows Vista [applications de bureau uniquement]
Serveur minimal pris en charge Windows Server 2008 [applications de bureau uniquement]
Plateforme cible Windows
En-tête wmcontainer.h
Bibliothèque Mf.lib
DLL Mf.dll

Voir aussi

Fonctions Media Foundation