[PATCH] uiautomationcore: Add UiaDisconnectProvider stub

Alex Henrie alexhenrie24 at gmail.com
Fri Sep 10 02:18:17 CDT 2021


Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51729
Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
 dlls/uiautomationcore/uia_main.c            | 6 ++++++
 dlls/uiautomationcore/uiautomationcore.spec | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/dlls/uiautomationcore/uia_main.c b/dlls/uiautomationcore/uia_main.c
index 42014af6035..2dada95af80 100644
--- a/dlls/uiautomationcore/uia_main.c
+++ b/dlls/uiautomationcore/uia_main.c
@@ -89,3 +89,9 @@ HRESULT WINAPI UiaHostProviderFromHwnd(HWND hwnd, IRawElementProviderSimple **pr
     FIXME("(%p, %p): stub\n", hwnd, provider);
     return E_NOTIMPL;
 }
+
+HRESULT WINAPI UiaDisconnectProvider(IRawElementProviderSimple *provider)
+{
+    FIXME("(%p): stub\n", provider);
+    return E_NOTIMPL;
+}
diff --git a/dlls/uiautomationcore/uiautomationcore.spec b/dlls/uiautomationcore/uiautomationcore.spec
index c9b96ab39ef..656641c4bad 100644
--- a/dlls/uiautomationcore/uiautomationcore.spec
+++ b/dlls/uiautomationcore/uiautomationcore.spec
@@ -56,7 +56,7 @@
 @ stub UiaAddEvent
 @ stdcall UiaClientsAreListening()
 #@ stub UiaDisconnectAllProviders
-#@ stub UiaDisconnectProvider
+@ stdcall UiaDisconnectProvider(ptr)
 @ stub UiaEventAddWindow
 @ stub UiaEventRemoveWindow
 @ stub UiaFind
-- 
2.33.0




More information about the wine-devel mailing list