ICoreWebView2Environment6

Undocumented in source.
version(Windows && inline_webview2_bindings && all)
interface ICoreWebView2Environment6 : ICoreWebView2Environment5 {
static const
GUID iid;
}

Members

Functions

CreatePrintSettings
HRESULT CreatePrintSettings(ICoreWebView2PrintSettings* printSettings)

Creates the ICoreWebView2PrintSettings used by the PrintToPdf method.

Inherited Members

From ICoreWebView2Environment5

add_BrowserProcessExited
HRESULT add_BrowserProcessExited(ICoreWebView2BrowserProcessExitedEventHandler eventHandler, EventRegistrationToken* token)

Add an event handler for the BrowserProcessExited event. The BrowserProcessExited event is raised when the collection of WebView2 Runtime processes for the browser process of this environment terminate due to browser process failure or normal shutdown (for example, when all associated WebViews are closed), after all resources have been released (including the user data folder). To learn about what these processes are, go to Process model.

remove_BrowserProcessExited
HRESULT remove_BrowserProcessExited(EventRegistrationToken token)

Remove an event handler previously added with add_BrowserProcessExited.

Meta