mshtml: Always return fake scheme in nsIURI::GetScheme if use_wine_url is set.
[wine] / include / oleacc.idl
CommitLineData
eee2c4a4
DT
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
19import "oaidl.idl";
20
1733875f
ML
21cpp_quote("#define NAVDIR_UP 1")
22cpp_quote("#define NAVDIR_DOWN 2")
23cpp_quote("#define NAVDIR_LEFT 3")
24cpp_quote("#define NAVDIR_RIGHT 4")
25cpp_quote("#define NAVDIR_NEXT 5")
26cpp_quote("#define NAVDIR_PREVIOUS 6")
27cpp_quote("#define NAVDIR_FIRSTCHILD 7")
28cpp_quote("#define NAVDIR_LASTCHILD 8")
29
30cpp_quote("#define ROLE_SYSTEM_TITLEBAR 1")
31cpp_quote("#define ROLE_SYSTEM_MENUBAR 2")
32cpp_quote("#define ROLE_SYSTEM_SCROLLBAR 3")
33cpp_quote("#define ROLE_SYSTEM_GRIP 4")
34cpp_quote("#define ROLE_SYSTEM_SOUND 5")
35cpp_quote("#define ROLE_SYSTEM_CURSOR 6")
36cpp_quote("#define ROLE_SYSTEM_CARET 7")
37cpp_quote("#define ROLE_SYSTEM_ALERT 8")
38cpp_quote("#define ROLE_SYSTEM_WINDOW 9")
39cpp_quote("#define ROLE_SYSTEM_CLIENT 10")
40cpp_quote("#define ROLE_SYSTEM_MENUPOPUP 11")
41cpp_quote("#define ROLE_SYSTEM_MENUITEM 12")
42cpp_quote("#define ROLE_SYSTEM_TOOLTIP 13")
43cpp_quote("#define ROLE_SYSTEM_APPLICATION 14")
44cpp_quote("#define ROLE_SYSTEM_DOCUMENT 15")
45cpp_quote("#define ROLE_SYSTEM_PANE 16")
46cpp_quote("#define ROLE_SYSTEM_CHART 17")
47cpp_quote("#define ROLE_SYSTEM_DIALOG 18")
48cpp_quote("#define ROLE_SYSTEM_BORDER 19")
49cpp_quote("#define ROLE_SYSTEM_GROUPING 20")
50cpp_quote("#define ROLE_SYSTEM_SEPARATOR 21")
51cpp_quote("#define ROLE_SYSTEM_TOOLBAR 22")
52cpp_quote("#define ROLE_SYSTEM_STATUSBAR 23")
53cpp_quote("#define ROLE_SYSTEM_TABLE 24")
54cpp_quote("#define ROLE_SYSTEM_COLUMNHEADER 25")
55cpp_quote("#define ROLE_SYSTEM_ROWHEADER 26")
56cpp_quote("#define ROLE_SYSTEM_COLUMN 27")
57cpp_quote("#define ROLE_SYSTEM_ROW 28")
58cpp_quote("#define ROLE_SYSTEM_CELL 29")
59cpp_quote("#define ROLE_SYSTEM_LINK 30")
60cpp_quote("#define ROLE_SYSTEM_HELPBALLOON 31")
61cpp_quote("#define ROLE_SYSTEM_CHARACTER 32")
62cpp_quote("#define ROLE_SYSTEM_LIST 33")
63cpp_quote("#define ROLE_SYSTEM_LISTITEM 34")
64cpp_quote("#define ROLE_SYSTEM_OUTLINE 35")
65cpp_quote("#define ROLE_SYSTEM_OUTLINEITEM 36")
66cpp_quote("#define ROLE_SYSTEM_PAGETAB 37")
67cpp_quote("#define ROLE_SYSTEM_PROPERTYPAGE 38")
68cpp_quote("#define ROLE_SYSTEM_INDICATOR 39")
69cpp_quote("#define ROLE_SYSTEM_GRAPHIC 40")
70cpp_quote("#define ROLE_SYSTEM_STATICTEXT 41")
71cpp_quote("#define ROLE_SYSTEM_TEXT 42")
72cpp_quote("#define ROLE_SYSTEM_PUSHBUTTON 43")
73cpp_quote("#define ROLE_SYSTEM_CHECKBUTTON 44")
74cpp_quote("#define ROLE_SYSTEM_RADIOBUTTON 45")
75cpp_quote("#define ROLE_SYSTEM_COMBOBOX 46")
76cpp_quote("#define ROLE_SYSTEM_DROPLIST 47")
77cpp_quote("#define ROLE_SYSTEM_PROGRESSBAR 48")
78cpp_quote("#define ROLE_SYSTEM_DIAL 49")
79cpp_quote("#define ROLE_SYSTEM_HOTKEYFIELD 50")
80cpp_quote("#define ROLE_SYSTEM_SLIDER 51")
81cpp_quote("#define ROLE_SYSTEM_SPINBUTTON 52")
82cpp_quote("#define ROLE_SYSTEM_DIAGRAM 53")
83cpp_quote("#define ROLE_SYSTEM_ANIMATION 54")
84cpp_quote("#define ROLE_SYSTEM_EQUATION 55")
85cpp_quote("#define ROLE_SYSTEM_BUTTONDROPDOWN 56")
86cpp_quote("#define ROLE_SYSTEM_BUTTONMENU 57")
87cpp_quote("#define ROLE_SYSTEM_BUTTONDROPDOWNGRID 58")
88cpp_quote("#define ROLE_SYSTEM_WHITESPACE 59")
89cpp_quote("#define ROLE_SYSTEM_PAGETABLIST 60")
90cpp_quote("#define ROLE_SYSTEM_CLOCK 61")
91cpp_quote("#define ROLE_SYSTEM_SPLITBUTTON 62")
92cpp_quote("#define ROLE_SYSTEM_IPADDRESS 63")
93cpp_quote("#define ROLE_SYSTEM_OUTLINEBUTTON 64")
94
95cpp_quote("#define SELFLAG_NONE 0x00")
96cpp_quote("#define SELFLAG_TAKEFOCUS 0x01")
97cpp_quote("#define SELFLAG_TAKESELECTION 0x02")
98cpp_quote("#define SELFLAG_EXTENDSELECTION 0x04")
99cpp_quote("#define SELFLAG_ADDSELECTION 0x08")
100cpp_quote("#define SELFLAG_REMOVESELECTION 0x10")
101cpp_quote("#define SELFLAG_VALID 0x1f")
102
103[
104 local,
105 object,
106 uuid(618736e0-3c3d-11cf-810c-00aa00389b71),
107 pointer_default(unique)
108]
109interface IAccessible : IDispatch
110{
111 typedef [unique] IAccessible *LPACCESSIBLE;
112 const long DISPID_ACC_PARENT = -5000;
113 const long DISPID_ACC_CHILDCOUNT = -5001;
114 const long DISPID_ACC_CHILD = -5002;
115 const long DISPID_ACC_NAME = -5003;
116 const long DISPID_ACC_VALUE = -5004;
117 const long DISPID_ACC_DESCRIPTION= -5005;
118 const long DISPID_ACC_ROLE = -5006;
119 const long DISPID_ACC_STATE = -5007;
120 const long DISPID_ACC_HELP = -5008;
121 const long DISPID_ACC_HELPTOPIC = -5009;
122 const long DISPID_ACC_KEYBOARDSHORTCUT = -5010;
123 const long DISPID_ACC_FOCUS = -5011;
124 const long DISPID_ACC_SELECTION = -5012;
125 const long DISPID_ACC_DEFAULTACTION = -5013;
126 const long DISPID_ACC_SELECT = -5014;
127 const long DISPID_ACC_LOCATION = -5015;
128 const long DISPID_ACC_NAVIGATE = -5016;
129 const long DISPID_ACC_HITTEST = -5017;
130 const long DISPID_ACC_DODEFAULTACTION = -5018;
131
132 [hidden, propget, id(DISPID_ACC_PARENT)] HRESULT accParent([out, retval]IDispatch** ppdispParent);
133 [hidden, propget, id(DISPID_ACC_CHILDCOUNT)] HRESULT accChildCount([out, retval] long* pcountChildren);
134 [hidden, propget, id(DISPID_ACC_CHILD)] HRESULT accChild([in] VARIANT varChildID, [out, retval]IDispatch **ppdispChild);
135 [hidden, propget, id(DISPID_ACC_NAME)] HRESULT accName([in]VARIANT varID, [out, retval] BSTR* pszName);
136 [hidden, propget, id(DISPID_ACC_VALUE)] HRESULT accValue([in]VARIANT varID, [out, retval] BSTR* pszValue);
137 [hidden, propget, id(DISPID_ACC_DESCRIPTION)] HRESULT accDescription([in]VARIANT varID, [out, retval] BSTR* pszDescription);
138 [hidden, propget, id(DISPID_ACC_ROLE)] HRESULT accRole([in]VARIANT varID, [out, retval]VARIANT* pvarRole);
139 [hidden, propget, id(DISPID_ACC_STATE)] HRESULT accState([in]VARIANT varID, [out, retval]VARIANT* pvarState);
140 [hidden, propget, id(DISPID_ACC_HELP)] HRESULT accHelp([in]VARIANT varID, [out, retval]BSTR* pszHelp);
141 [hidden, propget, id(DISPID_ACC_HELPTOPIC)] HRESULT accHelpTopic([out]BSTR* pszHelpFile, [in]VARIANT varID, [out, retval] long* pidTopic);
142 [hidden, propget, id(DISPID_ACC_KEYBOARDSHORTCUT)] HRESULT accKeyboardShortcut([in]VARIANT varID, [out, retval] BSTR* pszKeyboardShortcut);
143 [hidden, propget, id(DISPID_ACC_FOCUS)] HRESULT accFocus([out, retval] VARIANT* pvarID);
144 [hidden, propget, id(DISPID_ACC_SELECTION)] HRESULT accSelection([out, retval] VARIANT* pvarID);
145 [hidden, propget, id(DISPID_ACC_DEFAULTACTION)] HRESULT accDefaultAction([in]VARIANT varID, [out, retval] BSTR* pszDefaultAction);
146
147 [hidden, id(DISPID_ACC_SELECT)] HRESULT accSelect([in]long flagsSelect, [in]VARIANT varID);
148 [hidden, id(DISPID_ACC_LOCATION)] HRESULT accLocation([out]long* pxLeft, [out]long* pyTop, [out]long* pcxWidth, [out]long* pcyHeight, [in]VARIANT varID);
149 [hidden, id(DISPID_ACC_NAVIGATE)] HRESULT accNavigate([in]long navDir, [in]VARIANT varStart, [out, retval] VARIANT* pvarEnd);
150 [hidden, id(DISPID_ACC_HITTEST)] HRESULT accHitTest([in]long xLeft, [in]long yTop, [out,retval] VARIANT* pvarID);
151 [hidden, id(DISPID_ACC_DODEFAULTACTION)] HRESULT accDoDefaultAction([in]VARIANT varID);
152
153 [hidden, propput, id(DISPID_ACC_NAME)] HRESULT accName([in]VARIANT varID, [in]BSTR pszName);
154 [hidden, propput, id(DISPID_ACC_VALUE)] HRESULT accValue([in]VARIANT varID, [out, retval]BSTR pszValue);
155}
156
157cpp_quote("DEFINE_GUID(LIBID_Accessibility, 0x1ea4dbf0, 0x3c3b, 0x11cf, 0x81, 0x0c, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);")
158cpp_quote("DEFINE_GUID(CLSID_AccPropServices, 0xb5f8350b, 0x0548, 0x48b1, 0xa6, 0xee, 0x88, 0xbd, 0x00, 0xb4, 0xa5, 0xe7);")
159cpp_quote("DEFINE_GUID(IIS_IsOleaccProxy, 0x902697fa, 0x80e4, 0x4560, 0x80, 0x2a, 0xa1, 0x3f, 0x22, 0xa6, 0x47, 0x09);")
160
eee2c4a4
DT
161cpp_quote("LRESULT WINAPI LresultFromObject(REFIID,WPARAM,LPUNKNOWN);")
162cpp_quote("HRESULT WINAPI ObjectFromLresult(LRESULT,REFIID,WPARAM,void **);")
163cpp_quote("HRESULT WINAPI WindowFromAccessibleObject(IAccessible *,HWND *);")
164cpp_quote("HRESULT WINAPI AccessibleObjectFromWindow(HWND,DWORD,REFIID,void **);")
165cpp_quote("HRESULT WINAPI AccessibleObjectFromEvent(HWND,DWORD,DWORD,IAccessible **,VARIANT *);")
166cpp_quote("HRESULT WINAPI AccessibleObjectFromPoint(POINT,IAccessible **,VARIANT *);")
167cpp_quote("HRESULT WINAPI AccessibleChildren(IAccessible *,LONG,LONG,VARIANT *,LONG *);")
168
169cpp_quote("void WINAPI GetOleaccVersionInfo(DWORD *,DWORD *);")
170cpp_quote("HRESULT WINAPI CreateStdAccessibleObject(HWND,LONG,REFIID,void **);")
171cpp_quote("HRESULT WINAPI CreateStdAccessibleProxyA(HWND,LPCSTR,LONG,REFIID,void **);")
172cpp_quote("HRESULT WINAPI CreateStdAccessibleProxyW(HWND,LPCWSTR,LONG,REFIID,void **);")
173cpp_quote("#define CreateStdAccessibleProxy WINELIB_NAME_AW(CreateStdAccessibleProxy)")
174
70eb9e24
RS
175cpp_quote("UINT WINAPI GetRoleTextA(DWORD,LPSTR,UINT);")
176cpp_quote("UINT WINAPI GetRoleTextW(DWORD,LPWSTR,UINT);")
177cpp_quote("#define GetRoleText WINELIB_NAME_AW(GetRoleText)")
178cpp_quote("UINT WINAPI GetStateTextA(DWORD,LPSTR,UINT);")
179cpp_quote("UINT WINAPI GetStateTextW(DWORD,LPWSTR,UINT);")
1733875f 180cpp_quote("#define GetStateText WINELIB_NAME_AW(GetStateText)")