From 96f0ea2e6e9b3072227e887b05a6a66fbcadbffd Mon Sep 17 00:00:00 2001 From: AndrewLakeMSFT Date: Wed, 27 Dec 2023 19:55:31 -0800 Subject: [PATCH] Regened after addressing editor feedback --- .../dualengine/reference/dualenginesessionfactory.md | 10 +--------- .../dualengine/reference/idualengine20browser.md | 4 ++-- .../reference/idualengine20browserobserver.md | 6 +++--- .../reference/idualengine20browsersession.md | 5 +++-- .../reference/idualengine20browsersessionobserver.md | 6 +++--- microsoft-edge/dualengine/reference/index.md | 4 ++-- 6 files changed, 14 insertions(+), 21 deletions(-) diff --git a/microsoft-edge/dualengine/reference/dualenginesessionfactory.md b/microsoft-edge/dualengine/reference/dualenginesessionfactory.md index 34a4d51303..208e2d8320 100644 --- a/microsoft-edge/dualengine/reference/dualenginesessionfactory.md +++ b/microsoft-edge/dualengine/reference/dualenginesessionfactory.md @@ -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 @@ -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 @@ -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 @@ -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. diff --git a/microsoft-edge/dualengine/reference/idualengine20browser.md b/microsoft-edge/dualengine/reference/idualengine20browser.md index 9828463677..674dfd6e5e 100644 --- a/microsoft-edge/dualengine/reference/idualengine20browser.md +++ b/microsoft-edge/dualengine/reference/idualengine20browser.md @@ -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 @@ -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. diff --git a/microsoft-edge/dualengine/reference/idualengine20browserobserver.md b/microsoft-edge/dualengine/reference/idualengine20browserobserver.md index 1055b623e8..7d669f0a02 100644 --- a/microsoft-edge/dualengine/reference/idualengine20browserobserver.md +++ b/microsoft-edge/dualengine/reference/idualengine20browserobserver.md @@ -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 @@ -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 @@ -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 diff --git a/microsoft-edge/dualengine/reference/idualengine20browsersession.md b/microsoft-edge/dualengine/reference/idualengine20browsersession.md index c85946da69..f465e0bf50 100644 --- a/microsoft-edge/dualengine/reference/idualengine20browsersession.md +++ b/microsoft-edge/dualengine/reference/idualengine20browsersession.md @@ -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 @@ -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 @@ -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`. diff --git a/microsoft-edge/dualengine/reference/idualengine20browsersessionobserver.md b/microsoft-edge/dualengine/reference/idualengine20browsersessionobserver.md index 7c808b58bc..fa885aa4d6 100644 --- a/microsoft-edge/dualengine/reference/idualengine20browsersessionobserver.md +++ b/microsoft-edge/dualengine/reference/idualengine20browsersessionobserver.md @@ -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 @@ -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 @@ -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. diff --git a/microsoft-edge/dualengine/reference/index.md b/microsoft-edge/dualengine/reference/index.md index 0043ff58db..4cef187446 100644 --- a/microsoft-edge/dualengine/reference/index.md +++ b/microsoft-edge/dualengine/reference/index.md @@ -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 dualengineapiaccess@microsoft.com 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