From 20ed82860a26b98e07fc869b29dcb8d25fa039b3 Mon Sep 17 00:00:00 2001 From: Andrey Gusev Date: Thu, 6 Apr 2017 12:46:53 +0300 Subject: [PATCH] uiautomationcore: Add UiaReturnRawElementProvider stub. Signed-off-by: Andrey Gusev Signed-off-by: Jacek Caban Signed-off-by: Alexandre Julliard --- 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 af986810f56..6e795ab88ff 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 ddf84f63c07..bff1303eda6 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 fbe47ad184f..6c1752ec640 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