interface ICoreWebView2BrowserExtensionEnableCompletedHandler

Note

This reference is no longer being maintained. For the latest API reference, see WebView2 API Reference.

interface ICoreWebView2BrowserExtensionEnableCompletedHandler
  : public IUnknown

The caller implements this interface to receive the result of setting the browser Extension as enabled or disabled.

Summary

Members Descriptions
Invoke Provides the result of the browser extension enable operation.

If enabled, the browser Extension is running in WebView instances. If disabled, the browser Extension is not running in WebView instances.

Applies to

Product Introduced
WebView2 Win32 N/A
WebView2 Win32 Prerelease 1.0.2194

Members

Invoke

Provides the result of the browser extension enable operation.

public HRESULT Invoke(HRESULT errorCode)