Andrey Gusev : uiautomationcore: Add UiaReturnRawElementProvider stub.

Alexandre Julliard julliard at winehq.org
Thu Apr 6 15:05:23 CDT 2017


Module: wine
Branch: master
Commit: 20ed82860a26b98e07fc869b29dcb8d25fa039b3
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=20ed82860a26b98e07fc869b29dcb8d25fa039b3

Author: Andrey Gusev <andrey.goosev at gmail.com>
Date:   Thu Apr  6 12:46:53 2017 +0300

uiautomationcore: Add UiaReturnRawElementProvider stub.

Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/uiautomationcore/uia_main.c            | 10 ++++++++++
 dlls/uiautomationcore/uiautomationcore.spec |  2 +-
 include/uiautomationcoreapi.h               |  1 +
 3 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/dlls/uiautomationcore/uia_main.c b/dlls/uiautomationcore/uia_main.c
index af98681..6e795ab 100644
--- a/dlls/uiautomationcore/uia_main.c
+++ b/dlls/uiautomationcore/uia_main.c
@@ -74,3 +74,13 @@ int WINAPI UiaLookupId(enum AutomationIdentifierType type, const GUID *guid)
     FIXME("(%d, %s) stub!\n", type, debugstr_guid(guid));
     return 1;
 }
+
+/***********************************************************************
+ *          UiaReturnRawElementProvider (uiautomationcore.@)
+ */
+LRESULT WINAPI UiaReturnRawElementProvider(HWND hwnd, WPARAM wParam,
+        LPARAM lParam, IRawElementProviderSimple *elprov)
+{
+    FIXME("(%p, %lx, %lx, %p) stub!\n", hwnd, wParam, lParam, elprov);
+    return 0;
+}
diff --git a/dlls/uiautomationcore/uiautomationcore.spec b/dlls/uiautomationcore/uiautomationcore.spec
index ddf84f6..bff1303 100644
--- a/dlls/uiautomationcore/uiautomationcore.spec
+++ b/dlls/uiautomationcore/uiautomationcore.spec
@@ -83,7 +83,7 @@
 @ stub UiaRaiseStructureChangedEvent
 @ stub UiaRegisterProviderCallback
 @ stub UiaRemoveEvent
-@ stub UiaReturnRawElementProvider
+@ stdcall UiaReturnRawElementProvider(long long long ptr)
 @ stub UiaSetFocus
 @ stub UiaTextRangeRelease
 @ stub ValuePattern_SetValue
diff --git a/include/uiautomationcoreapi.h b/include/uiautomationcoreapi.h
index fbe47ad..6c1752e 100644
--- a/include/uiautomationcoreapi.h
+++ b/include/uiautomationcoreapi.h
@@ -52,6 +52,7 @@ HRESULT WINAPI UiaGetReservedMixedAttributeValue(IUnknown **value);
 HRESULT WINAPI UiaGetReservedNotSupportedValue(IUnknown **value);
 int WINAPI UiaLookupId(enum AutomationIdentifierType type, const GUID *guid);
 BOOL WINAPI UiaPatternRelease(HUIAPATTERNOBJECT hobj);
+LRESULT WINAPI UiaReturnRawElementProvider(HWND hwnd, WPARAM wParam, LPARAM lParam, IRawElementProviderSimple *elprov);
 BOOL WINAPI UiaTextRangeRelease(HUIATEXTRANGE hobj);
 
 #ifdef __cplusplus




More information about the wine-cvs mailing list