interface ICoreWebView2Environment4

Note

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

interface ICoreWebView2Environment4
  : public ICoreWebView2Environment3

A continuation of the ICoreWebView2Environment3 interface.

Summary

Members Descriptions
GetProviderForHwnd Returns the UI Automation Provider for the ICoreWebView2CompositionController that corresponds with the given HWND.

Applies to

Product Introduced
WebView2 Win32 1.0.774.44
WebView2 Win32 Prerelease 1.0.824

Members

GetProviderForHwnd

Returns the UI Automation Provider for the ICoreWebView2CompositionController that corresponds with the given HWND.

public HRESULT GetProviderForHwnd(HWND hwnd, IUnknown ** provider)