TESTING -- override pthreads to fix gstreamer v5
[wine/multimedia.git] / include / uiautomationcore.idl
blob3ae6dac4b3ff170668597e679e3450de4ee4b9cc
1 /*
2 * Copyright 2012 Jacek Caban 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 #define DO_NO_IMPORTS
20 import "oaidl.idl";
21 import "oleacc.idl";
23 enum ProviderOptions {
24 ProviderOptions_ClientSideProvider = 0x0001,
25 ProviderOptions_ServerSideProvider = 0x0002,
26 ProviderOptions_NonClientAreaProvider = 0x0004,
27 ProviderOptions_OverrideProvider = 0x0008,
28 ProviderOptions_ProviderOwnsSetFocus = 0x0010,
29 ProviderOptions_UseComThreading = 0x0020
32 typedef int PROPERTYID;
33 typedef int PATTERNID;
34 typedef int EVENTID;
35 typedef int TEXTATTRIBUTEID;
36 typedef int CONTROLTYPEID;
39 version(1.0),
40 uuid(930299ce-9965-4dec-b0f4-a54848d4b667),
41 lcid(0),
42 hidden
44 library UIA
46 importlib("stdole2.tlb");
49 object,
50 uuid(d6dd68d1-86fd-4332-8666-9abedea2d24c),
51 pointer_default(unique)
53 interface IRawElementProviderSimple : IUnknown
55 [propget] HRESULT ProviderOptions([out, retval] enum ProviderOptions *pRetVal);
57 HRESULT GetPatternProvider(
58 [in] PATTERNID patternId,
59 [out, retval] IUnknown **pRetVal);
61 HRESULT GetPropertyValue(
62 [in] PROPERTYID propertyId,
63 [out, retval] VARIANT *pRetVal);
65 [propget] HRESULT HostRawElementProvider([out, retval] IRawElementProviderSimple **pRetVal);
69 object,
70 uuid(f8b80ada-2c44-48d0-89be-5ff23c9cd875),
71 pointer_default(unique),
72 oleautomation
74 interface IAccessibleEx : IUnknown
76 HRESULT GetObjectForChild(
77 [in] long idChild,
78 [out, retval] IAccessibleEx **pRetVal);
80 HRESULT GetIAccessiblePair(
81 [out] IAccessible **ppAcc,
82 [out] long *pidChild);
84 HRESULT GetRuntimeId(
85 [out, retval] SAFEARRAY(int) *pRetVal);
87 HRESULT ConvertReturnedElement(
88 [in] IRawElementProviderSimple *pIn,
89 [out] IAccessibleEx **ppRetValOut);