[Port of a servicing fix for .NET 4.7-4.8]
Problem description:
Use .NET/WPF UIAutomation wrappers to search.
Actual behavior:
WPF doesn't recognize the "UIA_WindowVisibilityOverridden" window property, and doesn't control its search accordingly. A window whose rectangle is empty stops the search.
Expected behavior:
The search continues if the property is set to 1 (ForceVisible).
Minimal repro: