Commit d81256e7 authored by Connor McAdams's avatar Connor McAdams Committed by Alexandre Julliard

uiautomationcore: Return TRUE from UiaClientsAreListening().

This function always returns TRUE on Windows 7 and above, and now that we have stubs for all the event raising functions there should be no harm in doing the same. Signed-off-by: 's avatarConnor McAdams <cmcadams@codeweavers.com>
parent 0cbca47d
......@@ -18607,6 +18607,15 @@ static void test_uia_event_ProxyProviderWinEventHandler(void)
UiaRegisterProviderCallback(NULL);
}
static void test_UiaClientsAreListening(void)
{
BOOL ret;
/* Always returns TRUE on Windows 7 and above. */
ret = UiaClientsAreListening();
ok(!!ret, "ret != TRUE\n");
}
/*
* Once a process returns a UI Automation provider with
* UiaReturnRawElementProvider it ends up in an implicit MTA until exit. This
......@@ -18663,6 +18672,7 @@ START_TEST(uiautomation)
return;
}
test_UiaClientsAreListening();
test_UiaHostProviderFromHwnd();
test_uia_reserved_value_ifaces();
test_UiaLookupId();
......
......@@ -264,8 +264,8 @@ static const IRawElementProviderSimpleVtbl hwnd_host_provider_vtbl = {
*/
BOOL WINAPI UiaClientsAreListening(void)
{
FIXME("()\n");
return FALSE;
TRACE("()\n");
return TRUE;
}
/***********************************************************************
......
......@@ -559,6 +559,7 @@ HRESULT WINAPI UiaRemoveEvent(HUIAEVENT huiaevent);
HRESULT WINAPI UiaEventAddWindow(HUIAEVENT huiaevent, HWND hwnd);
HRESULT WINAPI UiaEventRemoveWindow(HUIAEVENT huiaevent, HWND hwnd);
BOOL WINAPI UiaHasServerSideProvider(HWND hwnd);
BOOL WINAPI UiaClientsAreListening(void);
#ifdef __cplusplus
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment