VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/shaderlib/wine/include/oleacc.idl@ 69505

Last change on this file since 69505 was 53206, checked in by vboxsync, 10 years ago

Devices/vmsvga: header fixes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 13.9 KB
Line 
1/*
2 * Copyright (C) 2005 Dmitry Timoshkov
3 *
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.
8 *
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.
13 *
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
17 */
18
19/*
20 * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
21 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
22 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
23 * a choice of LGPL license versions is made available with the language indicating
24 * that LGPLv2 or any later version may be used, or where a choice of which version
25 * of the LGPL is applied is otherwise unspecified.
26 */
27
28import "oaidl.idl";
29
30cpp_quote("#define NAVDIR_UP 1")
31cpp_quote("#define NAVDIR_DOWN 2")
32cpp_quote("#define NAVDIR_LEFT 3")
33cpp_quote("#define NAVDIR_RIGHT 4")
34cpp_quote("#define NAVDIR_NEXT 5")
35cpp_quote("#define NAVDIR_PREVIOUS 6")
36cpp_quote("#define NAVDIR_FIRSTCHILD 7")
37cpp_quote("#define NAVDIR_LASTCHILD 8")
38
39cpp_quote("#define ROLE_SYSTEM_TITLEBAR 1")
40cpp_quote("#define ROLE_SYSTEM_MENUBAR 2")
41cpp_quote("#define ROLE_SYSTEM_SCROLLBAR 3")
42cpp_quote("#define ROLE_SYSTEM_GRIP 4")
43cpp_quote("#define ROLE_SYSTEM_SOUND 5")
44cpp_quote("#define ROLE_SYSTEM_CURSOR 6")
45cpp_quote("#define ROLE_SYSTEM_CARET 7")
46cpp_quote("#define ROLE_SYSTEM_ALERT 8")
47cpp_quote("#define ROLE_SYSTEM_WINDOW 9")
48cpp_quote("#define ROLE_SYSTEM_CLIENT 10")
49cpp_quote("#define ROLE_SYSTEM_MENUPOPUP 11")
50cpp_quote("#define ROLE_SYSTEM_MENUITEM 12")
51cpp_quote("#define ROLE_SYSTEM_TOOLTIP 13")
52cpp_quote("#define ROLE_SYSTEM_APPLICATION 14")
53cpp_quote("#define ROLE_SYSTEM_DOCUMENT 15")
54cpp_quote("#define ROLE_SYSTEM_PANE 16")
55cpp_quote("#define ROLE_SYSTEM_CHART 17")
56cpp_quote("#define ROLE_SYSTEM_DIALOG 18")
57cpp_quote("#define ROLE_SYSTEM_BORDER 19")
58cpp_quote("#define ROLE_SYSTEM_GROUPING 20")
59cpp_quote("#define ROLE_SYSTEM_SEPARATOR 21")
60cpp_quote("#define ROLE_SYSTEM_TOOLBAR 22")
61cpp_quote("#define ROLE_SYSTEM_STATUSBAR 23")
62cpp_quote("#define ROLE_SYSTEM_TABLE 24")
63cpp_quote("#define ROLE_SYSTEM_COLUMNHEADER 25")
64cpp_quote("#define ROLE_SYSTEM_ROWHEADER 26")
65cpp_quote("#define ROLE_SYSTEM_COLUMN 27")
66cpp_quote("#define ROLE_SYSTEM_ROW 28")
67cpp_quote("#define ROLE_SYSTEM_CELL 29")
68cpp_quote("#define ROLE_SYSTEM_LINK 30")
69cpp_quote("#define ROLE_SYSTEM_HELPBALLOON 31")
70cpp_quote("#define ROLE_SYSTEM_CHARACTER 32")
71cpp_quote("#define ROLE_SYSTEM_LIST 33")
72cpp_quote("#define ROLE_SYSTEM_LISTITEM 34")
73cpp_quote("#define ROLE_SYSTEM_OUTLINE 35")
74cpp_quote("#define ROLE_SYSTEM_OUTLINEITEM 36")
75cpp_quote("#define ROLE_SYSTEM_PAGETAB 37")
76cpp_quote("#define ROLE_SYSTEM_PROPERTYPAGE 38")
77cpp_quote("#define ROLE_SYSTEM_INDICATOR 39")
78cpp_quote("#define ROLE_SYSTEM_GRAPHIC 40")
79cpp_quote("#define ROLE_SYSTEM_STATICTEXT 41")
80cpp_quote("#define ROLE_SYSTEM_TEXT 42")
81cpp_quote("#define ROLE_SYSTEM_PUSHBUTTON 43")
82cpp_quote("#define ROLE_SYSTEM_CHECKBUTTON 44")
83cpp_quote("#define ROLE_SYSTEM_RADIOBUTTON 45")
84cpp_quote("#define ROLE_SYSTEM_COMBOBOX 46")
85cpp_quote("#define ROLE_SYSTEM_DROPLIST 47")
86cpp_quote("#define ROLE_SYSTEM_PROGRESSBAR 48")
87cpp_quote("#define ROLE_SYSTEM_DIAL 49")
88cpp_quote("#define ROLE_SYSTEM_HOTKEYFIELD 50")
89cpp_quote("#define ROLE_SYSTEM_SLIDER 51")
90cpp_quote("#define ROLE_SYSTEM_SPINBUTTON 52")
91cpp_quote("#define ROLE_SYSTEM_DIAGRAM 53")
92cpp_quote("#define ROLE_SYSTEM_ANIMATION 54")
93cpp_quote("#define ROLE_SYSTEM_EQUATION 55")
94cpp_quote("#define ROLE_SYSTEM_BUTTONDROPDOWN 56")
95cpp_quote("#define ROLE_SYSTEM_BUTTONMENU 57")
96cpp_quote("#define ROLE_SYSTEM_BUTTONDROPDOWNGRID 58")
97cpp_quote("#define ROLE_SYSTEM_WHITESPACE 59")
98cpp_quote("#define ROLE_SYSTEM_PAGETABLIST 60")
99cpp_quote("#define ROLE_SYSTEM_CLOCK 61")
100cpp_quote("#define ROLE_SYSTEM_SPLITBUTTON 62")
101cpp_quote("#define ROLE_SYSTEM_IPADDRESS 63")
102cpp_quote("#define ROLE_SYSTEM_OUTLINEBUTTON 64")
103
104cpp_quote("#define SELFLAG_NONE 0x00")
105cpp_quote("#define SELFLAG_TAKEFOCUS 0x01")
106cpp_quote("#define SELFLAG_TAKESELECTION 0x02")
107cpp_quote("#define SELFLAG_EXTENDSELECTION 0x04")
108cpp_quote("#define SELFLAG_ADDSELECTION 0x08")
109cpp_quote("#define SELFLAG_REMOVESELECTION 0x10")
110cpp_quote("#define SELFLAG_VALID 0x1f")
111
112typedef GUID MSAAPROPID;
113
114typedef enum AnnoScope
115{
116 ANNO_THIS,
117 ANNO_CONTAINER
118} AnnoScope;
119
120[
121 local,
122 object,
123 uuid(618736e0-3c3d-11cf-810c-00aa00389b71),
124 pointer_default(unique)
125]
126interface IAccessible : IDispatch
127{
128 typedef [unique] IAccessible *LPACCESSIBLE;
129 const long DISPID_ACC_PARENT = -5000;
130 const long DISPID_ACC_CHILDCOUNT = -5001;
131 const long DISPID_ACC_CHILD = -5002;
132 const long DISPID_ACC_NAME = -5003;
133 const long DISPID_ACC_VALUE = -5004;
134 const long DISPID_ACC_DESCRIPTION= -5005;
135 const long DISPID_ACC_ROLE = -5006;
136 const long DISPID_ACC_STATE = -5007;
137 const long DISPID_ACC_HELP = -5008;
138 const long DISPID_ACC_HELPTOPIC = -5009;
139 const long DISPID_ACC_KEYBOARDSHORTCUT = -5010;
140 const long DISPID_ACC_FOCUS = -5011;
141 const long DISPID_ACC_SELECTION = -5012;
142 const long DISPID_ACC_DEFAULTACTION = -5013;
143 const long DISPID_ACC_SELECT = -5014;
144 const long DISPID_ACC_LOCATION = -5015;
145 const long DISPID_ACC_NAVIGATE = -5016;
146 const long DISPID_ACC_HITTEST = -5017;
147 const long DISPID_ACC_DODEFAULTACTION = -5018;
148
149 [hidden, propget, id(DISPID_ACC_PARENT)] HRESULT accParent([out, retval]IDispatch** ppdispParent);
150 [hidden, propget, id(DISPID_ACC_CHILDCOUNT)] HRESULT accChildCount([out, retval] long* pcountChildren);
151 [hidden, propget, id(DISPID_ACC_CHILD)] HRESULT accChild([in] VARIANT varChildID, [out, retval]IDispatch **ppdispChild);
152 [hidden, propget, id(DISPID_ACC_NAME)] HRESULT accName([in]VARIANT varID, [out, retval] BSTR* pszName);
153 [hidden, propget, id(DISPID_ACC_VALUE)] HRESULT accValue([in]VARIANT varID, [out, retval] BSTR* pszValue);
154 [hidden, propget, id(DISPID_ACC_DESCRIPTION)] HRESULT accDescription([in]VARIANT varID, [out, retval] BSTR* pszDescription);
155 [hidden, propget, id(DISPID_ACC_ROLE)] HRESULT accRole([in]VARIANT varID, [out, retval]VARIANT* pvarRole);
156 [hidden, propget, id(DISPID_ACC_STATE)] HRESULT accState([in]VARIANT varID, [out, retval]VARIANT* pvarState);
157 [hidden, propget, id(DISPID_ACC_HELP)] HRESULT accHelp([in]VARIANT varID, [out, retval]BSTR* pszHelp);
158 [hidden, propget, id(DISPID_ACC_HELPTOPIC)] HRESULT accHelpTopic([out]BSTR* pszHelpFile, [in]VARIANT varID, [out, retval] long* pidTopic);
159 [hidden, propget, id(DISPID_ACC_KEYBOARDSHORTCUT)] HRESULT accKeyboardShortcut([in]VARIANT varID, [out, retval] BSTR* pszKeyboardShortcut);
160 [hidden, propget, id(DISPID_ACC_FOCUS)] HRESULT accFocus([out, retval] VARIANT* pvarID);
161 [hidden, propget, id(DISPID_ACC_SELECTION)] HRESULT accSelection([out, retval] VARIANT* pvarID);
162 [hidden, propget, id(DISPID_ACC_DEFAULTACTION)] HRESULT accDefaultAction([in]VARIANT varID, [out, retval] BSTR* pszDefaultAction);
163
164 [hidden, id(DISPID_ACC_SELECT)] HRESULT accSelect([in]long flagsSelect, [in]VARIANT varID);
165 [hidden, id(DISPID_ACC_LOCATION)] HRESULT accLocation([out]long* pxLeft, [out]long* pyTop, [out]long* pcxWidth, [out]long* pcyHeight, [in]VARIANT varID);
166 [hidden, id(DISPID_ACC_NAVIGATE)] HRESULT accNavigate([in]long navDir, [in]VARIANT varStart, [out, retval] VARIANT* pvarEnd);
167 [hidden, id(DISPID_ACC_HITTEST)] HRESULT accHitTest([in]long xLeft, [in]long yTop, [out,retval] VARIANT* pvarID);
168 [hidden, id(DISPID_ACC_DODEFAULTACTION)] HRESULT accDoDefaultAction([in]VARIANT varID);
169
170 [hidden, propput, id(DISPID_ACC_NAME)] HRESULT accName([in]VARIANT varID, [in]BSTR pszName);
171 [hidden, propput, id(DISPID_ACC_VALUE)] HRESULT accValue([in]VARIANT varID, [out, retval]BSTR pszValue);
172}
173
174[
175 object,
176 uuid(03022430-ABC4-11d0-BDE2-00AA001A1953),
177 hidden,
178 oleautomation,
179 pointer_default(unique)
180]
181interface IAccessibleHandler : IUnknown
182{
183 typedef [unique] IAccessibleHandler *LPACCESSIBLEHANDLER;
184
185 HRESULT AccessibleObjectFromID( [in] long hwnd, [in] long lObjectID, [out] LPACCESSIBLE *pIAccessible );
186}
187
188[
189 object,
190 uuid(7852b78d-1cfd-41c1-a615-9c0c85960b5f),
191 pointer_default(unique)
192]
193interface IAccIdentity : IUnknown
194{
195 HRESULT GetIdentityString ([in] DWORD dwIDChild, [out] BYTE **ppIDString, [out] DWORD *pdwIDStringLen);
196}
197
198[
199 object,
200 uuid(76c0dbbb-15e0-4e7b-b61b-20eeea2001e0),
201 pointer_default(unique)
202]
203interface IAccPropServer: IUnknown
204{
205 HRESULT GetPropValue ([in] const BYTE *pIDString, [in] DWORD dwIDStringLen, [in] MSAAPROPID idProp,
206 [out] VARIANT *pvarValue, [out] BOOL *pfHasProp);
207}
208
209[
210 object,
211 uuid(6e26e776-04f0-495d-80e4-3330352e3169),
212 pointer_default(unique)
213]
214interface IAccPropServices : IUnknown
215{
216 HRESULT SetPropValue([in] const BYTE *pIDString, [in] DWORD dwIDStringLen, [in] MSAAPROPID idProp, [in] VARIANT var);
217
218 HRESULT SetPropServer([in] const BYTE * pIDString, [in] DWORD dwIDStringLen, [in] const MSAAPROPID* paProps,
219 [in] int cProps, [in] IAccPropServer* pServer, [in] AnnoScope AnnoScope);
220
221 HRESULT ClearProps([in] const BYTE *pIDString, [in] DWORD dwIDStringLen, [in] const MSAAPROPID* paProps, [in] int cProps);
222
223 HRESULT SetHwndProp([in] HWND hwnd, [in] DWORD idObject, [in] DWORD idChild,
224 [in] MSAAPROPID idProp, [in] VARIANT var);
225
226 HRESULT SetHwndPropStr([in] HWND hwnd, [in] DWORD idObject, [in] DWORD idChild,
227 [in] MSAAPROPID idProp, [in] LPWSTR str);
228
229 HRESULT SetHwndPropServer([in] HWND hwnd, [in] DWORD idObject, [in] DWORD idChild,
230 [in] const MSAAPROPID* paProps, [in] int cProps, [in] IAccPropServer* pServer, [in] AnnoScope AnnoScope);
231
232 HRESULT ClearHwndProps([in] HWND hwnd, [in] DWORD idObject, [in] DWORD idChild,
233 [in] const MSAAPROPID* paProps, [in] int cProps);
234
235 HRESULT ComposeHwndIdentityString([in] HWND hwnd, [in] DWORD idObject, [in] DWORD idChild,
236 [out] BYTE **ppIDString, [out] DWORD* pdwIDStringLen);
237
238 HRESULT DecomposeHwndIdentityString([in] const BYTE *pIDString, [in] DWORD dwIDStringLen,
239 [out] HWND* phwnd, [out] DWORD* pidObject, [out] DWORD* pidChild);
240
241 HRESULT SetHmenuProp([in] HMENU hmenu, [in] DWORD idChild, [in] MSAAPROPID idProp, [in] VARIANT var);
242
243 HRESULT SetHmenuPropStr([in] HMENU hmenu, [in] DWORD idChild, [in] MSAAPROPID idProp, [in] LPWSTR str);
244
245 HRESULT SetHmenuPropServer([in] HMENU hmenu, [in] DWORD idChild, [in] const MSAAPROPID* paProps,
246 [in] int cProps, [in] IAccPropServer* pServer, [in] AnnoScope AnnoScope);
247
248 HRESULT ClearHmenuProps([in] HMENU hmenu, [in] DWORD idChild, [in] const MSAAPROPID* paProps, [in] int cProps);
249
250 HRESULT ComposeHmenuIdentityString([in] HMENU hmenu, [in] DWORD idChild,
251 [out] BYTE **ppIDString, [out] DWORD *pdwIDStringLen);
252
253 HRESULT DecomposeHmenuIdentityString([in] const BYTE *pIDString, [in] DWORD dwIDStringLen,
254 [out] HMENU *phmenu, [out] DWORD *pidChild);
255}
256
257[
258 uuid(1ea4dbf0-3c3b-11cf-810c-00aa00389b71),
259 lcid(0),
260 version(1.1),
261 hidden
262]
263library Accessibility
264{
265 importlib ("stdole2.tlb");
266 interface IAccessible;
267 interface IAccessibleHandler;
268
269 interface IAccIdentity;
270 interface IAccPropServer;
271 interface IAccPropServices;
272
273 [
274 uuid(b5f8350b-0548-48b1-a6ee-88bd00b4a5e7)
275 ]
276 coclass CAccPropServices
277 {
278 interface IAccPropServices;
279 }
280};
281
282cpp_quote("DEFINE_GUID(LIBID_Accessibility, 0x1ea4dbf0, 0x3c3b, 0x11cf, 0x81, 0x0c, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);")
283cpp_quote("DEFINE_GUID(CLSID_AccPropServices, 0xb5f8350b, 0x0548, 0x48b1, 0xa6, 0xee, 0x88, 0xbd, 0x00, 0xb4, 0xa5, 0xe7);")
284cpp_quote("DEFINE_GUID(IIS_IsOleaccProxy, 0x902697fa, 0x80e4, 0x4560, 0x80, 0x2a, 0xa1, 0x3f, 0x22, 0xa6, 0x47, 0x09);")
285
286cpp_quote("LRESULT WINAPI LresultFromObject(REFIID,WPARAM,LPUNKNOWN);")
287cpp_quote("HRESULT WINAPI ObjectFromLresult(LRESULT,REFIID,WPARAM,void **);")
288cpp_quote("HRESULT WINAPI WindowFromAccessibleObject(IAccessible *,HWND *);")
289cpp_quote("HRESULT WINAPI AccessibleObjectFromWindow(HWND,DWORD,REFIID,void **);")
290cpp_quote("HRESULT WINAPI AccessibleObjectFromEvent(HWND,DWORD,DWORD,IAccessible **,VARIANT *);")
291cpp_quote("HRESULT WINAPI AccessibleObjectFromPoint(POINT,IAccessible **,VARIANT *);")
292cpp_quote("HRESULT WINAPI AccessibleChildren(IAccessible *,LONG,LONG,VARIANT *,LONG *);")
293
294cpp_quote("void WINAPI GetOleaccVersionInfo(DWORD *,DWORD *);")
295cpp_quote("HRESULT WINAPI CreateStdAccessibleObject(HWND,LONG,REFIID,void **);")
296cpp_quote("HRESULT WINAPI CreateStdAccessibleProxyA(HWND,LPCSTR,LONG,REFIID,void **);")
297cpp_quote("HRESULT WINAPI CreateStdAccessibleProxyW(HWND,LPCWSTR,LONG,REFIID,void **);")
298cpp_quote("#define CreateStdAccessibleProxy WINELIB_NAME_AW(CreateStdAccessibleProxy)")
299
300cpp_quote("UINT WINAPI GetRoleTextA(DWORD,LPSTR,UINT);")
301cpp_quote("UINT WINAPI GetRoleTextW(DWORD,LPWSTR,UINT);")
302cpp_quote("#define GetRoleText WINELIB_NAME_AW(GetRoleText)")
303cpp_quote("UINT WINAPI GetStateTextA(DWORD,LPSTR,UINT);")
304cpp_quote("UINT WINAPI GetStateTextW(DWORD,LPWSTR,UINT);")
305cpp_quote("#define GetStateText WINELIB_NAME_AW(GetStateText)")
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette