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
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
;
35 typedef int TEXTATTRIBUTEID
;
36 typedef int CONTROLTYPEID
;
40 uuid(930299ce
-9965-4dec
-b0f4
-a54848d4b667
),
46 importlib
("stdole2.tlb");
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
);
70 uuid(f8b80ada
-2c44
-48d0
-89be
-5ff23c9cd875
),
71 pointer_default(unique),
74 interface IAccessibleEx
: IUnknown
76 HRESULT GetObjectForChild
(
78 [out, retval] IAccessibleEx
**pRetVal
);
80 HRESULT GetIAccessiblePair
(
81 [out] IAccessible
**ppAcc
,
82 [out] long *pidChild
);
85 [out, retval] SAFEARRAY(int) *pRetVal
);
87 HRESULT ConvertReturnedElement
(
88 [in] IRawElementProviderSimple
*pIn
,
89 [out] IAccessibleEx
**ppRetValOut
);