CoreWebView2Environment.GetProviderForHwnd(IntPtr) Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Returns the UI Automation Provider for the CoreWebView2CompositionController that corresponds with the given hwnd.

C#
public object GetProviderForHwnd (IntPtr hwnd);

Parameters

hwnd
IntPtr

The HWND associated with the UI Automation Provider

Returns

Applies to

Product Versions
WebView2 .NET Prerelease 0.9.628, 1.0.674, 1.0.721, 1.0.790