Commit 2de6b571 authored by Connor McAdams's avatar Connor McAdams Committed by Alexandre Julliard

uiautomationcore: Add UiaGetUpdatedCache stub.

parent b5f48369
......@@ -1911,3 +1911,14 @@ void WINAPI UiaRegisterProviderCallback(UiaProviderCallback *callback)
else
uia_provider_callback = default_uia_provider_callback;
}
/***********************************************************************
* UiaGetUpdatedCache (uiautomationcore.@)
*/
HRESULT WINAPI UiaGetUpdatedCache(HUIANODE huianode, struct UiaCacheRequest *cache_req, enum NormalizeState normalize_state,
struct UiaCondition *normalize_cond, SAFEARRAY **out_req, BSTR *tree_struct)
{
FIXME("(%p, %p, %u, %p, %p, %p): stub\n", huianode, cache_req, normalize_state, normalize_cond, out_req,
tree_struct);
return E_NOTIMPL;
}
......@@ -67,7 +67,7 @@
@ stdcall UiaGetReservedNotSupportedValue(ptr)
@ stub UiaGetRootNode
@ stdcall UiaGetRuntimeId(ptr ptr)
@ stub UiaGetUpdatedCache
@ stdcall UiaGetUpdatedCache(ptr ptr long ptr ptr ptr)
@ stub UiaHPatternObjectFromVariant
@ stub UiaHTextRangeFromVariant
@ stdcall UiaHUiaNodeFromVariant(ptr ptr)
......
......@@ -324,6 +324,12 @@ enum AsyncContentLoadedState {
AsyncContentLoadedState_Completed = 0x02,
};
enum NormalizeState {
NormalizeState_None = 0x00,
NormalizeState_View = 0x01,
NormalizeState_Custom = 0x02,
};
struct UiaEventArgs {
enum EventArgsType Type;
int EventId;
......@@ -399,6 +405,8 @@ HRESULT WINAPI UiaGetRuntimeId(HUIANODE huianode, SAFEARRAY **runtime_id);
HRESULT WINAPI UiaHUiaNodeFromVariant(VARIANT *in_val, HUIANODE *huianode);
HRESULT WINAPI UiaNodeFromHandle(HWND hwnd, HUIANODE *huianode);
HRESULT WINAPI UiaDisconnectProvider(IRawElementProviderSimple *elprov);
HRESULT WINAPI UiaGetUpdatedCache(HUIANODE huianode, struct UiaCacheRequest *cache_req, enum NormalizeState normalize_state,
struct UiaCondition *normalize_cond, SAFEARRAY **out_req, BSTR *tree_struct);
#ifdef __cplusplus
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment