Commit af0c9d0b authored by Connor McAdams's avatar Connor McAdams Committed by Alexandre Julliard

uiautomationcore: Add UiaFind stub.

parent 7e60043f
......@@ -2559,3 +2559,13 @@ HRESULT WINAPI UiaNavigate(HUIANODE huianode, enum NavigateDirection dir, struct
return hr;
}
/***********************************************************************
* UiaFind (uiautomationcore.@)
*/
HRESULT WINAPI UiaFind(HUIANODE huianode, struct UiaFindParams *find_params, struct UiaCacheRequest *cache_req,
SAFEARRAY **out_req, SAFEARRAY **out_offsets, SAFEARRAY **out_tree_structs)
{
FIXME("(%p, %p, %p, %p, %p, %p): stub\n", huianode, find_params, cache_req, out_req, out_offsets, out_tree_structs);
return E_NOTIMPL;
}
......@@ -59,7 +59,7 @@
@ stdcall UiaDisconnectProvider(ptr)
@ stub UiaEventAddWindow
@ stub UiaEventRemoveWindow
@ stub UiaFind
@ stdcall UiaFind(ptr ptr ptr ptr ptr ptr)
@ stub UiaGetErrorDescription
@ stub UiaGetPatternProvider
@ stdcall UiaGetPropertyValue(ptr long ptr)
......
......@@ -385,6 +385,13 @@ struct UiaWindowClosedEventArgs {
int cRuntimeIdLen;
};
struct UiaFindParams {
int MaxDepth;
BOOL FindFirst;
BOOL ExcludeRoot;
struct UiaCondition *pFindCondition;
};
typedef SAFEARRAY * WINAPI UiaProviderCallback(HWND hwnd,enum ProviderType providerType);
HRESULT WINAPI UiaGetReservedMixedAttributeValue(IUnknown **value);
......@@ -409,6 +416,8 @@ HRESULT WINAPI UiaGetUpdatedCache(HUIANODE huianode, struct UiaCacheRequest *cac
struct UiaCondition *normalize_cond, SAFEARRAY **out_req, BSTR *tree_struct);
HRESULT WINAPI UiaNavigate(HUIANODE huianode, enum NavigateDirection dir, struct UiaCondition *nav_condition,
struct UiaCacheRequest *cache_req, SAFEARRAY **out_req, BSTR *tree_struct);
HRESULT WINAPI UiaFind(HUIANODE huianode, struct UiaFindParams *find_params, struct UiaCacheRequest *cache_req, SAFEARRAY **out_req,
SAFEARRAY **out_offsets, SAFEARRAY **out_tree_structs);
#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