On Wed Sep 14 14:31:22 2022 +0000, Esme Povirk wrote:
SendMessage blocks.
Hm... I think I can see a scenario where this is an issue. Maybe we should send WM_GETOBJECT from the thread calling UiaNodeFromHandle, and then pass the LRESULT if it's valid to the client thread to be unmarshaled. That'd also make the check for the HWND being valid with SendMessage less resource intensive