IMFTrustedOutput::GetOutputTrustAuthorityByIndex method (mfidl.h)

Gets an output trust authority (OTA), specified by index.

Syntax

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

Parameters

[in] dwIndex

Zero-based index of the OTA to retrieve. To get the number of OTAs provided by this object, call IMFTrustedOutput::GetOutputTrustAuthorityCount.

[out] ppauthority

Receives a pointer to the IMFOutputTrustAuthority interface of the OTA. The caller must release the interface.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header mfidl.h
Library Mfuuid.lib

See also

IMFTrustedOutput