Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 2.01 KB

icorewebview2experimentalenvironmentoptions.md

File metadata and controls

50 lines (32 loc) · 2.01 KB
description title ms.date keywords
This is the ICoreWebView2ExperimentalEnvironmentOptions interface.
WebView2 Win32 C++ ICoreWebView2ExperimentalEnvironmentOptions
09/06/2022
IWebView2, IWebView2WebView, webview2, webview, win32 apps, win32, edge, ICoreWebView2, ICoreWebView2Controller, browser control, edge html, ICoreWebView2ExperimentalEnvironmentOptions

interface ICoreWebView2ExperimentalEnvironmentOptions

[!INCLUDE deprecation-note]

[!INCLUDE prerelease-note]

interface ICoreWebView2ExperimentalEnvironmentOptions
  : public IUnknown

This is the ICoreWebView2ExperimentalEnvironmentOptions interface.

Summary

Members Descriptions
GetCustomSchemeRegistrations Array of custom scheme registrations.
SetCustomSchemeRegistrations Set the array of custom scheme registrations to be used.

Applies to

Product Introduced
WebView2 Win32 N/A
WebView2 Win32 Prerelease 0.9.579

Members

GetCustomSchemeRegistrations

Array of custom scheme registrations.

public HRESULT GetCustomSchemeRegistrations(UINT32 * count, ICoreWebView2ExperimentalCustomSchemeRegistration *** schemeRegistrations)

The returned ICoreWebView2CustomSchemeRegistration pointers must be released, and the array itself must be deallocated with CoTaskMemFree.

SetCustomSchemeRegistrations

Set the array of custom scheme registrations to be used.

public HRESULT SetCustomSchemeRegistrations(UINT32 count, ICoreWebView2ExperimentalCustomSchemeRegistration ** schemeRegistrations)