|
| #define | COBJMACROS |
| |
| #define | get_str_for_id(id, id_pair) get_str_from_id_pair( (id), (id_pair), (ARRAY_SIZE(id_pair)) ) |
| |
| #define | PROV_METHOD_TRACE(prov, method) if(winetest_debug > 1) printf("%#lx:%#lx: %s_" #method "\n", GetCurrentProcessId(), GetCurrentThreadId(), (prov)->prov_name); |
| |
| #define | PROV_METHOD_TRACE2(prov, method, arg, str_table) |
| |
| #define | ACC_METHOD_TRACE(acc, method) if(winetest_debug > 1) printf("%#lx:%#lx: %s_" #method "\n", GetCurrentProcessId(), GetCurrentThreadId(), (acc)->interface_name); |
| |
| #define | ACC_METHOD_TRACE2(acc, cid, method) |
| |
| #define | DEFINE_EXPECT(func) static int expect_ ## func = 0, called_ ## func = 0 |
| |
| #define | SET_EXPECT(func) do { called_ ## func = 0; expect_ ## func = 1; } while(0) |
| |
| #define | SET_EXPECT_MULTI(func, num) do { called_ ## func = 0; expect_ ## func = num; } while(0) |
| |
| #define | CHECK_EXPECT2(func) |
| |
| #define | CHECK_EXPECT(func) |
| |
| #define | CALLED_COUNT(func) called_ ## func |
| |
| #define | CHECK_CALLED(func) |
| |
| #define | CHECK_CALLED_MULTI(func, num) |
| |
| #define | CHECK_CALLED_AT_LEAST(func, num) |
| |
| #define | CHECK_CALLED_AT_MOST(func, num) |
| |
| #define | NAVDIR_INTERNAL_HWND 10 |
| |
| #define | UIA_RUNTIME_ID_PREFIX 42 |
| |
| #define | test_implements_interface(unk, iid, exp_implemented) test_implements_interface_( ((IUnknown *)(unk)), (iid), (exp_implemented), __FILE__, __LINE__) |
| |
| #define | check_interface_marshal_proxy_creation(iface, iid, expect_proxy) check_interface_marshal_proxy_creation_( (iface), (iid), (expect_proxy), __FILE__, __LINE__) |
| |
| #define | DEFINE_ACC_METHOD_EXPECT(method) int expect_ ## method , called_ ## method |
| |
| #define | DEFINE_ACC_METHOD_EXPECTS |
| |
| #define | SET_ACC_METHOD_EXPECT(acc, method) do { (acc)->called_ ## method = 0; (acc)->expect_ ## method = 1; } while(0) |
| |
| #define | SET_ACC_METHOD_EXPECT_MULTI(acc, method, num) do { (acc)->called_ ## method = 0; (acc)->expect_ ## method = num; } while(0) |
| |
| #define | CHECK_ACC_METHOD_EXPECT2(acc, method) |
| |
| #define | CHECK_ACC_METHOD_EXPECT(acc, method) |
| |
| #define | CHECK_ACC_METHOD_CALLED(acc, method) |
| |
| #define | CHECK_ACC_METHOD_CALLED_MULTI(acc, method, num) |
| |
| #define | CHECK_ACC_METHOD_CALLED_AT_LEAST(acc, method, num) |
| |
| #define | CHECK_ACC_METHOD_CALLED_AT_MOST(acc, method, num) |
| |
| #define | NODE_CREATE_SEQ(prov) |
| |
| #define | NODE_CREATE_SEQ_OPTIONAL(prov) |
| |
| #define | NODE_CREATE_SEQ2(prov) |
| |
| #define | NODE_CREATE_SEQ2_OPTIONAL(prov) |
| |
| #define | NODE_CREATE_SEQ3(prov) |
| |
| #define | ok_method_sequence(exp, context) ok_method_sequence_( (exp), (context), __FILE__, __LINE__) |
| |
| #define | check_node_provider_desc_todo(prov_desc, prov_type, prov_name, parent_link) check_node_provider_desc_( (prov_desc), (prov_type), (prov_name), (parent_link), TRUE, __FILE__, __LINE__) |
| |
| #define | check_node_provider_desc(prov_desc, prov_type, prov_name, parent_link) check_node_provider_desc_( (prov_desc), (prov_type), (prov_name), (parent_link), FALSE, __FILE__, __LINE__) |
| |
| #define | check_node_provider_desc_prefix(prov_desc, pid, prov_id) check_node_provider_desc_prefix_( (prov_desc), (pid), (prov_id), __FILE__, __LINE__) |
| |
| #define | check_runtime_id(exp_runtime_id, exp_size, runtime_id) check_runtime_id_( (exp_runtime_id), (exp_size), (runtime_id), __FILE__, __LINE__) |
| |
| #define | DEFINE_PROVIDER(name) |
| |
| #define | check_msaa_prov_acc(elprov, acc, cid) check_msaa_prov_acc_( ((IUnknown *)elprov), (acc), (cid), __LINE__) |
| |
| #define | check_msaa_prov_host_elem_prov(elem, exp_host_prov) check_msaa_prov_host_elem_prov_( ((IUnknown *)elem), (exp_host_prov), __LINE__) |
| |
| #define | check_fragment_acc(fragment, acc, cid) check_fragment_acc_( (fragment), (acc), (cid), __LINE__) |
| |
| #define | check_uia_rect_val(v, rect) check_uia_rect_val_( (v), (rect), __FILE__, __LINE__) |
| |
| #define | check_uia_rect_rect_val(rect, uia_rect) check_uia_rect_rect_val_( (rect), (uia_rect), __FILE__, __LINE__) |
| |
| #define | TIME_SINCE_LAST_CALLBACK_TIMEOUT 200 |
| |
| #define | MAX_NODE_PROVIDERS 4 |
| |
| #define | test_node_provider_desc(desc, desc_str) test_node_provider_desc_( (desc), (desc_str), __FILE__, __LINE__) |
| |
| #define | test_cache_req_sa(sa, exp_lbound, exp_elems, exp_node_desc) test_cache_req_sa_( (sa), (exp_lbound), (exp_elems), (exp_node_desc), __FILE__, __LINE__) |
| |
| #define | test_provider_event_advise_added(prov, event_id, todo) test_provider_event_advise_added_( (prov), (event_id), (todo), __FILE__, __LINE__) |
| |
| #define | test_find_sa_results(tree_structs, offsets, exp_elems, exp_tree_struct, exp_offsets) test_find_sa_results_( (tree_structs), (offsets), (exp_elems), (exp_tree_struct), (exp_offsets), __FILE__, __LINE__) |
| |
| #define | test_uia_element_arr(elem_arr, exp_elems, exp_elems_count) test_uia_element_arr_( (elem_arr), (exp_elems), (exp_elems_count), __FILE__, __LINE__) |
| |
| #define | test_get_focused_elem(uia_iface, cache_req, exp_hr, exp_node_desc, proxy_cback_count, base_hwnd_cback_count, nc_cback_count, win_get_obj_count, child_win_get_obj_count, proxy_cback_todo, base_hwnd_cback_todo, nc_cback_todo, win_get_obj_todo, child_win_get_obj_todo) |
| |
| #define | MAX_EVENT_QUEUE_COUNT 4 |
| |
| #define | test_com_event_data(sender) test_com_event_data_( (sender), __FILE__, __LINE__) |
| |
| #define | test_hwnd_providers_event_advise_added(main, hwnd, nc, event_id, todo) test_hwnd_providers_event_advise_added_( (main), (hwnd), (nc), (event_id), (todo), __FILE__, __LINE__) |
| |
| #define | test_node_hwnd_provider(node, hwnd) test_node_hwnd_provider_( (node), (hwnd), __FILE__, __LINE__) |
| |
| #define | test_node_hwnd_provider_navigation(node, dir, exp_dest_hwnd) test_node_hwnd_provider_navigation_( (node), (dir), (exp_dest_hwnd), __FILE__, __LINE__) |
| |
| #define | test_node_from_focus(cache_req, exp_node_desc, proxy_cback_count, base_hwnd_cback_count, nc_cback_count, win_get_obj_count, child_win_get_obj_count, proxy_cback_todo, base_hwnd_cback_todo, nc_cback_todo, win_get_obj_todo, child_win_get_obj_todo) |
| |
| #define | check_event_data(data, args, req_data, tree_struct) check_event_data_( (data), (args), (req_data), (tree_struct), __FILE__, __LINE__) |
| |
| #define | test_uia_event_win_event_mapping(win_event, hwnd, obj_id, child_id, event_handles, event_handle_count, expect_event1, expect_event2, todo) |
| |
|
| static | HRESULT (WINAPI *pUiaProviderFromIAccessible)(IAccessible * |
| |
| static int __cdecl | str_id_pair_compare (const void *a, const void *b) |
| |
| static const char * | get_str_from_id_pair (int id, const struct str_id_pair *id_pair, int id_pair_size) |
| |
| | DEFINE_EXPECT (winproc_GETOBJECT_CLIENT) |
| |
| | DEFINE_EXPECT (prov_callback_base_hwnd) |
| |
| | DEFINE_EXPECT (prov_callback_nonclient) |
| |
| | DEFINE_EXPECT (prov_callback_proxy) |
| |
| | DEFINE_EXPECT (prov_callback_parent_proxy) |
| |
| | DEFINE_EXPECT (uia_event_callback) |
| |
| | DEFINE_EXPECT (uia_event_callback2) |
| |
| | DEFINE_EXPECT (uia_com_event_callback) |
| |
| | DEFINE_EXPECT (winproc_GETOBJECT_UiaRoot) |
| |
| | DEFINE_EXPECT (child_winproc_GETOBJECT_UiaRoot) |
| |
| | DEFINE_EXPECT (ProxyEventSink_AddAutomationPropertyChangedEvent) |
| |
| | DEFINE_EXPECT (ProxyEventSink_AddAutomationEvent) |
| |
| | DEFINE_EXPECT (ProxyEventSink_AddStructureChangedEvent) |
| |
| static BOOL | check_variant_i4 (VARIANT *v, int val) |
| |
| static BOOL | check_variant_bool (VARIANT *v, BOOL val) |
| |
| static void | variant_init_bool (VARIANT *v, BOOL val) |
| |
| static BOOL | iface_cmp (IUnknown *iface1, IUnknown *iface2) |
| |
| static void | test_implements_interface_ (IUnknown *unk, const GUID *iid, BOOL exp_implemented, const char *file, int line) |
| |
| static void | check_interface_marshal_proxy_creation_ (IUnknown *iface, REFIID iid, BOOL expect_proxy, const char *file, int line) |
| |
| static DWORD | msg_wait_for_all_events (HANDLE *event_handles, int event_handle_count, DWORD timeout_val) |
| |
| static struct Accessible * | impl_from_Accessible (IAccessible *iface) |
| |
| static HRESULT WINAPI | Accessible_QueryInterface (IAccessible *iface, REFIID riid, void **obj) |
| |
| static ULONG WINAPI | Accessible_AddRef (IAccessible *iface) |
| |
| static ULONG WINAPI | Accessible_Release (IAccessible *iface) |
| |
| static HRESULT WINAPI | Accessible_GetTypeInfoCount (IAccessible *iface, UINT *pctinfo) |
| |
| static HRESULT WINAPI | Accessible_GetTypeInfo (IAccessible *iface, UINT iTInfo, LCID lcid, ITypeInfo **out_tinfo) |
| |
| static HRESULT WINAPI | Accessible_GetIDsOfNames (IAccessible *iface, REFIID riid, LPOLESTR *rg_names, UINT name_count, LCID lcid, DISPID *rg_disp_id) |
| |
| static HRESULT WINAPI | Accessible_Invoke (IAccessible *iface, DISPID disp_id_member, REFIID riid, LCID lcid, WORD flags, DISPPARAMS *disp_params, VARIANT *var_result, EXCEPINFO *excep_info, UINT *arg_err) |
| |
| static HRESULT WINAPI | Accessible_get_accParent (IAccessible *iface, IDispatch **out_parent) |
| |
| static HRESULT WINAPI | Accessible_get_accChildCount (IAccessible *iface, LONG *out_count) |
| |
| static HRESULT WINAPI | Accessible_get_accChild (IAccessible *iface, VARIANT child_id, IDispatch **out_child) |
| |
| static HRESULT WINAPI | Accessible_get_accName (IAccessible *iface, VARIANT child_id, BSTR *out_name) |
| |
| static HRESULT WINAPI | Accessible_get_accValue (IAccessible *iface, VARIANT child_id, BSTR *out_value) |
| |
| static HRESULT WINAPI | Accessible_get_accDescription (IAccessible *iface, VARIANT child_id, BSTR *out_description) |
| |
| static HRESULT WINAPI | Accessible_get_accRole (IAccessible *iface, VARIANT child_id, VARIANT *out_role) |
| |
| static HRESULT WINAPI | Accessible_get_accState (IAccessible *iface, VARIANT child_id, VARIANT *out_state) |
| |
| static HRESULT WINAPI | Accessible_get_accHelp (IAccessible *iface, VARIANT child_id, BSTR *out_help) |
| |
| static HRESULT WINAPI | Accessible_get_accHelpTopic (IAccessible *iface, BSTR *out_help_file, VARIANT child_id, LONG *out_topic_id) |
| |
| static HRESULT WINAPI | Accessible_get_accKeyboardShortcut (IAccessible *iface, VARIANT child_id, BSTR *out_kbd_shortcut) |
| |
| static HRESULT WINAPI | Accessible_get_accFocus (IAccessible *iface, VARIANT *pchild_id) |
| |
| static HRESULT WINAPI | Accessible_get_accSelection (IAccessible *iface, VARIANT *out_selection) |
| |
| static HRESULT WINAPI | Accessible_get_accDefaultAction (IAccessible *iface, VARIANT child_id, BSTR *out_default_action) |
| |
| static HRESULT WINAPI | Accessible_accSelect (IAccessible *iface, LONG select_flags, VARIANT child_id) |
| |
| static HRESULT WINAPI | Accessible_accLocation (IAccessible *iface, LONG *out_left, LONG *out_top, LONG *out_width, LONG *out_height, VARIANT child_id) |
| |
| static HRESULT WINAPI | Accessible_accNavigate (IAccessible *iface, LONG nav_direction, VARIANT child_id_start, VARIANT *out_var) |
| |
| static HRESULT WINAPI | Accessible_accHitTest (IAccessible *iface, LONG left, LONG top, VARIANT *out_child_id) |
| |
| static HRESULT WINAPI | Accessible_accDoDefaultAction (IAccessible *iface, VARIANT child_id) |
| |
| static HRESULT WINAPI | Accessible_put_accName (IAccessible *iface, VARIANT child_id, BSTR name) |
| |
| static HRESULT WINAPI | Accessible_put_accValue (IAccessible *iface, VARIANT child_id, BSTR value) |
| |
| static struct Accessible * | impl_from_Accessible2 (IAccessible2 *iface) |
| |
| static HRESULT WINAPI | Accessible2_QueryInterface (IAccessible2 *iface, REFIID riid, void **obj) |
| |
| static ULONG WINAPI | Accessible2_AddRef (IAccessible2 *iface) |
| |
| static ULONG WINAPI | Accessible2_Release (IAccessible2 *iface) |
| |
| static HRESULT WINAPI | Accessible2_GetTypeInfoCount (IAccessible2 *iface, UINT *pctinfo) |
| |
| static HRESULT WINAPI | Accessible2_GetTypeInfo (IAccessible2 *iface, UINT iTInfo, LCID lcid, ITypeInfo **out_tinfo) |
| |
| static HRESULT WINAPI | Accessible2_GetIDsOfNames (IAccessible2 *iface, REFIID riid, LPOLESTR *rg_names, UINT name_count, LCID lcid, DISPID *rg_disp_id) |
| |
| static HRESULT WINAPI | Accessible2_Invoke (IAccessible2 *iface, DISPID disp_id_member, REFIID riid, LCID lcid, WORD flags, DISPPARAMS *disp_params, VARIANT *var_result, EXCEPINFO *excep_info, UINT *arg_err) |
| |
| static HRESULT WINAPI | Accessible2_get_accParent (IAccessible2 *iface, IDispatch **out_parent) |
| |
| static HRESULT WINAPI | Accessible2_get_accChildCount (IAccessible2 *iface, LONG *out_count) |
| |
| static HRESULT WINAPI | Accessible2_get_accChild (IAccessible2 *iface, VARIANT child_id, IDispatch **out_child) |
| |
| static HRESULT WINAPI | Accessible2_get_accName (IAccessible2 *iface, VARIANT child_id, BSTR *out_name) |
| |
| static HRESULT WINAPI | Accessible2_get_accValue (IAccessible2 *iface, VARIANT child_id, BSTR *out_value) |
| |
| static HRESULT WINAPI | Accessible2_get_accDescription (IAccessible2 *iface, VARIANT child_id, BSTR *out_description) |
| |
| static HRESULT WINAPI | Accessible2_get_accRole (IAccessible2 *iface, VARIANT child_id, VARIANT *out_role) |
| |
| static HRESULT WINAPI | Accessible2_get_accState (IAccessible2 *iface, VARIANT child_id, VARIANT *out_state) |
| |
| static HRESULT WINAPI | Accessible2_get_accHelp (IAccessible2 *iface, VARIANT child_id, BSTR *out_help) |
| |
| static HRESULT WINAPI | Accessible2_get_accHelpTopic (IAccessible2 *iface, BSTR *out_help_file, VARIANT child_id, LONG *out_topic_id) |
| |
| static HRESULT WINAPI | Accessible2_get_accKeyboardShortcut (IAccessible2 *iface, VARIANT child_id, BSTR *out_kbd_shortcut) |
| |
| static HRESULT WINAPI | Accessible2_get_accFocus (IAccessible2 *iface, VARIANT *pchild_id) |
| |
| static HRESULT WINAPI | Accessible2_get_accSelection (IAccessible2 *iface, VARIANT *out_selection) |
| |
| static HRESULT WINAPI | Accessible2_get_accDefaultAction (IAccessible2 *iface, VARIANT child_id, BSTR *out_default_action) |
| |
| static HRESULT WINAPI | Accessible2_accSelect (IAccessible2 *iface, LONG select_flags, VARIANT child_id) |
| |
| static HRESULT WINAPI | Accessible2_accLocation (IAccessible2 *iface, LONG *out_left, LONG *out_top, LONG *out_width, LONG *out_height, VARIANT child_id) |
| |
| static HRESULT WINAPI | Accessible2_accNavigate (IAccessible2 *iface, LONG nav_direction, VARIANT child_id_start, VARIANT *out_var) |
| |
| static HRESULT WINAPI | Accessible2_accHitTest (IAccessible2 *iface, LONG left, LONG top, VARIANT *out_child_id) |
| |
| static HRESULT WINAPI | Accessible2_accDoDefaultAction (IAccessible2 *iface, VARIANT child_id) |
| |
| static HRESULT WINAPI | Accessible2_put_accName (IAccessible2 *iface, VARIANT child_id, BSTR name) |
| |
| static HRESULT WINAPI | Accessible2_put_accValue (IAccessible2 *iface, VARIANT child_id, BSTR value) |
| |
| static HRESULT WINAPI | Accessible2_get_nRelations (IAccessible2 *iface, LONG *out_nRelations) |
| |
| static HRESULT WINAPI | Accessible2_get_relation (IAccessible2 *iface, LONG relation_idx, IAccessibleRelation **out_relation) |
| |
| static HRESULT WINAPI | Accessible2_get_relations (IAccessible2 *iface, LONG count, IAccessibleRelation **out_relations, LONG *out_relation_count) |
| |
| static HRESULT WINAPI | Accessible2_role (IAccessible2 *iface, LONG *out_role) |
| |
| static HRESULT WINAPI | Accessible2_scrollTo (IAccessible2 *iface, enum IA2ScrollType scroll_type) |
| |
| static HRESULT WINAPI | Accessible2_scrollToPoint (IAccessible2 *iface, enum IA2CoordinateType coordinate_type, LONG x, LONG y) |
| |
| static HRESULT WINAPI | Accessible2_get_groupPosition (IAccessible2 *iface, LONG *out_group_level, LONG *out_similar_items_in_group, LONG *out_position_in_group) |
| |
| static HRESULT WINAPI | Accessible2_get_states (IAccessible2 *iface, AccessibleStates *out_states) |
| |
| static HRESULT WINAPI | Accessible2_get_extendedRole (IAccessible2 *iface, BSTR *out_extended_role) |
| |
| static HRESULT WINAPI | Accessible2_get_localizedExtendedRole (IAccessible2 *iface, BSTR *out_localized_extended_role) |
| |
| static HRESULT WINAPI | Accessible2_get_nExtendedStates (IAccessible2 *iface, LONG *out_nExtendedStates) |
| |
| static HRESULT WINAPI | Accessible2_get_extendedStates (IAccessible2 *iface, LONG count, BSTR **out_extended_states, LONG *out_extended_states_count) |
| |
| static HRESULT WINAPI | Accessible2_get_localizedExtendedStates (IAccessible2 *iface, LONG count, BSTR **out_localized_extended_states, LONG *out_localized_extended_states_count) |
| |
| static HRESULT WINAPI | Accessible2_get_uniqueID (IAccessible2 *iface, LONG *out_unique_id) |
| |
| static HRESULT WINAPI | Accessible2_get_windowHandle (IAccessible2 *iface, HWND *out_hwnd) |
| |
| static HRESULT WINAPI | Accessible2_get_indexInParent (IAccessible2 *iface, LONG *out_idx_in_parent) |
| |
| static HRESULT WINAPI | Accessible2_get_locale (IAccessible2 *iface, IA2Locale *out_locale) |
| |
| static HRESULT WINAPI | Accessible2_get_attributes (IAccessible2 *iface, BSTR *out_attributes) |
| |
| static struct Accessible * | impl_from_OleWindow (IOleWindow *iface) |
| |
| static HRESULT WINAPI | OleWindow_QueryInterface (IOleWindow *iface, REFIID riid, void **obj) |
| |
| static ULONG WINAPI | OleWindow_AddRef (IOleWindow *iface) |
| |
| static ULONG WINAPI | OleWindow_Release (IOleWindow *iface) |
| |
| static HRESULT WINAPI | OleWindow_GetWindow (IOleWindow *iface, HWND *hwnd) |
| |
| static HRESULT WINAPI | OleWindow_ContextSensitiveHelp (IOleWindow *iface, BOOL f_enter_mode) |
| |
| static struct Accessible * | impl_from_ServiceProvider (IServiceProvider *iface) |
| |
| static HRESULT WINAPI | ServiceProvider_QueryInterface (IServiceProvider *iface, REFIID riid, void **obj) |
| |
| static ULONG WINAPI | ServiceProvider_AddRef (IServiceProvider *iface) |
| |
| static ULONG WINAPI | ServiceProvider_Release (IServiceProvider *iface) |
| |
| static HRESULT WINAPI | ServiceProvider_QueryService (IServiceProvider *iface, REFGUID service_guid, REFIID riid, void **obj) |
| |
| static void | initialize_provider (struct Provider *prov, int prov_opts, HWND hwnd, BOOL initialize_nav_links) |
| |
| static void | set_provider_prop_override (struct Provider *prov, struct Provider_prop_override *override, int count) |
| |
| static void | set_property_override (struct Provider_prop_override *override, int prop_id, VARIANT *val) |
| |
| static void | initialize_provider_tree (BOOL initialize_nav_links) |
| |
| static void | provider_add_child (struct Provider *prov, struct Provider *child) |
| |
| static SAFEARRAY * | create_i4_safearray (void) |
| |
| static SAFEARRAY * | create_r8_safearray (void) |
| |
| static SAFEARRAY * | create_unk_safearray (void) |
| |
| static const char * | get_prov_method_str (int method) |
| |
| static void | flush_method_sequence (void) |
| |
| static void | add_method_call (struct Provider *prov, int method) |
| |
| static void | ok_method_sequence_ (const struct prov_method_sequence *expected_list, const char *context, const char *file, int line) |
| |
| static void | check_for_method_call_event (struct Provider *prov, int method) |
| |
| static BOOL | get_provider_desc (BSTR prov_desc, const WCHAR *prov_type, WCHAR *out_name) |
| |
| static void | check_node_provider_desc_ (BSTR prov_desc, const WCHAR *prov_type, const WCHAR *prov_name, BOOL parent_link, BOOL todo, const char *file, int line) |
| |
| static void | check_node_provider_desc_prefix_ (BSTR prov_desc, DWORD pid, HWND prov_id, const char *file, int line) |
| |
| static BOOL | get_nested_provider_desc (BSTR prov_desc, const WCHAR *prov_type, BOOL parent_link, WCHAR *out_desc) |
| |
| static void | check_runtime_id_ (int *exp_runtime_id, int exp_size, SAFEARRAY *runtime_id, const char *file, int line) |
| |
| static struct Provider * | impl_from_ProviderSimple (IRawElementProviderSimple *iface) |
| |
| HRESULT WINAPI | ProviderSimple_QueryInterface (IRawElementProviderSimple *iface, REFIID riid, void **ppv) |
| |
| ULONG WINAPI | ProviderSimple_AddRef (IRawElementProviderSimple *iface) |
| |
| ULONG WINAPI | ProviderSimple_Release (IRawElementProviderSimple *iface) |
| |
| HRESULT WINAPI | ProviderSimple_get_ProviderOptions (IRawElementProviderSimple *iface, enum ProviderOptions *ret_val) |
| |
| HRESULT WINAPI | ProviderSimple_GetPatternProvider (IRawElementProviderSimple *iface, PATTERNID pattern_id, IUnknown **ret_val) |
| |
| HRESULT WINAPI | ProviderSimple_GetPropertyValue (IRawElementProviderSimple *iface, PROPERTYID prop_id, VARIANT *ret_val) |
| |
| HRESULT WINAPI | ProviderSimple_get_HostRawElementProvider (IRawElementProviderSimple *iface, IRawElementProviderSimple **ret_val) |
| |
| static struct Provider * | impl_from_ProviderFragment (IRawElementProviderFragment *iface) |
| |
| static HRESULT WINAPI | ProviderFragment_QueryInterface (IRawElementProviderFragment *iface, REFIID riid, void **ppv) |
| |
| static ULONG WINAPI | ProviderFragment_AddRef (IRawElementProviderFragment *iface) |
| |
| static ULONG WINAPI | ProviderFragment_Release (IRawElementProviderFragment *iface) |
| |
| static HRESULT WINAPI | ProviderFragment_Navigate (IRawElementProviderFragment *iface, enum NavigateDirection direction, IRawElementProviderFragment **ret_val) |
| |
| static HRESULT WINAPI | ProviderFragment_GetRuntimeId (IRawElementProviderFragment *iface, SAFEARRAY **ret_val) |
| |
| static HRESULT WINAPI | ProviderFragment_get_BoundingRectangle (IRawElementProviderFragment *iface, struct UiaRect *ret_val) |
| |
| static HRESULT WINAPI | ProviderFragment_GetEmbeddedFragmentRoots (IRawElementProviderFragment *iface, SAFEARRAY **ret_val) |
| |
| static HRESULT WINAPI | ProviderFragment_SetFocus (IRawElementProviderFragment *iface) |
| |
| static HRESULT WINAPI | ProviderFragment_get_FragmentRoot (IRawElementProviderFragment *iface, IRawElementProviderFragmentRoot **ret_val) |
| |
| static struct Provider * | impl_from_ProviderFragmentRoot (IRawElementProviderFragmentRoot *iface) |
| |
| static HRESULT WINAPI | ProviderFragmentRoot_QueryInterface (IRawElementProviderFragmentRoot *iface, REFIID riid, void **ppv) |
| |
| static ULONG WINAPI | ProviderFragmentRoot_AddRef (IRawElementProviderFragmentRoot *iface) |
| |
| static ULONG WINAPI | ProviderFragmentRoot_Release (IRawElementProviderFragmentRoot *iface) |
| |
| static HRESULT WINAPI | ProviderFragmentRoot_ElementProviderFromPoint (IRawElementProviderFragmentRoot *iface, double x, double y, IRawElementProviderFragment **ret_val) |
| |
| static HRESULT WINAPI | ProviderFragmentRoot_GetFocus (IRawElementProviderFragmentRoot *iface, IRawElementProviderFragment **ret_val) |
| |
| static struct Provider * | impl_from_ProviderHwndOverride (IRawElementProviderHwndOverride *iface) |
| |
| static HRESULT WINAPI | ProviderHwndOverride_QueryInterface (IRawElementProviderHwndOverride *iface, REFIID riid, void **ppv) |
| |
| static ULONG WINAPI | ProviderHwndOverride_AddRef (IRawElementProviderHwndOverride *iface) |
| |
| static ULONG WINAPI | ProviderHwndOverride_Release (IRawElementProviderHwndOverride *iface) |
| |
| static HRESULT WINAPI | ProviderHwndOverride_GetOverrideProviderForHwnd (IRawElementProviderHwndOverride *iface, HWND hwnd, IRawElementProviderSimple **ret_val) |
| |
| static struct Provider * | impl_from_ProviderAdviseEvents (IRawElementProviderAdviseEvents *iface) |
| |
| static HRESULT WINAPI | ProviderAdviseEvents_QueryInterface (IRawElementProviderAdviseEvents *iface, REFIID riid, void **ppv) |
| |
| static ULONG WINAPI | ProviderAdviseEvents_AddRef (IRawElementProviderAdviseEvents *iface) |
| |
| static ULONG WINAPI | ProviderAdviseEvents_Release (IRawElementProviderAdviseEvents *iface) |
| |
| static HRESULT WINAPI | ProviderAdviseEvents_AdviseEventAdded (IRawElementProviderAdviseEvents *iface, EVENTID event_id, SAFEARRAY *prop_ids) |
| |
| static HRESULT WINAPI | ProviderAdviseEvents_AdviseEventRemoved (IRawElementProviderAdviseEvents *iface, EVENTID event_id, SAFEARRAY *prop_ids) |
| |
| static struct Provider * | impl_from_ProviderWinEventHandler (IProxyProviderWinEventHandler *iface) |
| |
| static HRESULT WINAPI | ProviderWinEventHandler_QueryInterface (IProxyProviderWinEventHandler *iface, REFIID riid, void **ppv) |
| |
| static ULONG WINAPI | ProviderWinEventHandler_AddRef (IProxyProviderWinEventHandler *iface) |
| |
| static ULONG WINAPI | ProviderWinEventHandler_Release (IProxyProviderWinEventHandler *iface) |
| |
| static HRESULT WINAPI | ProviderWinEventHandler_RespondToWinEvent (IProxyProviderWinEventHandler *iface, DWORD event_id, HWND hwnd, LONG obj_id, LONG child_id, IProxyProviderWinEventSink *event_sink) |
| |
| static struct Provider * | impl_from_ProviderValuePattern (IValueProvider *iface) |
| |
| static HRESULT WINAPI | ProviderValuePattern_QueryInterface (IValueProvider *iface, REFIID riid, void **ppv) |
| |
| static ULONG WINAPI | ProviderValuePattern_AddRef (IValueProvider *iface) |
| |
| static ULONG WINAPI | ProviderValuePattern_Release (IValueProvider *iface) |
| |
| static HRESULT WINAPI | ProviderValuePattern_SetValue (IValueProvider *iface, LPCWSTR val) |
| |
| static HRESULT WINAPI | ProviderValuePattern_get_Value (IValueProvider *iface, BSTR *ret_val) |
| |
| static HRESULT WINAPI | ProviderValuePattern_get_IsReadOnly (IValueProvider *iface, BOOL *ret_val) |
| |
| static struct Provider * | impl_from_ProviderLegacyIAccessiblePattern (ILegacyIAccessibleProvider *iface) |
| |
| static HRESULT WINAPI | ProviderLegacyIAccessiblePattern_QueryInterface (ILegacyIAccessibleProvider *iface, REFIID riid, void **ppv) |
| |
| static ULONG WINAPI | ProviderLegacyIAccessiblePattern_AddRef (ILegacyIAccessibleProvider *iface) |
| |
| static ULONG WINAPI | ProviderLegacyIAccessiblePattern_Release (ILegacyIAccessibleProvider *iface) |
| |
| static HRESULT WINAPI | ProviderLegacyIAccessiblePattern_Select (ILegacyIAccessibleProvider *iface, LONG select_flags) |
| |
| static HRESULT WINAPI | ProviderLegacyIAccessiblePattern_DoDefaultAction (ILegacyIAccessibleProvider *iface) |
| |
| static HRESULT WINAPI | ProviderLegacyIAccessiblePattern_SetValue (ILegacyIAccessibleProvider *iface, LPCWSTR val) |
| |
| static HRESULT WINAPI | ProviderLegacyIAccessiblePattern_GetIAccessible (ILegacyIAccessibleProvider *iface, IAccessible **out_acc) |
| |
| static HRESULT WINAPI | ProviderLegacyIAccessiblePattern_get_ChildId (ILegacyIAccessibleProvider *iface, int *out_cid) |
| |
| static HRESULT WINAPI | ProviderLegacyIAccessiblePattern_get_Name (ILegacyIAccessibleProvider *iface, BSTR *out_name) |
| |
| static HRESULT WINAPI | ProviderLegacyIAccessiblePattern_get_Value (ILegacyIAccessibleProvider *iface, BSTR *out_value) |
| |
| static HRESULT WINAPI | ProviderLegacyIAccessiblePattern_get_Description (ILegacyIAccessibleProvider *iface, BSTR *out_description) |
| |
| static HRESULT WINAPI | ProviderLegacyIAccessiblePattern_get_Role (ILegacyIAccessibleProvider *iface, DWORD *out_role) |
| |
| static HRESULT WINAPI | ProviderLegacyIAccessiblePattern_get_State (ILegacyIAccessibleProvider *iface, DWORD *out_state) |
| |
| static HRESULT WINAPI | ProviderLegacyIAccessiblePattern_get_Help (ILegacyIAccessibleProvider *iface, BSTR *out_help) |
| |
| static HRESULT WINAPI | ProviderLegacyIAccessiblePattern_get_KeyboardShortcut (ILegacyIAccessibleProvider *iface, BSTR *out_kbd_shortcut) |
| |
| static HRESULT WINAPI | ProviderLegacyIAccessiblePattern_GetSelection (ILegacyIAccessibleProvider *iface, SAFEARRAY **out_selected) |
| |
| static HRESULT WINAPI | ProviderLegacyIAccessiblePattern_get_DefaultAction (ILegacyIAccessibleProvider *iface, BSTR *out_default_action) |
| |
| | DEFINE_PROVIDER (hwnd_child) |
| |
| | DEFINE_PROVIDER (hwnd_child2) |
| |
| | DEFINE_PROVIDER (nc_child) |
| |
| | DEFINE_PROVIDER (nc_child2) |
| |
| | DEFINE_PROVIDER (child_child) |
| |
| | DEFINE_PROVIDER (child_child2) |
| |
| | DEFINE_PROVIDER (child2_child) |
| |
| | DEFINE_PROVIDER (child2_child_child) |
| |
| | DEFINE_PROVIDER (hwnd2) |
| |
| | DEFINE_PROVIDER (nc2) |
| |
| | DEFINE_PROVIDER (hwnd3) |
| |
| | DEFINE_PROVIDER (nc3) |
| |
| static LRESULT WINAPI | test_wnd_proc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) |
| |
| static LRESULT WINAPI | child_test_wnd_proc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) |
| |
| static void | test_UiaHostProviderFromHwnd (void) |
| |
| static DWORD WINAPI | uia_reserved_val_iface_marshal_thread (LPVOID param) |
| |
| static void | test_uia_reserved_value_ifaces (void) |
| |
| static void | proxy_event_sink_clear (void) |
| |
| static struct ProxyEventSink * | impl_from_ProxyEventSink (IProxyProviderWinEventSink *iface) |
| |
| static HRESULT WINAPI | ProxyEventSink_QueryInterface (IProxyProviderWinEventSink *iface, REFIID riid, void **obj) |
| |
| static ULONG WINAPI | ProxyEventSink_AddRef (IProxyProviderWinEventSink *iface) |
| |
| static ULONG WINAPI | ProxyEventSink_Release (IProxyProviderWinEventSink *iface) |
| |
| static HRESULT WINAPI | ProxyEventSink_AddAutomationPropertyChangedEvent (IProxyProviderWinEventSink *iface, IRawElementProviderSimple *elprov, PROPERTYID prop_id, VARIANT new_value) |
| |
| static HRESULT WINAPI | ProxyEventSink_AddAutomationEvent (IProxyProviderWinEventSink *iface, IRawElementProviderSimple *elprov, EVENTID event_id) |
| |
| static HRESULT WINAPI | ProxyEventSink_AddStructureChangedEvent (IProxyProviderWinEventSink *iface, IRawElementProviderSimple *elprov, enum StructureChangeType structure_change_type, SAFEARRAY *runtime_id) |
| |
| static void | set_accessible_props (struct Accessible *acc, INT role, INT state, LONG child_count, LPCWSTR name, LONG left, LONG top, LONG width, LONG height) |
| |
| static void | set_accessible_ia2_props (struct Accessible *acc, BOOL enable_ia2, LONG unique_id) |
| |
| static void | test_uia_prov_from_acc_winevent_handler (HWND hwnd) |
| |
| | DEFINE_GUID (SID_AccFromDAWrapper, 0x33f139ee, 0xe509, 0x47f7, 0xbf, 0x39, 0x83, 0x76, 0x44, 0xf7, 0x45, 0x76) |
| |
| static IAccessible * | msaa_acc_da_unwrap (IAccessible *acc) |
| |
| static void | check_msaa_prov_acc_ (IUnknown *elprov, IAccessible *acc, INT cid, int line) |
| |
| static void | check_msaa_prov_host_elem_prov_ (IUnknown *elem, BOOL exp_host_prov, int line) |
| |
| static void | test_uia_prov_from_acc_fragment_root (HWND hwnd) |
| |
| static void | test_uia_prov_from_acc_ia2 (void) |
| |
| static void | check_fragment_acc_ (IRawElementProviderFragment *elfrag, IAccessible *acc, INT cid, int line) |
| |
| static void | test_uia_prov_from_acc_navigation (void) |
| |
| static void | test_uia_prov_from_acc_properties (void) |
| |
| static void | test_UiaProviderFromIAccessible (void) |
| |
| static void | test_UiaLookupId (void) |
| |
| static void | check_uia_prop_val (PROPERTYID prop_id, enum UIAutomationType type, VARIANT *v, BOOL from_com) |
| |
| static DWORD WINAPI | uia_node_from_provider_test_com_thread (LPVOID param) |
| |
| static void | test_uia_node_from_prov_com_threading (void) |
| |
| static void | test_UiaNodeFromProvider (void) |
| |
| static void | set_uia_rect (struct UiaRect *rect, double left, double top, double width, double height) |
| |
| static void | check_uia_rect_val_ (VARIANT *v, struct UiaRect *rect, const char *file, int line) |
| |
| static void | check_uia_rect_rect_val_ (RECT *rect, struct UiaRect *uia_rect, const char *file, int line) |
| |
| static void | test_UiaGetPropertyValue (void) |
| |
| static void | test_UiaGetRuntimeId (void) |
| |
| static void | test_UiaHUiaNodeFromVariant (void) |
| |
| static void | test_UiaNodeFromHandle_client_proc (void) |
| |
| static DWORD WINAPI | uia_node_from_handle_test_thread (LPVOID param) |
| |
| static void | test_UiaNodeFromHandle (const char *name) |
| |
| static SAFEARRAY * | get_safearray_for_elprov (IRawElementProviderSimple *elprov) |
| |
| static SAFEARRAY WINAPI * | test_uia_provider_callback (HWND hwnd, enum ProviderType prov_type) |
| |
| static struct ClientSideProvider * | impl_from_ClientSideProvider (IRawElementProviderSimple *iface) |
| |
| static HRESULT WINAPI | ClientSideProvider_QueryInterface (IRawElementProviderSimple *iface, REFIID riid, void **ppv) |
| |
| static ULONG WINAPI | ClientSideProvider_AddRef (IRawElementProviderSimple *iface) |
| |
| static ULONG WINAPI | ClientSideProvider_Release (IRawElementProviderSimple *iface) |
| |
| static HRESULT WINAPI | ClientSideProvider_get_ProviderOptions (IRawElementProviderSimple *iface, enum ProviderOptions *ret_val) |
| |
| static HRESULT WINAPI | ClientSideProvider_GetPatternProvider (IRawElementProviderSimple *iface, PATTERNID pattern_id, IUnknown **ret_val) |
| |
| static HRESULT WINAPI | ClientSideProvider_GetPropertyValue (IRawElementProviderSimple *iface, PROPERTYID prop_id, VARIANT *ret_val) |
| |
| static HRESULT WINAPI | ClientSideProvider_get_HostRawElementProvider (IRawElementProviderSimple *iface, IRawElementProviderSimple **ret_val) |
| |
| static IRawElementProviderSimple * | create_temporary_clientside_provider (HWND hwnd, enum ProviderType prov_type) |
| |
| static SAFEARRAY WINAPI * | uia_com_win_event_clientside_provider_callback (HWND hwnd, enum ProviderType prov_type) |
| |
| static BOOL | wait_for_clientside_callbacks (DWORD total_timeout) |
| |
| static void | test_UiaRegisterProviderCallback (void) |
| |
| static void | set_cache_request (struct UiaCacheRequest *req, struct UiaCondition *view_cond, int scope, PROPERTYID *prop_ids, int prop_ids_count, PATTERNID *pattern_ids, int pattern_ids_count, int elem_mode) |
| |
| static void | set_property_condition (struct UiaPropertyCondition *cond, int prop_id, VARIANT *val, int flags) |
| |
| static void | set_and_or_condition (struct UiaAndOrCondition *cond, int cond_type, struct UiaCondition **conds, int cond_count) |
| |
| static void | set_not_condition (struct UiaNotCondition *cond, struct UiaCondition *not_cond) |
| |
| static void | init_node_provider_desc (struct node_provider_desc *desc, DWORD pid, HWND hwnd) |
| |
| static void | add_nested_provider_desc (struct node_provider_desc *desc, const WCHAR *prov_type, const WCHAR *prov_name, BOOL parent_link, struct node_provider_desc *nested_desc) |
| |
| static void | add_provider_desc (struct node_provider_desc *desc, const WCHAR *prov_type, const WCHAR *prov_name, BOOL parent_link) |
| |
| static void | test_node_provider_desc_ (struct node_provider_desc *desc, BSTR desc_str, const char *file, int line) |
| |
| static void | test_cache_req_sa_ (SAFEARRAY *sa, LONG exp_lbound[2], LONG exp_elems[2], struct node_provider_desc *exp_node_desc, const char *file, int line) |
| |
| static void | test_provider_event_advise_added_ (struct Provider *prov, int event_id, BOOL todo, const char *file, int line) |
| |
| static void | test_UiaGetUpdatedCache (void) |
| |
| static void | set_provider_nav_ifaces (struct Provider *prov, struct Provider *parent, struct Provider *frag_root, struct Provider *prev_sibling, struct Provider *next_sibling, struct Provider *first_child, struct Provider *last_child) |
| |
| static void | test_UiaNavigate (void) |
| |
| static void | set_find_params (struct UiaFindParams *params, int max_depth, BOOL find_first, BOOL exclude_root, struct UiaCondition *find_cond) |
| |
| static void | set_provider_win_event_handler_respond_prov (struct Provider *prov, IRawElementProviderSimple *responder_prov, int responder_event) |
| |
| static void | set_provider_win_event_handler_win_event_expects (struct Provider *prov, DWORD exp_win_event_id, HWND exp_win_event_hwnd, LONG exp_win_event_obj_id, LONG exp_win_event_child_id) |
| |
| static void | set_provider_runtime_id (struct Provider *prov, int val, int val2) |
| |
| static void | set_provider_method_event_data (struct Provider *prov, HANDLE event_handle, int method_id) |
| |
| static void | initialize_provider_advise_events_ids (struct Provider *prov) |
| |
| static void | test_find_sa_results_ (SAFEARRAY *tree_structs, SAFEARRAY *offsets, LONG exp_elems, const WCHAR **exp_tree_struct, int *exp_offset, const char *file, int line) |
| |
| static void | test_UiaFind (void) |
| |
| static DWORD WINAPI | interface_marshal_proxy_thread (LPVOID param) |
| |
| static HWND | create_test_hwnd (const char *class_name) |
| |
| static HWND | create_child_test_hwnd (const char *class_name, HWND parent) |
| |
| static void | destroy_test_hwnd (HWND hwnd, const char *class_name, const char *child_class_name) |
| |
| static IUIAutomationElement * | create_test_element_from_hwnd (IUIAutomation *uia_iface, HWND hwnd, BOOL block_hwnd_provs) |
| |
| static void | test_ElementFromHandle (IUIAutomation *uia_iface, BOOL is_cui8) |
| |
| static void | test_Element_GetPropertyValue (IUIAutomation *uia_iface) |
| |
| static void | test_CUIAutomation_value_conversion (IUIAutomation *uia_iface) |
| |
| static HRESULT WINAPI | Object_QueryInterface (IUnknown *iface, REFIID riid, void **ppv) |
| |
| static ULONG WINAPI | Object_AddRef (IUnknown *iface) |
| |
| static ULONG WINAPI | Object_Release (IUnknown *iface) |
| |
| static void | test_CUIAutomation_condition_ifaces (IUIAutomation *uia_iface) |
| |
| static void | test_CUIAutomation_cache_request_iface (IUIAutomation *uia_iface) |
| |
| static void | test_Element_cache_methods (IUIAutomation *uia_iface) |
| |
| static void | set_elem_desc (struct exp_elem_desc *desc, struct Provider *prov, HWND hwnd, DWORD pid, ULONG exp_refcnt, ULONG exp_release_refcnt) |
| |
| static void | test_uia_element_arr_ (IUIAutomationElementArray *elem_arr, struct exp_elem_desc *exp_elems, int exp_elems_count, const char *file, int line) |
| |
| static void | test_Element_Find (IUIAutomation *uia_iface) |
| |
| static void | test_CUIAutomation_TreeWalker_ifaces (IUIAutomation *uia_iface) |
| |
| static void | set_clientside_providers_for_hwnd (struct Provider *proxy_prov, struct Provider *nc_prov, struct Provider *hwnd_prov, HWND hwnd) |
| |
| static void | test_GetRootElement (IUIAutomation *uia_iface) |
| |
| static void | test_get_focused_elem_ (IUIAutomation *uia_iface, IUIAutomationCacheRequest *cache_req, HRESULT exp_hr, struct node_provider_desc *exp_node_desc, int proxy_cback_count, int base_hwnd_cback_count, int nc_cback_count, int win_get_obj_count, int child_win_get_obj_count, BOOL proxy_cback_todo, BOOL base_hwnd_cback_todo, BOOL nc_cback_todo, BOOL win_get_obj_todo, BOOL child_win_get_obj_todo, const char *file, int line) |
| |
| static void | test_GetFocusedElement (IUIAutomation *uia_iface) |
| |
| static void | set_uia_hwnd_expects (int proxy_cback_count, int base_hwnd_cback_count, int nc_cback_count, int win_get_uia_obj_count, int win_get_client_obj_count) |
| |
| static void | check_uia_hwnd_expects (int proxy_cback_count, BOOL proxy_cback_todo, int base_hwnd_cback_count, BOOL base_hwnd_cback_todo, int nc_cback_count, BOOL nc_cback_todo, int win_get_uia_obj_count, BOOL win_get_uia_obj_todo, int win_get_client_obj_count, BOOL win_get_client_obj_todo) |
| |
| static void | check_uia_hwnd_expects_at_most (int proxy_cback_count, int base_hwnd_cback_count, int nc_cback_count, int win_get_uia_obj_count, int win_get_client_obj_count) |
| |
| static void | check_uia_hwnd_expects_at_least (int proxy_cback_count, BOOL proxy_cback_todo, int base_hwnd_cback_count, BOOL base_hwnd_cback_todo, int nc_cback_count, BOOL nc_cback_todo, int win_get_uia_obj_count, BOOL win_get_uia_obj_todo, int win_get_client_obj_count, BOOL win_get_client_obj_todo) |
| |
| static void | push_event_queue_event (struct ExpectedEventQueue *queue, struct node_provider_desc *exp_node_desc) |
| |
| static struct node_provider_desc * | pop_event_queue_event (struct ExpectedEventQueue *queue) |
| |
| static void | set_com_event_data (struct node_provider_desc *exp_node_desc) |
| |
| static void | push_expected_com_event (struct node_provider_desc *exp_node_desc) |
| |
| static void | test_com_event_data_ (IUIAutomationElement *sender, const char *file, int line) |
| |
| static struct AutomationEventHandler * | impl_from_AutomationEventHandler (IUIAutomationEventHandler *iface) |
| |
| static HRESULT WINAPI | AutomationEventHandler_QueryInterface (IUIAutomationEventHandler *iface, REFIID riid, void **ppv) |
| |
| static ULONG WINAPI | AutomationEventHandler_AddRef (IUIAutomationEventHandler *iface) |
| |
| static ULONG WINAPI | AutomationEventHandler_Release (IUIAutomationEventHandler *iface) |
| |
| static HRESULT WINAPI | AutomationEventHandler_HandleAutomationEvent (IUIAutomationEventHandler *iface, IUIAutomationElement *sender, EVENTID event_id) |
| |
| static struct FocusChangedHandler * | impl_from_FocusChangedHandler (IUIAutomationFocusChangedEventHandler *iface) |
| |
| static HRESULT WINAPI | FocusChangedHandler_QueryInterface (IUIAutomationFocusChangedEventHandler *iface, REFIID riid, void **ppv) |
| |
| static ULONG WINAPI | FocusChangedHandler_AddRef (IUIAutomationFocusChangedEventHandler *iface) |
| |
| static ULONG WINAPI | FocusChangedHandler_Release (IUIAutomationFocusChangedEventHandler *iface) |
| |
| static HRESULT WINAPI | FocusChangedHandler_HandleFocusChangedEvent (IUIAutomationFocusChangedEventHandler *iface, IUIAutomationElement *sender) |
| |
| static DWORD WINAPI | uia_com_event_handler_test_thread (LPVOID param) |
| |
| static void | test_IUIAutomationEventHandler (IUIAutomation *uia_iface, IUIAutomationElement *elem) |
| |
| static void | test_IUIAutomationFocusChangedEventHandler (IUIAutomation *uia_iface) |
| |
| static void | set_method_event_handle_for_providers (struct Provider *main, struct Provider *hwnd, struct Provider *nc, HANDLE *handles, int method) |
| |
| static void | reset_event_advise_values_for_hwnd_providers (struct Provider *main, struct Provider *hwnd, struct Provider *nc) |
| |
| static void | test_hwnd_providers_event_advise_added_ (struct Provider *main, struct Provider *hwnd, struct Provider *nc, int event_id, BOOL todo, const char *file, int line) |
| |
| static void | test_uia_com_event_handler_event_advisement (IUIAutomation *uia_iface, HWND test_hwnd, HWND test_child_hwnd) |
| |
| static void | set_multi_event_data (struct node_provider_desc *exp_node_desc) |
| |
| static void | push_expected_event (struct node_provider_desc *exp_node_desc) |
| |
| static void WINAPI | multi_uia_event_callback (struct UiaEventArgs *args, SAFEARRAY *req_data, BSTR tree_struct) |
| |
| static void | test_uia_com_focus_change_event_handler_win_event_handling (IUIAutomation *uia_iface, HWND test_hwnd, HWND test_child_hwnd) |
| |
| static DWORD WINAPI | uia_com_event_handler_win_event_test_thread (LPVOID param) |
| |
| static void | test_CUIAutomation_event_handlers (IUIAutomation *uia_iface) |
| |
| static void | test_CUIAutomation (void) |
| |
| static void | test_node_hwnd_provider_ (HUIANODE node, HWND hwnd, const char *file, int line) |
| |
| static void | create_base_hwnd_test_node (HWND hwnd, BOOL child_hwnd, struct Provider *main, struct Provider *nc, HUIANODE *ret_node) |
| |
| static void | test_node_hwnd_provider_navigation_ (HUIANODE node, int nav_dir, HWND exp_dest_hwnd, const char *file, int line) |
| |
| static void | test_default_clientside_providers (void) |
| |
| static void | test_UiaGetRootNode (void) |
| |
| static void | test_node_from_focus_ (struct UiaCacheRequest *cache_req, struct node_provider_desc *exp_node_desc, int proxy_cback_count, int base_hwnd_cback_count, int nc_cback_count, int win_get_obj_count, int child_win_get_obj_count, BOOL proxy_cback_todo, BOOL base_hwnd_cback_todo, BOOL nc_cback_todo, BOOL win_get_obj_todo, BOOL child_win_get_obj_todo, const char *file, int line) |
| |
| static void | test_UiaNodeFromFocus (void) |
| |
| static void | set_event_data_struct (struct EventData *data, LONG exp_lbound0, LONG exp_lbound1, LONG exp_elems0, LONG exp_elems1, struct node_provider_desc *exp_node_desc, const WCHAR *exp_tree_struct) |
| |
| static void | set_event_data (LONG exp_lbound0, LONG exp_lbound1, LONG exp_elems0, LONG exp_elems1, struct node_provider_desc *exp_node_desc, const WCHAR *exp_tree_struct) |
| |
| static void | check_event_data_ (struct EventData *data, struct UiaEventArgs *args, SAFEARRAY *req_data, BSTR tree_struct, const char *file, int line) |
| |
| static void WINAPI | uia_event_callback (struct UiaEventArgs *args, SAFEARRAY *req_data, BSTR tree_struct) |
| |
| static void WINAPI | uia_event_callback2 (struct UiaEventArgs *args, SAFEARRAY *req_data, BSTR tree_struct) |
| |
| static struct Provider * | get_event_test_prov (int idx) |
| |
| static void | post_event_message (HWND hwnd, int msg, WPARAM wparam, int prov_id, int lparam_lower) |
| |
| static void | test_UiaAddEvent_client_proc (void) |
| |
| static DWORD WINAPI | uia_add_event_test_thread (LPVOID param) |
| |
| static void | test_UiaAddEvent_args (HUIANODE node) |
| |
| static void | test_UiaRemoveEvent_args (HUIANODE node) |
| |
| static void | test_UiaRaiseAutomationEvent_args (void) |
| |
| static void | test_UiaAddEvent (const char *name) |
| |
| static void | test_UiaHasServerSideProvider (void) |
| |
| static void | test_uia_event_win_event_mapping_ (DWORD win_event, HWND hwnd, LONG obj_id, LONG child_id, HANDLE *event_handles, int event_handle_count, BOOL expect_event1, BOOL expect_event2, BOOL todo, const char *file, int line) |
| |
| static DWORD WINAPI | uia_proxy_provider_win_event_handler_test_thread (LPVOID param) |
| |
| static void | test_uia_event_ProxyProviderWinEventHandler (void) |
| |
| static void | test_UiaClientsAreListening (void) |
| |
| static void | launch_test_process (const char *name, const char *test_name) |
| |
| | START_TEST (uiautomation) |
| |