Module: wine Branch: master Commit: 41736eb5542561a3db3af639a18c27775e8ce19c URL: https://gitlab.winehq.org/wine/wine/-/commit/41736eb5542561a3db3af639a18c277...
Author: Connor McAdams cmcadams@codeweavers.com Date: Sun Oct 30 14:39:57 2022 -0400
uiautomationcore: Add UiaEventRemoveWindow 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 cc77d8ab8a4..f7b3536802f 100644 --- a/dlls/uiautomationcore/uia_client.c +++ b/dlls/uiautomationcore/uia_client.c @@ -3031,3 +3031,12 @@ HRESULT WINAPI UiaEventAddWindow(HUIAEVENT huiaevent, HWND hwnd) FIXME("(%p, %p): stub\n", huiaevent, hwnd); return E_NOTIMPL; } + +/*********************************************************************** + * UiaEventRemoveWindow (uiautomationcore.@) + */ +HRESULT WINAPI UiaEventRemoveWindow(HUIAEVENT huiaevent, HWND hwnd) +{ + FIXME("(%p, %p): stub\n", huiaevent, hwnd); + return E_NOTIMPL; +} diff --git a/dlls/uiautomationcore/uiautomationcore.spec b/dlls/uiautomationcore/uiautomationcore.spec index 1df5dfda851..63df49980fc 100644 --- a/dlls/uiautomationcore/uiautomationcore.spec +++ b/dlls/uiautomationcore/uiautomationcore.spec @@ -58,7 +58,7 @@ #@ stub UiaDisconnectAllProviders @ stdcall UiaDisconnectProvider(ptr) @ stdcall UiaEventAddWindow(ptr long) -@ stub UiaEventRemoveWindow +@ stdcall UiaEventRemoveWindow(ptr long) @ stdcall UiaFind(ptr ptr ptr ptr ptr ptr) @ stub UiaGetErrorDescription @ stub UiaGetPatternProvider diff --git a/include/uiautomationcoreapi.h b/include/uiautomationcoreapi.h index f5adb29393b..9902a6d68e4 100644 --- a/include/uiautomationcoreapi.h +++ b/include/uiautomationcoreapi.h @@ -420,6 +420,7 @@ HRESULT WINAPI UiaFind(HUIANODE huianode, struct UiaFindParams *find_params, str SAFEARRAY **out_offsets, SAFEARRAY **out_tree_structs); HRESULT WINAPI UiaRemoveEvent(HUIAEVENT huiaevent); HRESULT WINAPI UiaEventAddWindow(HUIAEVENT huiaevent, HWND hwnd); +HRESULT WINAPI UiaEventRemoveWindow(HUIAEVENT huiaevent, HWND hwnd);
#ifdef __cplusplus }