ICoreWebView2Environment4.GetAutomationProviderForWindow

Returns the Automation Provider for the WebView that matches the provided window. Host apps are expected to implement IRawElementProviderHwndOverride. When GetOverrideProviderForHwnd is called, the app can pass the HWND to GetAutomationProviderForWindow to find the matching WebView Automation Provider.

interface ICoreWebView2Environment4
HRESULT
GetAutomationProviderForWindow
(
in HWND hwnd
,
IUnknown* provider
)

Meta