IMFInputTrustAuthority::BindAccess Method

Notifies the input trust authority (ITA) that a requested action is about to be performed.

Syntax

public:
HRESULT BindAccess(
         MFINPUTTRUSTAUTHORITY_ACCESS_PARAMS *pParam
)  

Parameters

pParam
Type: MFINPUTTRUSTAUTHORITY_ACCESS_PARAMS *

Pointer to an MFINPUTTRUSTAUTHORITY_ACCESS_PARAMS structure that contains parameters for the BindAccess action.

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.

Refer to Media Foundation return codes.

Remarks

Before calling this method, the Media Session calls IMFInputTrustAuthority::RequestAccess to request an action. The BindAccess method notifies the ITA that the action is definitely about to occur, so that the ITA can update its internal state as needed. If the method returns a failure code, the Media Session cancels the action.

Requirements

Header: Declared in mfidl.h.

Library: Use mfuuid.lib.