11 Oct
2023
11 Oct
'23
6:21 p.m.
Esme Povirk (@madewokherd) commented about dlls/uiautomationcore/uia_client.c:
return FALSE; }
+void set_nested_node_prov_return_node_lres(IWineUiaProvider *nested_prov, BOOL return_node_lres) +{ + struct uia_nested_node_provider *prov; + + assert(is_nested_node_provider(nested_prov)); + + prov = impl_from_nested_node_IWineUiaProvider(nested_prov); + prov->return_node_lres = return_node_lres; +}
I don't really understand why this is state. Given that (at least so far) it only seems to bracket calls returning a variant, would it make more sense to pass it through to them as an argument? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4077#note_48380