PackageDescription: WebView2-COM-InterfaceImplementations-Generated


Web View 2 - COM - Interface Implementations - Generated

Last published: September 15, 2023 by 'thomasb'

Defines 58 Classes
Extends 58 Classes


This package contains the COM Wrapper classes needed to handle WebView2 using the interfaces it provides.
For the intentions and usage of these classes see the COM Connect Guide of the VisualWorks documentation.

These classes are mainly
- COMInterfacePointer classes for callout named IWebView2*Pointer,
- COMInterfaceImplementation classes for callbacks like the WebView2 delegates named IWebView2*Implementation,
- COMInterface classes as the Interface of the two mentioned before, named IWebView2*, like the WebView2 Interface with an additional leading I

Most of the classes are generated by the tools from the WebView2-COM-Tools package. Sometimes it is still necessary to correct code by hand, so be careful to not overwrite adjusted behaviour with generated methods.

For WebView2 initialization and reaction to bounds events, extension methods in the OSSystemSupport are implemented to move native windows by their handles.

The classes are generated from webview2.h through class WebView2ToolsApplication.