26 Sep
2022
26 Sep
'22
2:15 p.m.
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.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/908#note_9266