On Sat Sep 24 20:32:39 2022 +0000, Esme Povirk wrote:
Is it safe to make the assumption that the IWineUiaNode object belongs to the current process in this case? I guess it'd be really weird to forward WM_GETOBJECT for UiaRootObjectId to some other process, but is there any reason you couldn't ?
Just tried it, the scenario you're describing doesn't work on Windows. It just returns `E_FAIL`. I used `unsafe_impl_from_IWineUiaNode` here just as an extra precaution, I guess I could also add a NULL check if you think it's an important thing to check for.