Andrey Gusev : uiautomationcore: Add UiaGetReservedNotSupportedValue stub.

Alexandre Julliard julliard at winehq.org
Wed Mar 22 15:52:36 CDT 2017


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

Author: Andrey Gusev <andrey.goosev at gmail.com>
Date:   Wed Mar 22 14:03:22 2017 +0100

uiautomationcore: Add UiaGetReservedNotSupportedValue stub.

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 a4fdd22..af98681 100644
--- a/dlls/uiautomationcore/uia_main.c
+++ b/dlls/uiautomationcore/uia_main.c
@@ -57,6 +57,16 @@ HRESULT WINAPI UiaGetReservedMixedAttributeValue(IUnknown **value)
 }
 
 /***********************************************************************
+ *          UiaGetReservedNotSupportedValue (uiautomationcore.@)
+ */
+HRESULT WINAPI UiaGetReservedNotSupportedValue(IUnknown **value)
+{
+    FIXME("(%p) stub!\n", value);
+    *value = NULL;
+    return S_OK;
+}
+
+/***********************************************************************
  *          UiaLookupId (uiautomationcore.@)
  */
 int WINAPI UiaLookupId(enum AutomationIdentifierType type, const GUID *guid)
diff --git a/dlls/uiautomationcore/uiautomationcore.spec b/dlls/uiautomationcore/uiautomationcore.spec
index 989dc43..ddf84f6 100644
--- a/dlls/uiautomationcore/uiautomationcore.spec
+++ b/dlls/uiautomationcore/uiautomationcore.spec
@@ -60,7 +60,7 @@
 @ stub UiaGetPatternProvider
 @ stub UiaGetPropertyValue
 @ stdcall UiaGetReservedMixedAttributeValue(ptr)
-@ stub UiaGetReservedNotSupportedValue
+@ stdcall UiaGetReservedNotSupportedValue(ptr)
 @ stub UiaGetRootNode
 @ stub UiaGetRuntimeId
 @ stub UiaGetUpdatedCache
diff --git a/include/uiautomationcoreapi.h b/include/uiautomationcoreapi.h
index c8c442f..fbe47ad 100644
--- a/include/uiautomationcoreapi.h
+++ b/include/uiautomationcoreapi.h
@@ -49,6 +49,7 @@ enum AutomationIdentifierType
 };
 
 HRESULT WINAPI UiaGetReservedMixedAttributeValue(IUnknown **value);
+HRESULT WINAPI UiaGetReservedNotSupportedValue(IUnknown **value);
 int WINAPI UiaLookupId(enum AutomationIdentifierType type, const GUID *guid);
 BOOL WINAPI UiaPatternRelease(HUIAPATTERNOBJECT hobj);
 BOOL WINAPI UiaTextRangeRelease(HUIATEXTRANGE hobj);




More information about the wine-cvs mailing list