IMFTrustedOutput::GetOutputTrustAuthorityByIndex method

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

Syntax


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

Parameters

dwIndex [in]

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

ppauthority [out]

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

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Mfidl.h

Library

Mfuuid.lib

See also

IMFTrustedOutput

 

 

Show: