Mohamad Al-Jaf : uiautomationcore: Add UiaRaiseAutomationPropertyChangedEvent stub.
Alexandre Julliard
julliard at winehq.org
Wed Dec 1 15:23:49 CST 2021
Module: wine
Branch: master
Commit: 84794b40dd5f9ec562d64b57213c8ef4016c9151
URL: https://source.winehq.org/git/wine.git/?a=commit;h=84794b40dd5f9ec562d64b57213c8ef4016c9151
Author: Mohamad Al-Jaf <mohamadaljaf at gmail.com>
Date: Mon Nov 29 23:32:57 2021 -0500
uiautomationcore: Add UiaRaiseAutomationPropertyChangedEvent stub.
Enable Microsoft Edge to run in Windows 10 mode.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51437
Signed-off-by: Mohamad Al-Jaf <mohamadaljaf at gmail.com>
Signed-off-by: Connor McAdams <cmcadams 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 44fd42742d9..f1cf06ed4f5 100644
--- a/dlls/uiautomationcore/uia_main.c
+++ b/dlls/uiautomationcore/uia_main.c
@@ -324,6 +324,15 @@ HRESULT WINAPI UiaRaiseAutomationEvent(IRawElementProviderSimple *provider, EVEN
return S_OK;
}
+/***********************************************************************
+ * UiaRaiseAutomationPropertyChangedEvent (uiautomationcore.@)
+ */
+HRESULT WINAPI UiaRaiseAutomationPropertyChangedEvent(IRawElementProviderSimple *provider, PROPERTYID id, VARIANT old, VARIANT new)
+{
+ FIXME("(%p, %d, %s, %s): stub\n", provider, id, debugstr_variant(&old), debugstr_variant(&new));
+ return S_OK;
+}
+
void WINAPI UiaRegisterProviderCallback(UiaProviderCallback *callback)
{
FIXME("(%p): stub\n", callback);
diff --git a/dlls/uiautomationcore/uiautomationcore.spec b/dlls/uiautomationcore/uiautomationcore.spec
index 656641c4bad..82071bd2317 100644
--- a/dlls/uiautomationcore/uiautomationcore.spec
+++ b/dlls/uiautomationcore/uiautomationcore.spec
@@ -86,7 +86,7 @@
#@ stub UiaProviderFromIAccessible
@ stub UiaRaiseAsyncContentLoadedEvent
@ stdcall UiaRaiseAutomationEvent(ptr long)
-@ stub UiaRaiseAutomationPropertyChangedEvent
+@ stdcall UiaRaiseAutomationPropertyChangedEvent(ptr long int128 int128)
#@ stub UiaRaiseChangesEvent
#@ stub UiaRaiseNotificationEvent
@ stub UiaRaiseStructureChangedEvent
diff --git a/include/uiautomationcoreapi.h b/include/uiautomationcoreapi.h
index de486710158..563d5c602bd 100644
--- a/include/uiautomationcoreapi.h
+++ b/include/uiautomationcoreapi.h
@@ -66,6 +66,7 @@ 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);
+HRESULT WINAPI UiaRaiseAutomationPropertyChangedEvent(IRawElementProviderSimple *provider, PROPERTYID id, VARIANT old, VARIANT new);
void WINAPI UiaRegisterProviderCallback(UiaProviderCallback *pCallback);
LRESULT WINAPI UiaReturnRawElementProvider(HWND hwnd, WPARAM wParam, LPARAM lParam, IRawElementProviderSimple *elprov);
BOOL WINAPI UiaTextRangeRelease(HUIATEXTRANGE hobj);
More information about the wine-cvs
mailing list