Skip to content

Commit

Permalink
Regened after addressing editor feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewLakeMSFT committed Dec 28, 2023
1 parent aff5aeb commit 96f0ea2
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 21 deletions.
10 changes: 1 addition & 9 deletions microsoft-edge/dualengine/reference/dualenginesessionfactory.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Factory object for DualEngine interfaces.
author: MSEdgeTeam
ms.author: msedgedevrel
ms.prod: microsoft-edge
ms.date: 12/09/2023
ms.date: 12/27/2023
keywords: dual engine, dualengine, iemode, win32 apps, win32, edge, ie mode, edge html, DualEngineSessionFactory
topic_type:
- APIRef
Expand Down Expand Up @@ -43,11 +43,9 @@ Returns the known DualEngine interface version, if there is one.
> public STDMETHOD([GetSpecifiedVersion](#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
Expand All @@ -58,15 +56,12 @@ Gets a DualEngine Session object of the requested version.
> [!IMPORTANT]
> This method must be called after Internet Explorer calls the export on DualEngineReady. See [Creating a DualEngine adapter plugin DLL](../concepts/adapter-dll.md).
###### 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
Expand All @@ -77,13 +72,10 @@ Called to unlock the DualEngine interface.
> [!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.
4 changes: 2 additions & 2 deletions microsoft-edge/dualengine/reference/idualengine20browser.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Represents an Internet Explorer tab.
author: MSEdgeTeam
ms.author: msedgedevrel
ms.prod: microsoft-edge
ms.date: 12/09/2023
ms.date: 12/27/2023
keywords: dual engine, dualengine, iemode, win32 apps, win32, edge, ie mode, edge html, IDualEngine20Browser
topic_type:
- APIRef
Expand Down Expand Up @@ -208,7 +208,7 @@ Navigates to a specific travel log entry.

Initializes the browser object with an URL.

> public HRESULT [DualEngineInitialize](#dualengineinitialize)([IDualEngine20BrowserObserver](idualengine20browserobserver.md) * pDualEngineObserver, DUALENGINECONFIGURATION config, EngineSwitchingPolicyFlags engineSwitchingPolicyFlags, [SentinelEntryInfo](tagsentinelentryinfo.md#) sentinelEntryInfo, LPCWSTR pszUrl, HWND hwndHost, HWND * phwnd)
> public HRESULT [DualEngineInitialize](#dualengineinitialize)([IDualEngine20BrowserObserver](idualengine20browserobserver.md) * pDualEngineObserver, DUALENGINECONFIGURATION config, EngineSwitchingPolicyFlags engineSwitchingPolicyFlags, [SentinelEntryInfo](tagsentinelentryinfo.md) sentinelEntryInfo, LPCWSTR pszUrl, HWND hwndHost, HWND * phwnd)
###### Parameters
* `pDualEngineObserver` A pointer to the observer for this browser.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Receives events from the Browser.
author: MSEdgeTeam
ms.author: msedgedevrel
ms.prod: microsoft-edge
ms.date: 12/09/2023
ms.date: 12/27/2023
keywords: dual engine, dualengine, iemode, win32 apps, win32, edge, ie mode, edge html, IDualEngine20BrowserObserver
topic_type:
- APIRef
Expand Down Expand Up @@ -168,7 +168,7 @@ Raised when the browser wants to stop hosting content and have the navigation to

* `pszHeaders` Additional HTTP headers.

* `postData` HTTP POST data such as form data.
* `postData` HTTP POST data, such as form data.

#### NavigateToOffsetInEdge

Expand Down Expand Up @@ -531,7 +531,7 @@ Raised when the browser is requesting the host to navigate to a URL in a new win

* `pszHeaders` Additional HTTP headers.

* `postData` HTTP POST data such as form data.
* `postData` HTTP POST data, such as form data.

#### RequestHostAddFavorite

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Represents an Internet Explorer process session.
author: MSEdgeTeam
ms.author: msedgedevrel
ms.prod: microsoft-edge
ms.date: 12/09/2023
ms.date: 12/27/2023
keywords: dual engine, dualengine, iemode, win32 apps, win32, edge, ie mode, edge html, IDualEngine20BrowserSession
topic_type:
- APIRef
Expand Down Expand Up @@ -271,6 +271,7 @@ port = *DIGIT
```

See also:

* [Appendix A. Collected ABNF for URI](https://www.rfc-editor.org/rfc/rfc3986#appendix-A) in _RFC 3986 - Uniform Resource Identifier (URI): Generic Syntax_.

#### SetUseAdditionalHangDetection
Expand All @@ -295,6 +296,6 @@ Sends cookie data to the session process.
> public HRESULT [SyncCookies](#synccookies)(const [DualEngineCookie](dualenginecookie.md) * pCookies, DWORD cCookies)
###### Parameters
* `pCookies` An array of cookies to be sent to the session.
* `pCookies` An array of cookies to be sent to the session.

* `cCookies` The number of items in `pCookies`.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Receives events from the session.
author: MSEdgeTeam
ms.author: msedgedevrel
ms.prod: microsoft-edge
ms.date: 12/09/2023
ms.date: 12/27/2023
keywords: dual engine, dualengine, iemode, win32 apps, win32, edge, ie mode, edge html, IDualEngine20BrowserSessionObserver
topic_type:
- APIRef
Expand Down Expand Up @@ -36,7 +36,7 @@ Receives events from the session.
Members | Descriptions
--------------------------------|---------------------------------------------
[NavigateDownloadLink](#navigatedownloadlink) | Raised when the session Download window is requesting to navigate to a URL.
[ReverseSyncCookies](#reversesynccookies) | Raised when a cookie is set in the session if reverse cookie sync is enabled.
[ReverseSyncCookies](#reversesynccookies) | Raised when a cookie is set in the session, if reverse cookie sync is enabled.
[UpdateDownloadState](#updatedownloadstate) | Raised when downloads are stopped or started.

## Applies to
Expand Down Expand Up @@ -70,7 +70,7 @@ See [IDualEngine20BrowserSession::SetReverseCookieSync](idualengine20browsersess
###### Parameters
* `pCookies` The cookies that were set.

* `cCookies` The number of cookies in `pCookies`.
* `cCookies` The number of cookies in `pCookies`.

* `ulCookieSyncVersion` A number that can be used to correlate the specific cookie state with a navigation.

Expand Down
4 changes: 2 additions & 2 deletions microsoft-edge/dualengine/reference/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ author: MSEdgeTeam
ms.author: msedgedevrel
ms.prod: microsoft-edge
keywords: dual engine, dualengine, iemode, win32 apps, win32, edge, ie mode
ms.date: 11/16/2023
ms.date: 12/27/2023
---
# DualEngine Win32 C++ Reference

> [!IMPORTANT]
> The DualEngine API is a limited access feature. Contact [email protected] for more information.
The Microsoft DualEngine API enables you to host and control an Internet Explorer instance within your app. For more information, see [Introduction to the Microsoft DualEngine API](../intro.md) and [Getting started with the DualEngine API](../get-started.md).
The Microsoft DualEngine API enables you to host and control an Internet Explorer instance within your app. For more information, see [Introduction to the Microsoft DualEngine API](../intro.md) and [Getting started with the DualEngine API](../get-started.md).

## Globals

Expand Down

0 comments on commit 96f0ea2

Please sign in to comment.