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
.
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