WebView2Utilities
WebView2Utilities copied to clipboard
New method of finding parent/child doesn't work for UWP apps
The HWND walking is using EnumWindows which doesn't work for UWP apps and so those aren't included. According to stackoverflow links, FindWindowEx does work for UWP app windows.
In addition, WebView2 attaches to the CoreWindow not a child HWND and so we also need to check for that class name.