[PATCH v2 2/3] uiautomationcore: Add UiaGetReservedMixedAttributeValue stub.

Andrey Gusev andrey.goosev at gmail.com
Mon Mar 20 08:15:08 CDT 2017


v2: With suggestion from Alistair Leslie-Hughes.

Fixes bug 42670

Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
---
 dlls/uiautomationcore/uia_main.c            | 14 ++++++++++++++
 dlls/uiautomationcore/uiautomationcore.spec |  2 +-
 include/uiautomationcoreapi.h               |  1 +
 3 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/dlls/uiautomationcore/uia_main.c b/dlls/uiautomationcore/uia_main.c
index ceb2d1d..f78adb7 100644
--- a/dlls/uiautomationcore/uia_main.c
+++ b/dlls/uiautomationcore/uia_main.c
@@ -47,6 +47,20 @@ BOOL WINAPI UiaClientsAreListening(void)
 }
 
 /***********************************************************************
+ *          UiaGetReservedMixedAttributeValue (uiautomationcore.@)
+ */
+HRESULT WINAPI UiaGetReservedMixedAttributeValue(IUnknown **value)
+{
+    FIXME("(%p) stub!\n", value);
+
+    if (!value)
+        return E_POINTER;
+
+    *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 39af30a..989dc43 100644
--- a/dlls/uiautomationcore/uiautomationcore.spec
+++ b/dlls/uiautomationcore/uiautomationcore.spec
@@ -59,7 +59,7 @@
 @ stub UiaGetErrorDescription
 @ stub UiaGetPatternProvider
 @ stub UiaGetPropertyValue
-@ stub UiaGetReservedMixedAttributeValue
+@ stdcall UiaGetReservedMixedAttributeValue(ptr)
 @ stub UiaGetReservedNotSupportedValue
 @ stub UiaGetRootNode
 @ stub UiaGetRuntimeId
diff --git a/include/uiautomationcoreapi.h b/include/uiautomationcoreapi.h
index 7d9fdba..c8c442f 100644
--- a/include/uiautomationcoreapi.h
+++ b/include/uiautomationcoreapi.h
@@ -48,6 +48,7 @@ enum AutomationIdentifierType
     AutomationIdentifierType_TextAttribute
 };
 
+HRESULT WINAPI UiaGetReservedMixedAttributeValue(IUnknown **value);
 int WINAPI UiaLookupId(enum AutomationIdentifierType type, const GUID *guid);
 BOOL WINAPI UiaPatternRelease(HUIAPATTERNOBJECT hobj);
 BOOL WINAPI UiaTextRangeRelease(HUIATEXTRANGE hobj);
-- 
2.7.4




More information about the wine-patches mailing list