Muokkaa

Jaa


interface DualEngineSessionFactory

Important

The DualEngine API is part of a Limited Access Feature (see LimitedAccessFeatures class). For more information or to request an unlock token, contact Microsoft Support.

Factory object for DualEngine interfaces.

Summary

Members Descriptions
GetSpecifiedVersion Returns the known DualEngine interface version, if there is one.
GetVersionedBrowserSession Gets a DualEngine Session object of the requested version.
TryUnlockFeature Called to unlock the DualEngine interface.

Members

GetSpecifiedVersion

Returns the known DualEngine interface version, if there is one.

public STDMETHOD(GetSpecifiedVersion)(__out UINT * version) const

Parameters
  • version A pointer to a UINT where the version will be stored if there is one.
Returns

S_OK if a known version was found, E_FAIL if it was not.

GetVersionedBrowserSession

Gets a DualEngine Session object of the requested version.

public STDMETHOD(GetVersionedBrowserSession)(__in UINT version, __out IUnknown ** ppSession)

Important

This method must be called after Internet Explorer calls the export on DualEngineReady. See Creating a DualEngine adapter plugin DLL.

Parameters
  • version The version of the Session object to get.

  • ppSession The Session object, if the version requested is supported.

Returns

An HRESULT that indicates whether session creation was successful.

TryUnlockFeature

Called to unlock the DualEngine interface.

public STDMETHOD(TryUnlockFeature)(PCWSTR token, PCWSTR attestation)

Important

This MUST be called successfully before any other methods on this interface can be called.

Equivalent to Windows::ApplicationModel::LimitedAccessFeatures::TryUnlockFeature except it checks the adapter dll for the identity resource instead of the process .exe.

Parameters
  • token The LAF token provided by Microsoft.

  • attestation The attestation string provided by Microsoft.

Returns

An HRESULT that indicates whether unlocking was successful.