Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
interface IDualEngine20BrowserSessionObserver
: public IUnknown
Receives events from the session.
Summary
Members | Descriptions |
---|---|
NavigateDownloadLink | Raised when the session Download window is requesting to navigate to a URL. |
ReverseSyncCookies | Raised when a cookie is set in the session, if reverse cookie sync is enabled. |
UpdateDownloadState | Raised when downloads are stopped or started. |
Applies to
Product | Introduced |
---|---|
Windows 10, Version 20H1 | KB5032278 |
Windows 11, Version 22H2 | KB5032288 |
Members
NavigateDownloadLink
Raised when the session Download window is requesting to navigate to a URL.
public HRESULT NavigateDownloadLink(BSTR url, VARIANT * PostData)
Parameters
url
The URL that should be navigated to.PostData
HTTP POST data, such as form data.
ReverseSyncCookies
Raised when a cookie is set in the session, if reverse cookie sync is enabled.
public HRESULT ReverseSyncCookies(const DualEngineCookie * pCookies, DWORD cCookies, ULONG ulCookieSyncVersion)
See IDualEngine20BrowserSession::SetReverseCookieSync.
Parameters
pCookies
The cookies that were set.cCookies
The number of cookies inpCookies
.ulCookieSyncVersion
A number that can be used to correlate the specific cookie state with a navigation.
UpdateDownloadState
Raised when downloads are stopped or started.
public HRESULT UpdateDownloadState(BOOL fOnGoingDownloads)
Parameters
fOnGoingDownloads
Iftrue
, the session has ongoing downloads;false
if it does not.