Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
interface ICoreWebView2EnvironmentInterop
: public IUnknown
Interop interface for the CoreWebView2Environment WinRT object to allow WinRT end developers to be able to use COM interfaces as parameters for some methods.
Summary
| Members | Descriptions |
|---|---|
| GetAutomationProviderForWindow | Returns the UI Automation Provider for the ICoreWebView2CompositionController that corresponds with the given HWND. |
This interface is implemented by the Microsoft.Web.WebView2.Core.CoreWebView2Environment runtime class.
Applies to
| Product | Introduced |
|---|---|
| WebView2 WinRT | 1.0.992.28 |
| WebView2 WinRT Prerelease | 1.0.955 |
Members
GetAutomationProviderForWindow
Returns the UI Automation Provider for the ICoreWebView2CompositionController that corresponds with the given HWND.
public HRESULT GetAutomationProviderForWindow(HWND hwnd, IUnknown ** provider)
See the documentation for ICoreWebView2Environment::GetAutomationProviderForWindow for more information.