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

Andrey Gusev andrey.goosev at gmail.com
Sat Mar 18 18:13:40 CDT 2017


Fixes bug 42670

Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
---
 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 a16d3d1..013e6fd 100644
--- a/dlls/uiautomationcore/uia_main.c
+++ b/dlls/uiautomationcore/uia_main.c
@@ -48,6 +48,15 @@ BOOL WINAPI UiaClientsAreListening(void)
 }
 
 /***********************************************************************
+ *          UiaGetReservedMixedAttributeValue (uiautomationcore.@)
+ */
+HRESULT WINAPI UiaGetReservedMixedAttributeValue(IUnknown **value)
+{
+    FIXME("(%p) stub!\n", value);
+    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