mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-30 05:53:45 +00:00
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: Connor McAdams <cmcadams@codeweavers.com>
This commit is contained in:
parent
0cbca47dae
commit
d81256e7b6
|
@ -18607,6 +18607,15 @@ static void test_uia_event_ProxyProviderWinEventHandler(void)
|
||||||
UiaRegisterProviderCallback(NULL);
|
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
|
* Once a process returns a UI Automation provider with
|
||||||
* UiaReturnRawElementProvider it ends up in an implicit MTA until exit. This
|
* UiaReturnRawElementProvider it ends up in an implicit MTA until exit. This
|
||||||
|
@ -18663,6 +18672,7 @@ START_TEST(uiautomation)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
test_UiaClientsAreListening();
|
||||||
test_UiaHostProviderFromHwnd();
|
test_UiaHostProviderFromHwnd();
|
||||||
test_uia_reserved_value_ifaces();
|
test_uia_reserved_value_ifaces();
|
||||||
test_UiaLookupId();
|
test_UiaLookupId();
|
||||||
|
|
|
@ -264,8 +264,8 @@ static const IRawElementProviderSimpleVtbl hwnd_host_provider_vtbl = {
|
||||||
*/
|
*/
|
||||||
BOOL WINAPI UiaClientsAreListening(void)
|
BOOL WINAPI UiaClientsAreListening(void)
|
||||||
{
|
{
|
||||||
FIXME("()\n");
|
TRACE("()\n");
|
||||||
return FALSE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
|
|
|
@ -559,6 +559,7 @@ HRESULT WINAPI UiaRemoveEvent(HUIAEVENT huiaevent);
|
||||||
HRESULT WINAPI UiaEventAddWindow(HUIAEVENT huiaevent, HWND hwnd);
|
HRESULT WINAPI UiaEventAddWindow(HUIAEVENT huiaevent, HWND hwnd);
|
||||||
HRESULT WINAPI UiaEventRemoveWindow(HUIAEVENT huiaevent, HWND hwnd);
|
HRESULT WINAPI UiaEventRemoveWindow(HUIAEVENT huiaevent, HWND hwnd);
|
||||||
BOOL WINAPI UiaHasServerSideProvider(HWND hwnd);
|
BOOL WINAPI UiaHasServerSideProvider(HWND hwnd);
|
||||||
|
BOOL WINAPI UiaClientsAreListening(void);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue