Expand description
Low Level Bindings for WebView2 SDK.
Structs§
- Color
- A value representing RGBA color (Red, Green, Blue, Alpha) for WebView2. Each component takes a value from 0 to 255, with 0 being no intensity and 255 being the highest intensity.
- Event
Registration Token - Represents a reference to a delegate that receives change notifications.
- ICore
WebView2 Accelerator KeyPressed Event ArgsV Table - ICore
WebView2 Accelerator KeyPressed Event HandlerV Table - ICore
WebView2 AddScript ToExecute OnDocument Created Completed HandlerV Table - ICore
WebView2 Bytes Received Changed Event HandlerV Table - ICore
WebView2 Call DevTools Protocol Method Completed HandlerV Table - ICore
WebView2 Capture Preview Completed HandlerV Table - ICore
WebView2 Client Certificate CollectionV Table - ICore
WebView2 Client Certificate Requested Event ArgsV Table - ICore
WebView2 Client Certificate Requested Event HandlerV Table - ICore
WebView2 Client CertificateV Table - ICore
WebView2 Composition Controller2V Table - ICore
WebView2 Composition Controller InteropV Table - ICore
WebView2 Composition ControllerV Table - ICore
WebView2 Contains Full Screen Element Changed Event HandlerV Table - ICore
WebView2 Content Loading Event ArgsV Table - ICore
WebView2 Content Loading Event HandlerV Table - ICore
WebView2 Controller2V Table - ICore
WebView2 Controller3V Table - ICore
WebView2 ControllerV Table - ICore
WebView2 Cookie ListV Table - ICore
WebView2 Cookie ManagerV Table - ICore
WebView2 CookieV Table - ICore
WebView2 Create Core WebView2 Composition Controller Completed HandlerV Table - ICore
WebView2 Create Core WebView2 Controller Completed HandlerV Table - ICore
WebView2 Create Core WebView2 Environment Completed HandlerV Table - ICore
WebView2 Cursor Changed Event HandlerV Table - ICore
WebView2DOM Content Loaded Event ArgsV Table - ICore
WebView2DOM Content Loaded Event HandlerV Table - ICore
WebView2 DeferralV Table - ICore
WebView2 DevTools Protocol Event Received Event ArgsV Table - ICore
WebView2 DevTools Protocol Event Received Event HandlerV Table - ICore
WebView2 DevTools Protocol Event ReceiverV Table - ICore
WebView2 Document Title Changed Event HandlerV Table - ICore
WebView2 Download OperationV Table - ICore
WebView2 Download Starting Event ArgsV Table - ICore
WebView2 Download Starting Event HandlerV Table - ICore
WebView2 Environment2V Table - ICore
WebView2 Environment3V Table - ICore
WebView2 Environment4V Table - ICore
WebView2 Environment InteropV Table - ICore
WebView2 Environment OptionsV Table - ICore
WebView2 EnvironmentV Table - ICore
WebView2 Estimated EndTime Changed Event HandlerV Table - ICore
WebView2 Execute Script Completed HandlerV Table - ICore
WebView2 Focus Changed Event HandlerV Table - ICore
WebView2 Frame Created Event ArgsV Table - ICore
WebView2 Frame Created Event HandlerV Table - ICore
WebView2 Frame Destroyed Event HandlerV Table - ICore
WebView2 Frame Info Collection IteratorV Table - ICore
WebView2 Frame Info CollectionV Table - ICore
WebView2 Frame InfoV Table - ICore
WebView2 Frame Name Changed Event HandlerV Table - ICore
WebView2 FrameV Table - ICore
WebView2 GetCookies Completed HandlerV Table - ICore
WebView2 History Changed Event HandlerV Table - ICore
WebView2 Http Headers Collection IteratorV Table - ICore
WebView2 Http Request HeadersV Table - ICore
WebView2 Http Response HeadersV Table - ICore
WebView2 InteropV Table - ICore
WebView2 Move Focus Requested Event ArgsV Table - ICore
WebView2 Move Focus Requested Event HandlerV Table - ICore
WebView2 Navigation Completed Event ArgsV Table - ICore
WebView2 Navigation Completed Event HandlerV Table - ICore
WebView2 Navigation Starting Event ArgsV Table - ICore
WebView2 Navigation Starting Event HandlerV Table - ICore
WebView2 NewBrowser Version Available Event HandlerV Table - ICore
WebView2 NewWindow Requested Event ArgsV Table - ICore
WebView2 NewWindow Requested Event HandlerV Table - ICore
WebView2 Permission Requested Event ArgsV Table - ICore
WebView2 Permission Requested Event HandlerV Table - ICore
WebView2 Pointer InfoV Table - ICore
WebView2 Process Failed Event Args2V Table - ICore
WebView2 Process Failed Event ArgsV Table - ICore
WebView2 Process Failed Event HandlerV Table - ICore
WebView2 Rasterization Scale Changed Event HandlerV Table - ICore
WebView2 Script Dialog Opening Event ArgsV Table - ICore
WebView2 Script Dialog Opening Event HandlerV Table - ICore
WebView2 Settings2V Table - ICore
WebView2 Settings3V Table - ICore
WebView2 Settings4V Table - ICore
WebView2 Settings5V Table - ICore
WebView2 SettingsV Table - ICore
WebView2 Source Changed Event ArgsV Table - ICore
WebView2 Source Changed Event HandlerV Table - ICore
WebView2 State Changed Event HandlerV Table - ICore
WebView2 String CollectionV Table - ICore
WebView2 TrySuspend Completed HandlerV Table - ICore
WebView2V Table - ICore
WebView2 WebMessage Received Event ArgsV Table - ICore
WebView2 WebMessage Received Event HandlerV Table - ICore
WebView2 WebResource RequestV Table - ICore
WebView2 WebResource Requested Event ArgsV Table - ICore
WebView2 WebResource Requested Event HandlerV Table - ICore
WebView2 WebResource Response Received Event ArgsV Table - ICore
WebView2 WebResource Response Received Event HandlerV Table - ICore
WebView2 WebResource ResponseV Table - ICore
WebView2 WebResource Response View GetContent Completed HandlerV Table - ICore
WebView2 WebResource Response ViewV Table - ICore
WebView2 Window Close Requested Event HandlerV Table - ICore
WebView2 Window FeaturesV Table - ICore
WebView2 Zoom Factor Changed Event HandlerV Table - ICore
WebView2_ 2VTable - ICore
WebView2_ 3VTable - ICore
WebView2_ 4VTable - ICore
WebView2_ 5VTable - ISequential
StreamV Table - IStreamV
Table - Physical
KeyStatus - Contains the information packed into the
LPARAM
sent to a Win32 key event. For more information aboutWM_KEYDOWN
, navigate to [WM_KEYDOWN message][WindowsWin32InputdevWmKeydown].
Enums§
- Bounds
Mode - Mode for how the Bounds property is interpreted in relation to the RasterizationScale property.
- Capture
Preview Image Format - Specifies the image format for the
ICoreWebView2::CapturePreview
method. - Client
Certificate Kind - Cookie
Same Site Kind - Kind of cookie SameSite status used in the ICoreWebView2Cookie interface. These fields match those as specified in https://developer.mozilla.org/docs/Web/HTTP/Cookies#. Learn more about SameSite cookies here: https://tools.ietf.org/html/draft-west-first-party-cookies-07
- Download
Interrupt Reason - Reason why a download was interrupted.
- Download
State - State of the download operation.
- Host
Resource Access Kind - Kind of cross origin resource access allowed for host resources during download.
Note that other normal access checks like same origin DOM access check and Content
Security Policy still apply.
The following table illustrates the host resource cross origin access according to
access context and
COREWEBVIEW2_HOST_RESOURCE_ACCESS_KIND
. - KeyEvent
Kind - Specifies the key event type that triggered an
AcceleratorKeyPressed
event. - Mouse
Event Kind - Mouse event type used by SendMouseInput to convey the type of mouse event being sent to WebView. The values of this enum align with the matching WM_* window messages.
- Mouse
Event Virtual Keys - Mouse event virtual keys associated with a COREWEBVIEW2_MOUSE_EVENT_KIND for SendMouseInput. These values can be combined into a bit flag if more than one virtual key is pressed for the event. The values of this enum align with the matching MK_* mouse keys.
- Move
Focus Reason - Specifies the reason for moving focus.
- Permission
Kind - Indicates the type of a permission request.
- Permission
State - Specifies the response to a permission request.
- Pointer
Event Kind - Pointer event type used by SendPointerInput to convey the type of pointer event being sent to WebView. The values of this enum align with the matching WM_POINTER* window messages.
- Process
Failed Kind - Specifies the process failure type used in the
ICoreWebView2ProcessFailedEventHandler
interface. The values in this enum make reference to the process kinds in the Chromium architecture. For more information about what these processes are and what they do, see Browser Architecture - Inside look at modern web browser. - Process
Failed Reason - Specifies the process failure reason used in the
ICoreWebView2ProcessFailedEventHandler
interface. - Script
Dialog Kind - Specifies the JavaScript dialog type used in the
ICoreWebView2ScriptDialogOpeningEventHandler
interface. - WebError
Status - Indicates the error status values for web navigations.
- WebResource
Context - Specifies the web resource request contexts.
Constants§
- IID_
ICORE_ WEB_ VIEW2 - IID_
ICORE_ WEB_ VIEW2_ 2 - IID_
ICORE_ WEB_ VIEW2_ 3 - IID_
ICORE_ WEB_ VIEW2_ 4 - IID_
ICORE_ WEB_ VIEW2_ 5 - IID_
ICORE_ WEB_ VIEW2_ ACCELERATOR_ KEY_ PRESSED_ EVENT_ ARGS - IID_
ICORE_ WEB_ VIEW2_ ACCELERATOR_ KEY_ PRESSED_ EVENT_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ ADD_ SCRIPT_ TO_ EXECUTE_ ON_ DOCUMENT_ CREATED_ COMPLETED_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ BYTES_ RECEIVED_ CHANGED_ EVENT_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ CALL_ DEV_ TOOLS_ PROTOCOL_ METHOD_ COMPLETED_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ CAPTURE_ PREVIEW_ COMPLETED_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ CLIENT_ CERTIFICATE - IID_
ICORE_ WEB_ VIEW2_ CLIENT_ CERTIFICATE_ COLLECTION - IID_
ICORE_ WEB_ VIEW2_ CLIENT_ CERTIFICATE_ REQUESTED_ EVENT_ ARGS - IID_
ICORE_ WEB_ VIEW2_ CLIENT_ CERTIFICATE_ REQUESTED_ EVENT_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ COMPOSITION_ CONTROLLER - IID_
ICORE_ WEB_ VIEW2_ COMPOSITION_ CONTROLLE R2 - IID_
ICORE_ WEB_ VIEW2_ COMPOSITION_ CONTROLLER_ INTEROP - IID_
ICORE_ WEB_ VIEW2_ CONTAINS_ FULL_ SCREEN_ ELEMENT_ CHANGED_ EVENT_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ CONTENT_ LOADING_ EVENT_ ARGS - IID_
ICORE_ WEB_ VIEW2_ CONTENT_ LOADING_ EVENT_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ CONTROLLER - IID_
ICORE_ WEB_ VIEW2_ CONTROLLE R2 - IID_
ICORE_ WEB_ VIEW2_ CONTROLLE R3 - IID_
ICORE_ WEB_ VIEW2_ COOKIE - IID_
ICORE_ WEB_ VIEW2_ COOKIE_ LIST - IID_
ICORE_ WEB_ VIEW2_ COOKIE_ MANAGER - IID_
ICORE_ WEB_ VIEW2_ CREATE_ CORE_ WEB_ VIEW2_ COMPOSITION_ CONTROLLER_ COMPLETED_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ CREATE_ CORE_ WEB_ VIEW2_ CONTROLLER_ COMPLETED_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ CREATE_ CORE_ WEB_ VIEW2_ ENVIRONMENT_ COMPLETED_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ CURSOR_ CHANGED_ EVENT_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ DEFERRAL - IID_
ICORE_ WEB_ VIEW2_ DEV_ TOOLS_ PROTOCOL_ EVENT_ RECEIVED_ EVENT_ ARGS - IID_
ICORE_ WEB_ VIEW2_ DEV_ TOOLS_ PROTOCOL_ EVENT_ RECEIVED_ EVENT_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ DEV_ TOOLS_ PROTOCOL_ EVENT_ RECEIVER - IID_
ICORE_ WEB_ VIEW2_ DOCUMENT_ TITLE_ CHANGED_ EVENT_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ DOMCONTENT_ LOADED_ EVENT_ ARGS - IID_
ICORE_ WEB_ VIEW2_ DOMCONTENT_ LOADED_ EVENT_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ DOWNLOAD_ OPERATION - IID_
ICORE_ WEB_ VIEW2_ DOWNLOAD_ STARTING_ EVENT_ ARGS - IID_
ICORE_ WEB_ VIEW2_ DOWNLOAD_ STARTING_ EVENT_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ ENVIRONMENT - IID_
ICORE_ WEB_ VIEW2_ ENVIRONMEN T2 - IID_
ICORE_ WEB_ VIEW2_ ENVIRONMEN T3 - IID_
ICORE_ WEB_ VIEW2_ ENVIRONMEN T4 - IID_
ICORE_ WEB_ VIEW2_ ENVIRONMENT_ INTEROP - IID_
ICORE_ WEB_ VIEW2_ ENVIRONMENT_ OPTIONS - IID_
ICORE_ WEB_ VIEW2_ ESTIMATED_ END_ TIME_ CHANGED_ EVENT_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ EXECUTE_ SCRIPT_ COMPLETED_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ FOCUS_ CHANGED_ EVENT_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ FRAME - IID_
ICORE_ WEB_ VIEW2_ FRAME_ CREATED_ EVENT_ ARGS - IID_
ICORE_ WEB_ VIEW2_ FRAME_ CREATED_ EVENT_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ FRAME_ DESTROYED_ EVENT_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ FRAME_ INFO - IID_
ICORE_ WEB_ VIEW2_ FRAME_ INFO_ COLLECTION - IID_
ICORE_ WEB_ VIEW2_ FRAME_ INFO_ COLLECTION_ ITERATOR - IID_
ICORE_ WEB_ VIEW2_ FRAME_ NAME_ CHANGED_ EVENT_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ GET_ COOKIES_ COMPLETED_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ HISTORY_ CHANGED_ EVENT_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ HTTP_ HEADERS_ COLLECTION_ ITERATOR - IID_
ICORE_ WEB_ VIEW2_ HTTP_ REQUEST_ HEADERS - IID_
ICORE_ WEB_ VIEW2_ HTTP_ RESPONSE_ HEADERS - IID_
ICORE_ WEB_ VIEW2_ INTEROP - IID_
ICORE_ WEB_ VIEW2_ MOVE_ FOCUS_ REQUESTED_ EVENT_ ARGS - IID_
ICORE_ WEB_ VIEW2_ MOVE_ FOCUS_ REQUESTED_ EVENT_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ NAVIGATION_ COMPLETED_ EVENT_ ARGS - IID_
ICORE_ WEB_ VIEW2_ NAVIGATION_ COMPLETED_ EVENT_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ NAVIGATION_ STARTING_ EVENT_ ARGS - IID_
ICORE_ WEB_ VIEW2_ NAVIGATION_ STARTING_ EVENT_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ NEW_ BROWSER_ VERSION_ AVAILABLE_ EVENT_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ NEW_ WINDOW_ REQUESTED_ EVENT_ ARGS - IID_
ICORE_ WEB_ VIEW2_ NEW_ WINDOW_ REQUESTED_ EVENT_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ PERMISSION_ REQUESTED_ EVENT_ ARGS - IID_
ICORE_ WEB_ VIEW2_ PERMISSION_ REQUESTED_ EVENT_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ POINTER_ INFO - IID_
ICORE_ WEB_ VIEW2_ PROCESS_ FAILED_ EVENT_ ARGS - IID_
ICORE_ WEB_ VIEW2_ PROCESS_ FAILED_ EVENT_ ARGS2 - IID_
ICORE_ WEB_ VIEW2_ PROCESS_ FAILED_ EVENT_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ RASTERIZATION_ SCALE_ CHANGED_ EVENT_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ SCRIPT_ DIALOG_ OPENING_ EVENT_ ARGS - IID_
ICORE_ WEB_ VIEW2_ SCRIPT_ DIALOG_ OPENING_ EVENT_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ SETTINGS - IID_
ICORE_ WEB_ VIEW2_ SETTING S2 - IID_
ICORE_ WEB_ VIEW2_ SETTING S3 - IID_
ICORE_ WEB_ VIEW2_ SETTING S4 - IID_
ICORE_ WEB_ VIEW2_ SETTING S5 - IID_
ICORE_ WEB_ VIEW2_ SOURCE_ CHANGED_ EVENT_ ARGS - IID_
ICORE_ WEB_ VIEW2_ SOURCE_ CHANGED_ EVENT_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ STATE_ CHANGED_ EVENT_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ STRING_ COLLECTION - IID_
ICORE_ WEB_ VIEW2_ TRY_ SUSPEND_ COMPLETED_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ WEB_ MESSAGE_ RECEIVED_ EVENT_ ARGS - IID_
ICORE_ WEB_ VIEW2_ WEB_ MESSAGE_ RECEIVED_ EVENT_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ WEB_ RESOURCE_ REQUEST - IID_
ICORE_ WEB_ VIEW2_ WEB_ RESOURCE_ REQUESTED_ EVENT_ ARGS - IID_
ICORE_ WEB_ VIEW2_ WEB_ RESOURCE_ REQUESTED_ EVENT_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ WEB_ RESOURCE_ RESPONSE - IID_
ICORE_ WEB_ VIEW2_ WEB_ RESOURCE_ RESPONSE_ RECEIVED_ EVENT_ ARGS - IID_
ICORE_ WEB_ VIEW2_ WEB_ RESOURCE_ RESPONSE_ RECEIVED_ EVENT_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ WEB_ RESOURCE_ RESPONSE_ VIEW - IID_
ICORE_ WEB_ VIEW2_ WEB_ RESOURCE_ RESPONSE_ VIEW_ GET_ CONTENT_ COMPLETED_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ WINDOW_ CLOSE_ REQUESTED_ EVENT_ HANDLER - IID_
ICORE_ WEB_ VIEW2_ WINDOW_ FEATURES - IID_
ICORE_ WEB_ VIEW2_ ZOOM_ FACTOR_ CHANGED_ EVENT_ HANDLER - IID_
ISEQUENTIAL_ STREAM - IID_
ISTREAM
Traits§
- ICore
WebView2 - WebView2 enables you to host web content using the latest Microsoft Edge browser and web technology.
- ICore
WebView2 Accelerator KeyPressed Event Args - Event args for the
AcceleratorKeyPressed
event. - ICore
WebView2 Accelerator KeyPressed Event Handler - Receives
AcceleratorKeyPressed
events. - ICore
WebView2 AddScript ToExecute OnDocument Created Completed Handler - Receives the result of the
AddScriptToExecuteOnDocumentCreated
method. - ICore
WebView2 Bytes Received Changed Event Handler - Implements the interface to receive
BytesReceivedChanged
event. Use theICoreWebView2DownloadOperation.BytesReceived
property to get the received bytes count. - ICore
WebView2 Call DevTools Protocol Method Completed Handler - Receives
CallDevToolsProtocolMethod
completion results. - ICore
WebView2 Capture Preview Completed Handler - Receives the result of the
CapturePreview
method. The result is written to the stream provided in theCapturePreview
method. - ICore
WebView2 Client Certificate - Provides access to the certificate metadata
- ICore
WebView2 Client Certificate Collection - A collection of client certificate object.
- ICore
WebView2 Client Certificate Requested Event Args - Event args for the
ClientCertificateRequested
event. - ICore
WebView2 Client Certificate Requested Event Handler - An event handler for the
ClientCertificateRequested
event. - ICore
WebView2 Composition Controller - This interface is an extension of the ICoreWebView2Controller interface to support visual hosting. An object implementing the ICoreWebView2CompositionController interface will also implement ICoreWebView2Controller. Callers are expected to use ICoreWebView2Controller for resizing, visibility, focus, and so on, and then use ICoreWebView2CompositionController to connect to a composition tree and provide input meant for the WebView.
- ICore
WebView2 Composition Controller2 - A continuation of the ICoreWebView2CompositionController interface.
- ICore
WebView2 Composition Controller Interop - This is the ICoreWebView2CompositionControllerInterop interface. Interop interface for the CoreWebView2CompositionController WinRT object to allow WinRT end developers to be able to use the COM interfaces as parameters for some methods.
- ICore
WebView2 Contains Full Screen Element Changed Event Handler - Receives
ContainsFullScreenElementChanged
events. - ICore
WebView2 Content Loading Event Args - Event args for the
ContentLoading
event. - ICore
WebView2 Content Loading Event Handler - Receives
ContentLoading
events. - ICore
WebView2 Controller - The owner of the
CoreWebView2
object that provides support for resizing, showing and hiding, focusing, and other functionality related to windowing and composition. TheCoreWebView2Controller
owns theCoreWebView2
, and if all references to theCoreWebView2Controller
go away, the WebView is closed. - ICore
WebView2 Controller2 - A continuation of the ICoreWebView2Controller interface.
- ICore
WebView2 Controller3 - A continuation of the ICoreWebView2Controller2 interface.
- ICore
WebView2 Cookie - Provides a set of properties that are used to manage an ICoreWebView2Cookie.
- ICore
WebView2 Cookie List - A list of cookie objects. See
ICoreWebView2Cookie
. \snippet ScenarioCookieManagement.cpp GetCookies - ICore
WebView2 Cookie Manager - Creates, adds or updates, gets, or or view the cookies. The changes would apply to the context of the user profile. That is, other WebViews under the same user profile could be affected.
- ICore
WebView2 Create Core WebView2 Composition Controller Completed Handler - The caller implements this interface to receive the CoreWebView2Controller created via CreateCoreWebView2CompositionController.
- ICore
WebView2 Create Core WebView2 Controller Completed Handler - Receives the
CoreWebView2Controller
created usingCreateCoreWebView2Controller
. - ICore
WebView2 Create Core WebView2 Environment Completed Handler - Receives the
WebView2Environment
created usingCreateCoreWebView2Environment
. - ICore
WebView2 Cursor Changed Event Handler - The caller implements this interface to receive CursorChanged events. Use the Cursor property to get the new cursor.
- ICore
WebView2DOM Content Loaded Event Args - Event args for the DOMContentLoaded event.
- ICore
WebView2DOM Content Loaded Event Handler - Receives
DOMContentLoaded
events. - ICore
WebView2 Deferral - This interface is used to complete deferrals on event args that support
getting deferrals using the
GetDeferral
method. - ICore
WebView2 DevTools Protocol Event Received Event Args - Event args for the
DevToolsProtocolEventReceived
event. - ICore
WebView2 DevTools Protocol Event Received Event Handler - Receives
DevToolsProtocolEventReceived
events from the WebView. - ICore
WebView2 DevTools Protocol Event Receiver - A Receiver is created for a particular DevTools Protocol event and allows
you to subscribe and unsubscribe from that event. Obtained from the
WebView object using
GetDevToolsProtocolEventReceiver
. - ICore
WebView2 Document Title Changed Event Handler - Receives
DocumentTitleChanged
events. Use theDocumentTitle
property to get the modified title. - ICore
WebView2 Download Operation - Represents a download operation. Gives access to the download’s metadata and supports a user canceling, pausing, or resuming the download.
- ICore
WebView2 Download Starting Event Args - Event args for the
DownloadStarting
event. - ICore
WebView2 Download Starting Event Handler - Add an event handler for the
DownloadStarting
event. - ICore
WebView2 Environment - Represents the WebView2 Environment. WebViews created from an environment run on the browser process specified with environment parameters and objects created from an environment should be used in the same environment. Using it in different environments are not guaranteed to be compatible and may fail.
- ICore
WebView2 Environment2 - A continuation of the ICoreWebView2Environment interface.
- ICore
WebView2 Environment3 - A continuation of the ICoreWebView2Environment2 interface.
- ICore
WebView2 Environment4 - A continuation of the ICoreWebView2Environment3 interface.
- ICore
WebView2 Environment Interop - This is the ICoreWebView2EnvironmentInterop interface. Interop interface for the CoreWebView2Environment WinRT object to allow WinRT end developers to be able to use COM interfaces as parameters for some methods.
- ICore
WebView2 Environment Options - Options used to create WebView2 Environment. A default implementation is
provided in
WebView2EnvironmentOptions.h
. - ICore
WebView2 Estimated EndTime Changed Event Handler - Implements the interface to receive
EstimatedEndTimeChanged
event. Use theICoreWebView2DownloadOperation.EstimatedEndTime
property to get the new estimated end time. - ICore
WebView2 Execute Script Completed Handler - Receives the result of the
ExecuteScript
method. - ICore
WebView2 Focus Changed Event Handler - Receives
GotFocus
andLostFocus
events. - ICore
WebView2 Frame - WebView2Frame provides direct access to the iframes information.
- ICore
WebView2 Frame Created Event Args - Event args for the
FrameCreated
events. - ICore
WebView2 Frame Created Event Handler - Receives
FrameCreated
event. - ICore
WebView2 Frame Destroyed Event Handler - Receives
FrameDestroyed
event. - ICore
WebView2 Frame Info - Provides a set of properties for a frame in the
ICoreWebView2
. - ICore
WebView2 Frame Info Collection - Collection of
FrameInfo
s (name and source). Used to list the affected frames’ info when a frame-only render process failure occurs in theICoreWebView2
. - ICore
WebView2 Frame Info Collection Iterator - Iterator for a collection of
FrameInfo
s. For more info, seeICoreWebView2ProcessFailedEventArgs2
andICoreWebView2FrameInfoCollection
. - ICore
WebView2 Frame Name Changed Event Handler - Receives
FrameNameChanged
event. - ICore
WebView2 GetCookies Completed Handler - Receives the result of the
GetCookies
method. The result is written to the cookie list provided in theGetCookies
method call. - ICore
WebView2 History Changed Event Handler - Receives
HistoryChanged
events. - ICore
WebView2 Http Headers Collection Iterator - Iterator for a collection of HTTP headers. For more information, navigate to ICoreWebView2HttpRequestHeaders and ICoreWebView2HttpResponseHeaders.
- ICore
WebView2 Http Request Headers - HTTP request headers. Used to inspect the HTTP request on
WebResourceRequested
event andNavigationStarting
event. - ICore
WebView2 Http Response Headers - HTTP response headers. Used to construct a
WebResourceResponse
for theWebResourceRequested
event. - ICore
WebView2 Interop - This is the ICoreWebView2Interop interface. Interop interface for the CoreWebView2 WinRT object to allow WinRT end developers to be able to use COM interfaces as parameters for some methods.
- ICore
WebView2 Move Focus Requested Event Args - Event args for the
MoveFocusRequested
event. - ICore
WebView2 Move Focus Requested Event Handler - Receives
MoveFocusRequested
events. - ICore
WebView2 Navigation Completed Event Args - Event args for the
NavigationCompleted
event. - ICore
WebView2 Navigation Completed Event Handler - Receives
NavigationCompleted
events. - ICore
WebView2 Navigation Starting Event Args - Event args for the
NavigationStarting
event. - ICore
WebView2 Navigation Starting Event Handler - Receives
NavigationStarting
events. - ICore
WebView2 NewBrowser Version Available Event Handler - Receives
NewBrowserVersionAvailable
events. - ICore
WebView2 NewWindow Requested Event Args - Event args for the
NewWindowRequested
event. The event is run when content inside webview requested to a open a new window (throughwindow.open()
and so on). - ICore
WebView2 NewWindow Requested Event Handler - Receives
NewWindowRequested
events. - ICore
WebView2 Permission Requested Event Args - Event args for the
PermissionRequested
event. - ICore
WebView2 Permission Requested Event Handler - Receives
PermissionRequested
events. - ICore
WebView2 Pointer Info - This mostly represents a combined win32 POINTER_INFO/POINTER_TOUCH_INFO/POINTER_PEN_INFO object. It takes fields from all three and excludes some win32 specific data types like HWND and HANDLE. Note, sourceDevice is taken out but we expect the PointerDeviceRect and DisplayRect to cover the existing use cases of sourceDevice. Another big difference is that any of the point or rect locations are expected to be in WebView physical coordinates. That is, coordinates relative to the WebView and no DPI scaling applied.
- ICore
WebView2 Process Failed Event Args - Event args for the
ProcessFailed
event. - ICore
WebView2 Process Failed Event Args2 - A continuation of the ICoreWebView2ProcessFailedEventArgs interface.
- ICore
WebView2 Process Failed Event Handler - Receives
ProcessFailed
events. - ICore
WebView2 Rasterization Scale Changed Event Handler - Receives
RasterizationScaleChanged
events. Use theRasterizationScale
property to get the modified scale. - ICore
WebView2 Script Dialog Opening Event Args - Event args for the
ScriptDialogOpening
event. - ICore
WebView2 Script Dialog Opening Event Handler - Receives
ScriptDialogOpening
events. - ICore
WebView2 Settings - Defines properties that enable, disable, or modify WebView features.
Setting changes made after
NavigationStarting
event does not apply until the next top-level navigation. - ICore
WebView2 Settings2 - A continuation of the ICoreWebView2Settings interface that manages the user agent.
- ICore
WebView2 Settings3 - A continuation of the ICoreWebView2Settings interface that manages whether browser accelerator keys are enabled.
- ICore
WebView2 Settings4 - A continuation of the ICoreWebView2Settings interface to manage autofill.
- ICore
WebView2 Settings5 - A continuation of the ICoreWebView2Settings interface to manage pinch zoom.
- ICore
WebView2 Source Changed Event Args - Event args for the
SourceChanged
event. - ICore
WebView2 Source Changed Event Handler - Receives
SourceChanged
events. - ICore
WebView2 State Changed Event Handler - Implements the interface to receive
StateChanged
event. Use theICoreWebView2DownloadOperation.State
property to get the current state, which can be in progress, interrupted, or completed. Use theICoreWebView2DownloadOperation.InterruptReason
property to get the interrupt reason if the download is interrupted. - ICore
WebView2 String Collection - A collection of strings.
- ICore
WebView2 TrySuspend Completed Handler - The caller implements this interface to receive the TrySuspend result.
- ICore
WebView2 WebMessage Received Event Args - Event args for the
WebMessageReceived
event. - ICore
WebView2 WebMessage Received Event Handler - Receives
WebMessageReceived
events. - ICore
WebView2 WebResource Request - An HTTP request used with the
WebResourceRequested
event. - ICore
WebView2 WebResource Requested Event Args - Event args for the
WebResourceRequested
event. - ICore
WebView2 WebResource Requested Event Handler - Runs when a URL request (through network, file, and so on) is made in
the webview for a Web resource matching resource context filter and URL
specified in
AddWebResourceRequestedFilter
. The host views and modifies the request or provide a response in a similar pattern to HTTP, in which case the request immediately completed. This may not contain any request headers that are added by the network stack, such as anAuthorization
header. - ICore
WebView2 WebResource Response - An HTTP response used with the
WebResourceRequested
event. - ICore
WebView2 WebResource Response Received Event Args - Event args for the WebResourceResponseReceived event.
- ICore
WebView2 WebResource Response Received Event Handler - Receives
WebResourceResponseReceived
events. - ICore
WebView2 WebResource Response View - View of the HTTP representation for a web resource response. The properties of this object are not mutable. This response view is used with the WebResourceResponseReceived event.
- ICore
WebView2 WebResource Response View GetContent Completed Handler - Receives the result of the
ICoreWebView2WebResourceResponseView::GetContent
method. - ICore
WebView2 Window Close Requested Event Handler - Receives
WindowCloseRequested
events. - ICore
WebView2 Window Features - The window features for a WebView popup window. The fields match the
windowFeatures
passed towindow.open
as specified in [Window features][MdnDocsWebApiWindowOpenWindowFeatures] on MDN. There is no requirement for you to respect the values. If your app does not have corresponding UI features (for example, no toolbar) or if all instance of WebView are opened in tabs and do not have distinct size or positions, then your app does not respect the values. You may want to respect values, but perhaps only some apply to the UI of you app. Accordingly, you may respect all, some, or none of the properties as appropriate for your app. For all numeric properties, if the value that is passed towindow.open
is outside the range of an unsigned 32bit int, the resulting value is the absolute value of the maximum for unsigned 32bit integer. If you are not able to parse the value an integer, it is considered0
. If the value is a floating point value, it is rounded down to an integer. - ICore
WebView2 Zoom Factor Changed Event Handler - Implements the interface to receive
ZoomFactorChanged
events. Use theICoreWebView2Controller.ZoomFactor
property to get the modified zoom factor. - ICore
WebView2_ 2 - A continuation of the ICoreWebView2 interface.
- ICore
WebView2_ 3 - A continuation of the ICoreWebView2_2 interface.
- ICore
WebView2_ 4 - A continuation of the ICoreWebView2_3 interface to support FrameCreated and DownloadStarting events.
- ICore
WebView2_ 5 - A continuation of the ICoreWebView2_4 interface to support ClientCertificateRequested event.
- ISequential
Stream - IStream
Functions§
- Compare
Browser ⚠Versions - Create
Core ⚠WebView2 Environment With Options - GetAvailable
Core ⚠WebView2 Browser Version String
Type Aliases§
- ICore
WebView2 Accelerator KeyPressed Event ArgsV Ptr - ICore
WebView2 Accelerator KeyPressed Event HandlerV Ptr - ICore
WebView2 AddScript ToExecute OnDocument Created Completed HandlerV Ptr - ICore
WebView2 Bytes Received Changed Event HandlerV Ptr - ICore
WebView2 Call DevTools Protocol Method Completed HandlerV Ptr - ICore
WebView2 Capture Preview Completed HandlerV Ptr - ICore
WebView2 Client Certificate CollectionV Ptr - ICore
WebView2 Client Certificate Requested Event ArgsV Ptr - ICore
WebView2 Client Certificate Requested Event HandlerV Ptr - ICore
WebView2 Client CertificateV Ptr - ICore
WebView2 Composition Controller2V Ptr - ICore
WebView2 Composition Controller InteropV Ptr - ICore
WebView2 Composition ControllerV Ptr - ICore
WebView2 Contains Full Screen Element Changed Event HandlerV Ptr - ICore
WebView2 Content Loading Event ArgsV Ptr - ICore
WebView2 Content Loading Event HandlerV Ptr - ICore
WebView2 Controller2V Ptr - ICore
WebView2 Controller3V Ptr - ICore
WebView2 ControllerV Ptr - ICore
WebView2 Cookie ListV Ptr - ICore
WebView2 Cookie ManagerV Ptr - ICore
WebView2 CookieV Ptr - ICore
WebView2 Create Core WebView2 Composition Controller Completed HandlerV Ptr - ICore
WebView2 Create Core WebView2 Controller Completed HandlerV Ptr - ICore
WebView2 Create Core WebView2 Environment Completed HandlerV Ptr - ICore
WebView2 Cursor Changed Event HandlerV Ptr - ICore
WebView2DOM Content Loaded Event ArgsV Ptr - ICore
WebView2DOM Content Loaded Event HandlerV Ptr - ICore
WebView2 DeferralV Ptr - ICore
WebView2 DevTools Protocol Event Received Event ArgsV Ptr - ICore
WebView2 DevTools Protocol Event Received Event HandlerV Ptr - ICore
WebView2 DevTools Protocol Event ReceiverV Ptr - ICore
WebView2 Document Title Changed Event HandlerV Ptr - ICore
WebView2 Download OperationV Ptr - ICore
WebView2 Download Starting Event ArgsV Ptr - ICore
WebView2 Download Starting Event HandlerV Ptr - ICore
WebView2 Environment2V Ptr - ICore
WebView2 Environment3V Ptr - ICore
WebView2 Environment4V Ptr - ICore
WebView2 Environment InteropV Ptr - ICore
WebView2 Environment OptionsV Ptr - ICore
WebView2 EnvironmentV Ptr - ICore
WebView2 Estimated EndTime Changed Event HandlerV Ptr - ICore
WebView2 Execute Script Completed HandlerV Ptr - ICore
WebView2 Focus Changed Event HandlerV Ptr - ICore
WebView2 Frame Created Event ArgsV Ptr - ICore
WebView2 Frame Created Event HandlerV Ptr - ICore
WebView2 Frame Destroyed Event HandlerV Ptr - ICore
WebView2 Frame Info Collection IteratorV Ptr - ICore
WebView2 Frame Info CollectionV Ptr - ICore
WebView2 Frame InfoV Ptr - ICore
WebView2 Frame Name Changed Event HandlerV Ptr - ICore
WebView2 FrameV Ptr - ICore
WebView2 GetCookies Completed HandlerV Ptr - ICore
WebView2 History Changed Event HandlerV Ptr - ICore
WebView2 Http Headers Collection IteratorV Ptr - ICore
WebView2 Http Request HeadersV Ptr - ICore
WebView2 Http Response HeadersV Ptr - ICore
WebView2 InteropV Ptr - ICore
WebView2 Move Focus Requested Event ArgsV Ptr - ICore
WebView2 Move Focus Requested Event HandlerV Ptr - ICore
WebView2 Navigation Completed Event ArgsV Ptr - ICore
WebView2 Navigation Completed Event HandlerV Ptr - ICore
WebView2 Navigation Starting Event ArgsV Ptr - ICore
WebView2 Navigation Starting Event HandlerV Ptr - ICore
WebView2 NewBrowser Version Available Event HandlerV Ptr - ICore
WebView2 NewWindow Requested Event ArgsV Ptr - ICore
WebView2 NewWindow Requested Event HandlerV Ptr - ICore
WebView2 Permission Requested Event ArgsV Ptr - ICore
WebView2 Permission Requested Event HandlerV Ptr - ICore
WebView2 Pointer InfoV Ptr - ICore
WebView2 Process Failed Event Args2V Ptr - ICore
WebView2 Process Failed Event ArgsV Ptr - ICore
WebView2 Process Failed Event HandlerV Ptr - ICore
WebView2 Rasterization Scale Changed Event HandlerV Ptr - ICore
WebView2 Script Dialog Opening Event ArgsV Ptr - ICore
WebView2 Script Dialog Opening Event HandlerV Ptr - ICore
WebView2 Settings2V Ptr - ICore
WebView2 Settings3V Ptr - ICore
WebView2 Settings4V Ptr - ICore
WebView2 Settings5V Ptr - ICore
WebView2 SettingsV Ptr - ICore
WebView2 Source Changed Event ArgsV Ptr - ICore
WebView2 Source Changed Event HandlerV Ptr - ICore
WebView2 State Changed Event HandlerV Ptr - ICore
WebView2 String CollectionV Ptr - ICore
WebView2 TrySuspend Completed HandlerV Ptr - ICore
WebView2V Ptr - ICore
WebView2 WebMessage Received Event ArgsV Ptr - ICore
WebView2 WebMessage Received Event HandlerV Ptr - ICore
WebView2 WebResource RequestV Ptr - ICore
WebView2 WebResource Requested Event ArgsV Ptr - ICore
WebView2 WebResource Requested Event HandlerV Ptr - ICore
WebView2 WebResource Response Received Event ArgsV Ptr - ICore
WebView2 WebResource Response Received Event HandlerV Ptr - ICore
WebView2 WebResource ResponseV Ptr - ICore
WebView2 WebResource Response View GetContent Completed HandlerV Ptr - ICore
WebView2 WebResource Response ViewV Ptr - ICore
WebView2 Window Close Requested Event HandlerV Ptr - ICore
WebView2 Window FeaturesV Ptr - ICore
WebView2 Zoom Factor Changed Event HandlerV Ptr - ICore
WebView2_ 2VPtr - ICore
WebView2_ 3VPtr - ICore
WebView2_ 4VPtr - ICore
WebView2_ 5VPtr - ISequential
StreamV Ptr - IStreamV
Ptr