Nikolay Sivov : uiautomationcore: Added UiaRaiseAutomationEvent stub.

Alexandre Julliard julliard at winehq.org
Mon May 22 15:54:03 CDT 2017


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Sun May 21 14:46:08 2017 +0300

uiautomationcore: Added UiaRaiseAutomationEvent stub.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

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

diff --git a/dlls/uiautomationcore/uia_main.c b/dlls/uiautomationcore/uia_main.c
index 6e795ab..31b7d3e 100644
--- a/dlls/uiautomationcore/uia_main.c
+++ b/dlls/uiautomationcore/uia_main.c
@@ -84,3 +84,12 @@ LRESULT WINAPI UiaReturnRawElementProvider(HWND hwnd, WPARAM wParam,
     FIXME("(%p, %lx, %lx, %p) stub!\n", hwnd, wParam, lParam, elprov);
     return 0;
 }
+
+/***********************************************************************
+ *          UiaRaiseAutomationEvent (uiautomationcore.@)
+ */
+HRESULT WINAPI UiaRaiseAutomationEvent(IRawElementProviderSimple *provider, EVENTID id)
+{
+    FIXME("(%p, %d): stub\n", provider, id);
+    return E_NOTIMPL;
+}
diff --git a/dlls/uiautomationcore/uiautomationcore.spec b/dlls/uiautomationcore/uiautomationcore.spec
index bff1303..48a06b2 100644
--- a/dlls/uiautomationcore/uiautomationcore.spec
+++ b/dlls/uiautomationcore/uiautomationcore.spec
@@ -78,7 +78,7 @@
 @ stub UiaNodeRelease
 @ stub UiaPatternRelease
 @ stub UiaRaiseAsyncContentLoadedEvent
-@ stub UiaRaiseAutomationEvent
+@ stdcall UiaRaiseAutomationEvent(ptr long)
 @ stub UiaRaiseAutomationPropertyChangedEvent
 @ stub UiaRaiseStructureChangedEvent
 @ stub UiaRegisterProviderCallback
diff --git a/include/uiautomationcoreapi.h b/include/uiautomationcoreapi.h
index 6c1752e..12c509f 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);
+HRESULT WINAPI UiaRaiseAutomationEvent(IRawElementProviderSimple *provider, EVENTID id);
 LRESULT WINAPI UiaReturnRawElementProvider(HWND hwnd, WPARAM wParam, LPARAM lParam, IRawElementProviderSimple *elprov);
 BOOL WINAPI UiaTextRangeRelease(HUIATEXTRANGE hobj);
 




More information about the wine-cvs mailing list