uiautomationcore: Add parent link check to prepare_uia_node().
[wine.git] / dlls / uiautomationcore / uia_classes.idl
blobd8982259050f30269c8fd75ce80f1cabbfd76c2b
1 /*
2 * Copyright 2022 Connor McAdams for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #pragma makedep regtypelib
21 import "oaidl.idl";
23 struct uia_prop_info {
24 const GUID *guid;
25 int prop_id;
26 int prop_type;
27 int type;
31 version(1.0),
32 uuid(8a9ca8eb-856b-43d9-abd7-4a590054064f),
34 library UIA_wine_private
36 importlib("stdole2.tlb");
39 object,
40 uuid(57865755-6c05-4522-98df-4ca658b768ef),
41 pointer_default(unique),
42 oleautomation,
44 interface IWineUiaProvider : IUnknown
46 HRESULT get_prop_val([in]const struct uia_prop_info *prop_info, [out, retval]VARIANT *ret_val);
47 HRESULT get_prov_opts([out, retval]int *out_opts);
48 HRESULT has_parent([out, retval]BOOL *out_val);
52 object,
53 uuid(bccb6799-d831-4057-bd50-6425823ff1a3),
54 pointer_default(unique),
55 oleautomation,
57 interface IWineUiaNode : IUnknown
59 HRESULT get_provider([in]int idx, [out, retval]IWineUiaProvider **out_prov);
60 HRESULT get_prop_val([in]const GUID *prop_guid, [out, retval]VARIANT *ret_val);
61 HRESULT disconnect();
62 HRESULT get_hwnd([out, retval]ULONG *out_hwnd);