IMFTrustedInput::GetInputTrustAuthority method (mfidl.h)

Retrieves the input trust authority (ITA) for a specified stream. If the specified stream is not protected, this method must return MF_E_NOT_PROTECTED.

Syntax

HRESULT GetInputTrustAuthority(
  [in]  DWORD    dwStreamID,
  [in]  REFIID   riid,
  [out] IUnknown **ppunkObject
);

Parameters

[in] dwStreamID

The stream identifier for which the ITA is being requested.

[in] riid

The interface identifier (IID) of the interface being requested. Currently the only supported value is IID_IMFInputTrustAuthority.

[out] ppunkObject

Receives a pointer to the ITA's IUnknown interface. The caller must release the interface.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.
E_NOINTERFACE
The ITA does not expose the requested interface.
MF_E_NOT_PROTECTED
The specified stream is not protected.

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

IMFInputTrustAuthority

IMFTrustedInput