Module: wine Branch: master Commit: 12b2d34976bd5a7964393ddfeaed1e54e3438aa0 URL: https://gitlab.winehq.org/wine/wine/-/commit/12b2d34976bd5a7964393ddfeaed1e5...
Author: Connor McAdams cmcadams@codeweavers.com Date: Fri Jul 7 09:15:22 2023 -0400
uiautomationcore: Add UiaHasServerSideProvider stub.
Signed-off-by: Connor McAdams cmcadams@codeweavers.com
---
dlls/uiautomationcore/uia_client.c | 9 +++++++++ dlls/uiautomationcore/uiautomationcore.spec | 2 +- include/uiautomationcoreapi.h | 1 + 3 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/dlls/uiautomationcore/uia_client.c b/dlls/uiautomationcore/uia_client.c index 1bffb571586..85f29c0219c 100644 --- a/dlls/uiautomationcore/uia_client.c +++ b/dlls/uiautomationcore/uia_client.c @@ -2616,6 +2616,15 @@ HRESULT WINAPI UiaGetRootNode(HUIANODE *huianode) return UiaNodeFromHandle(GetDesktopWindow(), huianode); }
+/*********************************************************************** + * UiaHasServerSideProvider (uiautomationcore.@) + */ +BOOL WINAPI UiaHasServerSideProvider(HWND hwnd) +{ + FIXME("(%p): stub\n", hwnd); + return FALSE; +} + static HRESULT get_focused_uia_node(HUIANODE in_node, HUIANODE *out_node) { struct uia_node *node = unsafe_impl_from_IWineUiaNode((IWineUiaNode *)in_node); diff --git a/dlls/uiautomationcore/uiautomationcore.spec b/dlls/uiautomationcore/uiautomationcore.spec index 686594debba..69e1f0ba9f9 100644 --- a/dlls/uiautomationcore/uiautomationcore.spec +++ b/dlls/uiautomationcore/uiautomationcore.spec @@ -71,7 +71,7 @@ @ stub UiaHPatternObjectFromVariant @ stub UiaHTextRangeFromVariant @ stdcall UiaHUiaNodeFromVariant(ptr ptr) -@ stub UiaHasServerSideProvider +@ stdcall UiaHasServerSideProvider(long) @ stdcall UiaHostProviderFromHwnd(long ptr) #@ stub UiaIAccessibleFromProvider @ stdcall UiaLookupId(long ptr) diff --git a/include/uiautomationcoreapi.h b/include/uiautomationcoreapi.h index a9a3c75c13c..0fd942f3f37 100644 --- a/include/uiautomationcoreapi.h +++ b/include/uiautomationcoreapi.h @@ -558,6 +558,7 @@ HRESULT WINAPI UiaAddEvent(HUIANODE huianode, EVENTID event_id, UiaEventCallback HRESULT WINAPI UiaRemoveEvent(HUIAEVENT huiaevent); HRESULT WINAPI UiaEventAddWindow(HUIAEVENT huiaevent, HWND hwnd); HRESULT WINAPI UiaEventRemoveWindow(HUIAEVENT huiaevent, HWND hwnd); +BOOL WINAPI UiaHasServerSideProvider(HWND hwnd);
#ifdef __cplusplus }