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@gmail.com>
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Mohamad Al-Jaf 2021-11-29 23:32:57 -05:00 committed by Alexandre Julliard
parent 5cdbcb0f59
commit 84794b40dd
3 changed files with 11 additions and 1 deletions

View File

@ -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);

View File

@ -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

View File

@ -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);