interface ICoreWebView2ExperimentalEnvironmentOptions
Note
This an experimental API that is shipped with our prerelease SDK. See WebView2 release notes.
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)