Partager via


Méthode IMFTrustedOutput::GetOutputTrustAuthorityByIndex (mfidl.h)

Obtient une autorité d’approbation de sortie (OTA), spécifiée par l’index.

Syntaxe

HRESULT GetOutputTrustAuthorityByIndex(
  [in]  DWORD                   dwIndex,
  [out] IMFOutputTrustAuthority **ppauthority
);

Paramètres

[in] dwIndex

Index de base zéro de l’OTA à récupérer. Pour obtenir le nombre d’OTA fournis par cet objet, appelez IMFTrustedOutput::GetOutputTrustAuthorityCount.

[out] ppauthority

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

Valeur retournée

Si cette méthode réussit, elle retourne S_OK. Sinon, elle retourne un code d’erreur HRESULT.

Spécifications

   
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 mfidl.h
Bibliothèque Mfuuid.lib

Voir aussi

IMFTrustedOutput