CoreWebView2Environment.GetProviderForHwnd(IntPtr) Method

Definition

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

public object GetProviderForHwnd (IntPtr hwnd);
member this.GetProviderForHwnd : nativeint -> obj
Public Function GetProviderForHwnd (hwnd As IntPtr) As Object

Parameters

hwnd
IntPtr

nativeint

The HWND associated with the UI Automation Provider

Returns

Applies to