From 922706bd1e7ac4da9d77bb5be7f7c395d3374ec1 Mon Sep 17 00:00:00 2001 From: Connor McAdams Date: Sun, 30 Oct 2022 14:33:46 -0400 Subject: [PATCH] uiautomationcore: Add UiaRemoveEvent stub. Signed-off-by: Connor McAdams --- 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 5e2026536d5..badbf8a1618 100644 --- a/dlls/uiautomationcore/uia_client.c +++ b/dlls/uiautomationcore/uia_client.c @@ -3013,3 +3013,12 @@ exit: return hr; } + +/*********************************************************************** + * UiaRemoveEvent (uiautomationcore.@) + */ +HRESULT WINAPI UiaRemoveEvent(HUIAEVENT huiaevent) +{ + FIXME("(%p): stub\n", huiaevent); + return E_NOTIMPL; +} diff --git a/dlls/uiautomationcore/uiautomationcore.spec b/dlls/uiautomationcore/uiautomationcore.spec index 0ad0cb6f437..5c33e1e926a 100644 --- a/dlls/uiautomationcore/uiautomationcore.spec +++ b/dlls/uiautomationcore/uiautomationcore.spec @@ -92,7 +92,7 @@ @ stub UiaRaiseStructureChangedEvent #@ stub UiaRaiseTextEditTextChangedEvent @ stdcall UiaRegisterProviderCallback(ptr) -@ stub UiaRemoveEvent +@ stdcall UiaRemoveEvent(ptr) @ stdcall UiaReturnRawElementProvider(long long long ptr) @ stub UiaSetFocus @ stub UiaTextRangeRelease diff --git a/include/uiautomationcoreapi.h b/include/uiautomationcoreapi.h index efb5eb35d06..cc38354f713 100644 --- a/include/uiautomationcoreapi.h +++ b/include/uiautomationcoreapi.h @@ -418,6 +418,7 @@ HRESULT WINAPI UiaNavigate(HUIANODE huianode, enum NavigateDirection dir, struct struct UiaCacheRequest *cache_req, SAFEARRAY **out_req, BSTR *tree_struct); HRESULT WINAPI UiaFind(HUIANODE huianode, struct UiaFindParams *find_params, struct UiaCacheRequest *cache_req, SAFEARRAY **out_req, SAFEARRAY **out_offsets, SAFEARRAY **out_tree_structs); +HRESULT WINAPI UiaRemoveEvent(HUIAEVENT huiaevent); #ifdef __cplusplus } -- 2.11.4.GIT