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 |
---|---|
GetAutomationProviderForWindow | Returns the Automation Provider for the WebView that matches the provided window. |
Applies to
Product | Introduced |
---|---|
WebView2 Win32 | 1.0.774.44 |
WebView2 Win32 Prerelease | 1.0.824 |
Members
GetAutomationProviderForWindow
Returns the Automation Provider for the WebView that matches the provided window.
public HRESULT GetAutomationProviderForWindow(HWND hwnd, IUnknown ** provider)
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.
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈