The OpenD Programming Language

ICoreWebView2Environment11

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

Members

Functions

get_FailureReportFolderPath
HRESULT get_FailureReportFolderPath(LPWSTR* value)

FailureReportFolderPath returns the path of the folder where minidump files are written. Whenever a WebView2 process crashes, a crash dump file will be created in the crash dump folder. The crash dump format is minidump files. Please see Minidump Files documentation for detailed information. Normally when a single child process fails, a minidump will be generated and written to disk, then the ProcessFailed event is raised. But for unexpected crashes, a minidump file might not be generated at all, despite whether ProcessFailed event is raised. If there are multiple process failures at once, multiple minidump files could be generated. Thus FailureReportFolderPath could contain old minidump files that are not associated with a specific ProcessFailed event. \snippet AppWindow.cpp GetFailureReportFolder

Inherited Members

From ICoreWebView2Environment10

CreateCoreWebView2ControllerOptions
HRESULT CreateCoreWebView2ControllerOptions(ICoreWebView2ControllerOptions* options)

Create a new ICoreWebView2ControllerOptions to be passed as a parameter of CreateCoreWebView2ControllerWithOptions and CreateCoreWebView2CompositionControllerWithOptions. The 'options' is settable and in it the default value for profile name is the empty string, and the default value for IsInPrivateModeEnabled is false. Also the profile name can be reused.

CreateCoreWebView2ControllerWithOptions
HRESULT CreateCoreWebView2ControllerWithOptions(HWND parentWindow, ICoreWebView2ControllerOptions options, ICoreWebView2CreateCoreWebView2ControllerCompletedHandler handler)

Create a new WebView with options.

CreateCoreWebView2CompositionControllerWithOptions
HRESULT CreateCoreWebView2CompositionControllerWithOptions(HWND parentWindow, ICoreWebView2ControllerOptions options, ICoreWebView2CreateCoreWebView2CompositionControllerCompletedHandler handler)

Create a new WebView in visual hosting mode with options.

Meta