IMFTrustedInput::GetInputTrustAuthority Method

Retrieves the input trust authority (ITA) for a specified stream.

Syntax

public:
HRESULT GetInputTrustAuthority(
         DWORD dwStreamID,
         REFIID riid,
         IUnknown **ppunkObject
)  

Parameters

dwStreamID
Type: DWORD 

The stream identifier for which the ITA is being requested.

riid
Type: REFIID 

[in]

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

ppunkObject
Type: IUnknown **

[out, optional]

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

Return value

Type: HRESULT 

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

Return codes
Return code Description
S_OK The method succeeded.
E_NOINTERFACE The ITA does not expose the requested interface.

Refer to Media Foundation return codes.

Requirements

Header: Declared in mfidl.h.

Library: Use mfuuid.lib.