21 Mar
2023
21 Mar
'23
4:22 p.m.
Esme Povirk (@madewokherd) commented about dlls/uiautomationcore/tests/uiautomation.c:
+{ + IUIAutomationElement *element; + HRESULT hr; + VARIANT v; + + hr = IUIAutomation_GetRootElement(uia_iface, NULL); + ok(hr == E_POINTER, "Unexpected hr %#lx.\n", hr); + + UiaRegisterProviderCallback(test_uia_provider_callback); + + /* NULL input argument. */ + hr = IUIAutomation_GetRootElement(uia_iface, NULL); + ok(hr == E_POINTER, "Unexpected hr %#lx.\n", hr); + + /* + * UiaGetRootNode is the same as calling UiaNodeFromHandle with the UiaGetRootNode isn't called by this test.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/2458#note_27424