source: Daodan/MinGW/include/mshtml.h@ 1127

Last change on this file since 1127 was 1046, checked in by alloc, 8 years ago

Daodan: Added Windows MinGW and build batch file

File size: 30.3 KB
RevLine 
[1046]1#ifndef _MSHTML_H
2#define _MSHTML_H
3#if __GNUC__ >=3
4#pragma GCC system_header
5#endif
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
11typedef _COM_interface IHTMLElementCollection *LPHTMLELEMENTCOLLECTION;
12typedef _COM_interface IHTMLElement *LPHTMLELEMENT;
13typedef _COM_interface IHTMLSelectionObject *LPHTMLSELECTIONOBJECT;
14typedef _COM_interface IHTMLFramesCollection *LPHTMLFRAMESCOLLECTION;
15typedef _COM_interface IHTMLLocation *LPHTMLLOCATION;
16typedef _COM_interface IHTMLWindow2 *LPHTMLWINDOW2;
17typedef _COM_interface IHTMLStyleSheetsCollection *LPHTMLSTYLESHEETSCOLLECTION;
18typedef _COM_interface IHTMLStyleSheet *LPHTMLSTYLESHEET;
19typedef _COM_interface IHTMLStyle *LPHTMLSTYLE;
20typedef _COM_interface IHTMLFiltersCollection *LPHTMLFILTERSCOLLECTION;
21typedef _COM_interface IHTMLLinkElement *LPHTMLLINKELEMENT;
22typedef _COM_interface IHTMLImgElement *LPHTMLIMGELEMENT;
23typedef _COM_interface IHTMLImageElementFactory *LPHTMLIMAGEELEMENTFACTORY;
24typedef _COM_interface IHTMLEventObj *LPHTMLEVENTOBJ;
25typedef _COM_interface IHTMLScreen *LPHTMLSCREEN;
26typedef _COM_interface IHTMLOptionElementFactory *LPHTMLOPTIONELEMENTFACTORY;
27typedef _COM_interface IOmHistory *LPOMHISTORY;
28typedef _COM_interface IOmNavigator *LPOMNAVIGATOR;
29
30EXTERN_C const IID IID_IHTMLLinkElement;
31#define INTERFACE IHTMLLinkElement
32DECLARE_INTERFACE_(IHTMLLinkElement,IDispatch)
33{
34 STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
35 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
36 STDMETHOD_(ULONG,Release)(THIS) PURE;
37 STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
38 STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
39 STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
40 STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
41
42 STDMETHOD(put_href)(THIS_ BSTR) PURE;
43 STDMETHOD(get_href)(THIS_ BSTR*) PURE;
44 STDMETHOD(put_rel)(THIS_ BSTR) PURE;
45 STDMETHOD(get_rel)(THIS_ BSTR*) PURE;
46 STDMETHOD(put_rev)(THIS_ BSTR) PURE;
47 STDMETHOD(get_rev)(THIS_ BSTR*) PURE;
48 STDMETHOD(put_type)(THIS_ BSTR) PURE;
49 STDMETHOD(get_type)(THIS_ BSTR*) PURE;
50 STDMETHOD(get_readyState)(THIS_ BSTR*) PURE;
51 STDMETHOD(put_onreadystatechange)(THIS_ VARIANT) PURE;
52 STDMETHOD(get_onreadystatechange)(THIS_ VARIANT*) PURE;
53 STDMETHOD(put_onload)(THIS_ VARIANT) PURE;
54 STDMETHOD(get_onload)(THIS_ VARIANT*) PURE;
55 STDMETHOD(put_onerror)(THIS_ VARIANT) PURE;
56 STDMETHOD(get_onerror)(THIS_ VARIANT*) PURE;
57 STDMETHOD(get_styleSheet)(THIS_ LPHTMLSTYLESHEET*) PURE;
58 STDMETHOD(put_disabled)(THIS_ VARIANT_BOOL) PURE;
59 STDMETHOD(get_disabled)(THIS_ VARIANT_BOOL*) PURE;
60 STDMETHOD(put_media)(THIS_ BSTR) PURE;
61 STDMETHOD(get_media)(THIS_ BSTR*) PURE;
62};
63#undef INTERFACE
64
65EXTERN_C const IID IID_IHTMLImgElement;
66#define INTERFACE IHTMLImgElement
67DECLARE_INTERFACE_(IHTMLImgElement,IDispatch)
68{
69 STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
70 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
71 STDMETHOD_(ULONG,Release)(THIS) PURE;
72 STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
73 STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
74 STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
75 STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
76
77 STDMETHOD(put_isMap)(THIS_ VARIANT_BOOL) PURE;
78 STDMETHOD(get_isMap)(THIS_ VARIANT_BOOL*) PURE;
79 STDMETHOD(put_useMap)(THIS_ BSTR) PURE;
80 STDMETHOD(get_useMap)(THIS_ BSTR*) PURE;
81 STDMETHOD(get_mimeType)(THIS_ BSTR*) PURE;
82 STDMETHOD(get_fileSize)(THIS_ BSTR*) PURE;
83 STDMETHOD(get_fileCreatedDate)(THIS_ BSTR*) PURE;
84 STDMETHOD(get_fileModifiedDate)(THIS_ BSTR*) PURE;
85 STDMETHOD(get_fileUpdatedDate)(THIS_ BSTR*) PURE;
86 STDMETHOD(get_protocol)(THIS_ BSTR*) PURE;
87 STDMETHOD(get_href)(THIS_ BSTR*) PURE;
88 STDMETHOD(get_nameProp)(THIS_ BSTR*) PURE;
89 STDMETHOD(put_border)(THIS_ VARIANT) PURE;
90 STDMETHOD(get_border)(THIS_ VARIANT*) PURE;
91 STDMETHOD(put_vspace)(THIS_ long) PURE;
92 STDMETHOD(get_vspace)(THIS_ long*) PURE;
93 STDMETHOD(put_hspace)(THIS_ long) PURE;
94 STDMETHOD(get_hspace)(THIS_ long*) PURE;
95 STDMETHOD(put_alt)(THIS_ BSTR) PURE;
96 STDMETHOD(get_alt)(THIS_ BSTR*) PURE;
97 STDMETHOD(put_src)(THIS_ BSTR) PURE;
98 STDMETHOD(get_src)(THIS_ BSTR*) PURE;
99 STDMETHOD(put_lowsrc)(THIS_ BSTR) PURE;
100 STDMETHOD(get_lowsrc)(THIS_ BSTR*) PURE;
101 STDMETHOD(put_vrml)(THIS_ BSTR) PURE;
102 STDMETHOD(get_vrml)(THIS_ BSTR*) PURE;
103 STDMETHOD(put_dynsrc)(THIS_ BSTR) PURE;
104 STDMETHOD(get_dynsrc)(THIS_ BSTR*) PURE;
105 STDMETHOD(get_readyState)(THIS_ BSTR*) PURE;
106 STDMETHOD(get_complete)(THIS_ VARIANT_BOOL*) PURE;
107 STDMETHOD(put_loop)(THIS_ VARIANT) PURE;
108 STDMETHOD(get_loop)(THIS_ VARIANT*) PURE;
109 STDMETHOD(put_align)(THIS_ BSTR) PURE;
110 STDMETHOD(get_align)(THIS_ BSTR*) PURE;
111 STDMETHOD(put_onload)(THIS_ VARIANT) PURE;
112 STDMETHOD(get_onload)(THIS_ VARIANT*) PURE;
113 STDMETHOD(put_onerror)(THIS_ VARIANT) PURE;
114 STDMETHOD(get_onerror)(THIS_ VARIANT*) PURE;
115 STDMETHOD(put_onabort)(THIS_ VARIANT) PURE;
116 STDMETHOD(get_onabort)(THIS_ VARIANT*) PURE;
117 STDMETHOD(put_name)(THIS_ BSTR) PURE;
118 STDMETHOD(get_name)(THIS_ BSTR*) PURE;
119 STDMETHOD(put_width)(THIS_ long) PURE;
120 STDMETHOD(get_width)(THIS_ long*) PURE;
121 STDMETHOD(put_height)(THIS_ long) PURE;
122 STDMETHOD(get_height)(THIS_ long*) PURE;
123 STDMETHOD(put_start)(THIS_ BSTR) PURE;
124 STDMETHOD(get_start)(THIS_ BSTR*) PURE;
125};
126#undef INTERFACE
127
128EXTERN_C const IID IID_IHTMLElementCollection;
129#define INTERFACE IHTMLElementCollection
130DECLARE_INTERFACE_(IHTMLElementCollection,IDispatch)
131{
132 STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
133 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
134 STDMETHOD_(ULONG,Release)(THIS) PURE;
135 STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
136 STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
137 STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
138 STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
139
140 STDMETHOD(toString)(THIS_ BSTR*) PURE;
141 STDMETHOD(put_length)(THIS_ long) PURE;
142 STDMETHOD(get_length)(THIS_ long*) PURE;
143 STDMETHOD(get__newEnum)(THIS_ IUnknown**) PURE;
144 STDMETHOD(item)(THIS_ VARIANT,VARIANT,IDispatch**) PURE;
145 STDMETHOD(tags)(THIS_ VARIANT,IDispatch**) PURE;
146};
147#undef INTERFACE
148
149
150EXTERN_C const IID IID_IHTMLDocument;
151#define INTERFACE IHTMLDocument
152DECLARE_INTERFACE_(IHTMLDocument,IDispatch)
153{
154 STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
155 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
156 STDMETHOD_(ULONG,Release)(THIS) PURE;
157 STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
158 STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
159 STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
160 STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
161
162 STDMETHOD(get_Script)(THIS_ IDispatch**) PURE;
163};
164#undef INTERFACE
165
166EXTERN_C const IID IID_IHTMLDocument2;
167#define INTERFACE IHTMLDocument2
168DECLARE_INTERFACE_(IHTMLDocument2,IHTMLDocument)
169{
170 STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
171 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
172 STDMETHOD_(ULONG,Release)(THIS) PURE;
173 STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
174 STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
175 STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
176 STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
177
178 STDMETHOD(get_Script)(THIS_ IDispatch**) PURE;
179
180 STDMETHOD(get_all)(THIS_ LPHTMLELEMENTCOLLECTION*) PURE;
181 STDMETHOD(get_body)(THIS_ LPHTMLELEMENT*) PURE;
182 STDMETHOD(get_activeElement)(THIS_ LPHTMLELEMENT*) PURE;
183 STDMETHOD(get_images)(THIS_ LPHTMLELEMENTCOLLECTION*) PURE;
184 STDMETHOD(get_applets)(THIS_ LPHTMLELEMENTCOLLECTION*) PURE;
185 STDMETHOD(get_links)(THIS_ LPHTMLELEMENTCOLLECTION*) PURE;
186 STDMETHOD(get_forms)(THIS_ LPHTMLELEMENTCOLLECTION*) PURE;
187 STDMETHOD(get_anchors)(THIS_ LPHTMLELEMENTCOLLECTION*) PURE;
188 STDMETHOD(put_title)(THIS_ BSTR) PURE;
189 STDMETHOD(get_title)(THIS_ BSTR*) PURE;
190 STDMETHOD(get_scripts)(THIS_ LPHTMLELEMENTCOLLECTION*) PURE;
191 STDMETHOD(put_designMode)(THIS_ BSTR) PURE;
192 STDMETHOD(get_designMode)(THIS_ BSTR*) PURE;
193 STDMETHOD(get_selection)(THIS_ LPHTMLSELECTIONOBJECT*) PURE;
194 STDMETHOD(get_readyState)(THIS_ BSTR*) PURE;
195 STDMETHOD(get_frames)(THIS_ LPHTMLFRAMESCOLLECTION*) PURE;
196 STDMETHOD(get_embeds)(THIS_ LPHTMLELEMENTCOLLECTION*) PURE;
197 STDMETHOD(get_plugins)(THIS_ LPHTMLELEMENTCOLLECTION*) PURE;
198 STDMETHOD(put_alinkColor)(THIS_ VARIANT) PURE;
199 STDMETHOD(get_alinkColor)(THIS_ VARIANT*) PURE;
200 STDMETHOD(put_bgColor)(THIS_ VARIANT) PURE;
201 STDMETHOD(get_bgColor)(THIS_ VARIANT*) PURE;
202 STDMETHOD(put_fgColor)(THIS_ VARIANT) PURE;
203 STDMETHOD(get_fgColor)(THIS_ VARIANT*) PURE;
204 STDMETHOD(put_linkColor)(THIS_ VARIANT) PURE;
205 STDMETHOD(get_linkColor)(THIS_ VARIANT*) PURE;
206 STDMETHOD(put_vlinkColor)(THIS_ VARIANT) PURE;
207 STDMETHOD(get_vlinkColor)(THIS_ VARIANT*) PURE;
208 STDMETHOD(get_referrer)(THIS_ BSTR*) PURE;
209 STDMETHOD(get_location)(THIS_ LPHTMLLOCATION*) PURE;
210 STDMETHOD(get_lastModified)(THIS_ BSTR*) PURE;
211 STDMETHOD(put_URL)(THIS_ BSTR) PURE;
212 STDMETHOD(get_URL)(THIS_ BSTR*) PURE;
213 STDMETHOD(put_domain)(THIS_ BSTR) PURE;
214 STDMETHOD(get_domain)(THIS_ BSTR*) PURE;
215 STDMETHOD(put_cookie)(THIS_ BSTR) PURE;
216 STDMETHOD(get_cookie)(THIS_ BSTR*) PURE;
217 STDMETHOD(put_expands)(THIS_ VARIANT_BOOL) PURE;
218 STDMETHOD(get_expands)(THIS_ VARIANT_BOOL*) PURE;
219 STDMETHOD(put_charset)(THIS_ BSTR) PURE;
220 STDMETHOD(get_charset)(THIS_ BSTR*) PURE;
221 STDMETHOD(put_defaultCharset)(THIS_ BSTR) PURE;
222 STDMETHOD(get_defaultCharset)(THIS_ BSTR*) PURE;
223 STDMETHOD(get_mimeType)(THIS_ BSTR*) PURE;
224 STDMETHOD(get_fileSize)(THIS_ BSTR*) PURE;
225 STDMETHOD(get_fileCreatedDate)(THIS_ BSTR*) PURE;
226 STDMETHOD(get_fileModifiedDate)(THIS_ BSTR*) PURE;
227 STDMETHOD(get_fileUpdatedDate)(THIS_ BSTR*) PURE;
228 STDMETHOD(get_security)(THIS_ BSTR*) PURE;
229 STDMETHOD(get_protocol)(THIS_ BSTR*) PURE;
230 STDMETHOD(get_nameProp)(THIS_ BSTR*) PURE;
231 STDMETHOD(write)(THIS_ SAFEARRAY*) PURE;
232 STDMETHOD(writeln)(THIS_ SAFEARRAY*) PURE;
233 STDMETHOD(open)(THIS_ BSTR,VARIANT,VARIANT,VARIANT,IDispatch**) PURE;
234 STDMETHOD(close)(THIS) PURE;
235 STDMETHOD(clear)(THIS) PURE;
236 STDMETHOD(queryCommandSupported)(THIS_ BSTR,VARIANT_BOOL*) PURE;
237 STDMETHOD(queryCommandEnabled)(THIS_ BSTR,VARIANT_BOOL*) PURE;
238 STDMETHOD(queryCommandState)(THIS_ BSTR,VARIANT_BOOL*) PURE;
239 STDMETHOD(queryCommandIndeterm)(THIS_ BSTR,VARIANT_BOOL*) PURE;
240 STDMETHOD(queryCommandText)(THIS_ BSTR,BSTR*) PURE;
241 STDMETHOD(queryCommandValue)(THIS_ BSTR,VARIANT*) PURE;
242 STDMETHOD(execCommand)(THIS_ BSTR,VARIANT_BOOL,VARIANT,VARIANT_BOOL*) PURE;
243 STDMETHOD(execCommandShowHelp)(THIS_ BSTR,VARIANT_BOOL*) PURE;
244 STDMETHOD(createElement)(THIS_ BSTR,LPHTMLELEMENT*) PURE;
245 STDMETHOD(put_onhelp)(THIS_ VARIANT) PURE;
246 STDMETHOD(get_onhelp)(THIS_ VARIANT*) PURE;
247 STDMETHOD(put_onclick)(THIS_ VARIANT) PURE;
248 STDMETHOD(get_onclick)(THIS_ VARIANT*) PURE;
249 STDMETHOD(put_ondblclick)(THIS_ VARIANT) PURE;
250 STDMETHOD(get_ondblclick)(THIS_ VARIANT*) PURE;
251 STDMETHOD(put_onkeyup)(THIS_ VARIANT) PURE;
252 STDMETHOD(get_onkeyup)(THIS_ VARIANT*) PURE;
253 STDMETHOD(put_onkeydown)(THIS_ VARIANT) PURE;
254 STDMETHOD(get_onkeydown)(THIS_ VARIANT*) PURE;
255 STDMETHOD(put_onkeypress)(THIS_ VARIANT) PURE;
256 STDMETHOD(get_onkeypress)(THIS_ VARIANT*) PURE;
257 STDMETHOD(put_onmouseup)(THIS_ VARIANT) PURE;
258 STDMETHOD(get_onmouseup)(THIS_ VARIANT*) PURE;
259 STDMETHOD(put_onmousedown)(THIS_ VARIANT) PURE;
260 STDMETHOD(get_onmousedown)(THIS_ VARIANT*) PURE;
261 STDMETHOD(put_onmousemove)(THIS_ VARIANT) PURE;
262 STDMETHOD(get_onmousemove)(THIS_ VARIANT*) PURE;
263 STDMETHOD(put_onmouseout)(THIS_ VARIANT) PURE;
264 STDMETHOD(get_onmouseout)(THIS_ VARIANT*) PURE;
265 STDMETHOD(put_onmouseover)(THIS_ VARIANT) PURE;
266 STDMETHOD(get_onmouseover)(THIS_ VARIANT*) PURE;
267 STDMETHOD(put_onreadystatechange)(THIS_ VARIANT) PURE;
268 STDMETHOD(get_onreadystatechange)(THIS_ VARIANT*) PURE;
269 STDMETHOD(put_onafterupdate)(THIS_ VARIANT) PURE;
270 STDMETHOD(get_onafterupdate)(THIS_ VARIANT*) PURE;
271 STDMETHOD(put_onrowexit)(THIS_ VARIANT) PURE;
272 STDMETHOD(get_onrowexit)(THIS_ VARIANT*) PURE;
273 STDMETHOD(put_onrowenter)(THIS_ VARIANT) PURE;
274 STDMETHOD(get_onrowenter)(THIS_ VARIANT*) PURE;
275 STDMETHOD(put_ondragstart)(THIS_ VARIANT) PURE;
276 STDMETHOD(get_ondragstart)(THIS_ VARIANT*) PURE;
277 STDMETHOD(put_onselectstart)(THIS_ VARIANT) PURE;
278 STDMETHOD(get_onselectstart)(THIS_ VARIANT*) PURE;
279 STDMETHOD(elementFromPoint)(THIS_ long,long,LPHTMLELEMENT*) PURE;
280 STDMETHOD(get_parentWindow)(THIS_ LPHTMLWINDOW2*) PURE;
281 STDMETHOD(get_styleSheets)(THIS_ LPHTMLSTYLESHEETSCOLLECTION*) PURE;
282 STDMETHOD(put_onbeforeupdate)(THIS_ VARIANT) PURE;
283 STDMETHOD(get_onbeforeupdate)(THIS_ VARIANT*) PURE;
284 STDMETHOD(put_onerrorupdate)(THIS_ VARIANT) PURE;
285 STDMETHOD(get_onerrorupdate)(THIS_ VARIANT*) PURE;
286 STDMETHOD(toString)(THIS_ BSTR*) PURE;
287 STDMETHOD(createStyleSheet)(THIS_ BSTR,long,LPHTMLSTYLESHEET*) PURE;
288};
289#undef INTERFACE
290
291EXTERN_C const IID IID_IHTMLSelectionObject;
292#define INTERFACE IHTMLSelectionObject
293DECLARE_INTERFACE_(IHTMLSelectionObject,IDispatch)
294{
295 STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
296 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
297 STDMETHOD_(ULONG,Release)(THIS) PURE;
298 STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
299 STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
300 STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
301 STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
302
303 STDMETHOD(createRange)(THIS_ IDispatch**) PURE;
304 STDMETHOD(empty)(THIS) PURE;
305 STDMETHOD(clear)(THIS) PURE;
306 STDMETHOD(get_type)(THIS_ BSTR*) PURE;
307};
308#undef INTERFACE
309
310EXTERN_C const IID IID_IHTMLTxtRange;
311#define INTERFACE IHTMLTxtRange
312DECLARE_INTERFACE_(IHTMLTxtRange,IDispatch)
313{
314 STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
315 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
316 STDMETHOD_(ULONG,Release)(THIS) PURE;
317 STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
318 STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
319 STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
320 STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
321
322 STDMETHOD(get_htmlText)(THIS_ BSTR*) PURE;
323 STDMETHOD(put_text)(THIS_ BSTR) PURE;
324 STDMETHOD(get_text)(THIS_ BSTR*) PURE;
325 STDMETHOD(parentElement)(THIS_ LPHTMLELEMENT*) PURE;
326 STDMETHOD(duplicate)(THIS_ IHTMLTxtRange**) PURE;
327 STDMETHOD(inRange)(THIS_ IHTMLTxtRange*,VARIANT_BOOL*) PURE;
328 STDMETHOD(isEqual)(THIS_ IHTMLTxtRange*,VARIANT_BOOL*) PURE;
329 STDMETHOD(scrollIntoView)(THIS_ VARIANT_BOOL) PURE;
330 STDMETHOD(collapse)(THIS_ VARIANT_BOOL) PURE;
331 STDMETHOD(expand)(THIS_ BSTR,VARIANT_BOOL*) PURE;
332 STDMETHOD(move)(THIS_ BSTR,long,long*) PURE;
333 STDMETHOD(moveStart)(THIS_ BSTR,long,long*) PURE;
334 STDMETHOD(moveEnd)(THIS_ BSTR,long,long*) PURE;
335 STDMETHOD(select)(THIS) PURE;
336 STDMETHOD(pasteHTML)(THIS_ BSTR) PURE;
337 STDMETHOD(moveToElementText)(THIS_ LPHTMLELEMENT) PURE;
338 STDMETHOD(setEndPoint)(THIS_ BSTR,IHTMLTxtRange*) PURE;
339 STDMETHOD(compareEndPoints)(THIS_ BSTR,IHTMLTxtRange*,long*) PURE;
340 STDMETHOD(findText)(THIS_ BSTR,long,long,VARIANT_BOOL*) PURE;
341 STDMETHOD(moveToPoint)(THIS_ long,long) PURE;
342 STDMETHOD(getBookmark)(THIS_ BSTR*) PURE;
343 STDMETHOD(moveToBookbark)(THIS_ BSTR,VARIANT_BOOL*) PURE;
344 STDMETHOD(queryCommandSupported)(THIS_ BSTR,VARIANT_BOOL*) PURE;
345 STDMETHOD(queryCommandEnabled)(THIS_ BSTR,VARIANT_BOOL*) PURE;
346 STDMETHOD(queryCommandState)(THIS_ BSTR,VARIANT_BOOL*) PURE;
347 STDMETHOD(queryCommandIndeterm)(THIS_ BSTR,VARIANT_BOOL*) PURE;
348 STDMETHOD(queryCommandText)(THIS_ BSTR,BSTR*) PURE;
349 STDMETHOD(queryCommandValue)(THIS_ BSTR,VARIANT*) PURE;
350 STDMETHOD(execCommand)(THIS_ BSTR,VARIANT_BOOL,VARIANT,VARIANT_BOOL*) PURE;
351 STDMETHOD(execCommandShowHelp)(THIS_ BSTR,VARIANT_BOOL*) PURE;
352};
353#undef INTERFACE
354
355EXTERN_C const IID IID_IHTMLElement;
356#define INTERFACE IHTMLElement
357DECLARE_INTERFACE_(IHTMLElement,IDispatch)
358{
359 STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
360 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
361 STDMETHOD_(ULONG,Release)(THIS) PURE;
362 STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
363 STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
364 STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
365 STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
366
367 STDMETHOD(setAttribute)(THIS_ BSTR,VARIANT,long) PURE;
368 STDMETHOD(getAttribute)(THIS_ BSTR,long,VARIANT*) PURE;
369 STDMETHOD(removeAttribute)(THIS_ BSTR,long,VARIANT_BOOL*) PURE;
370 STDMETHOD(put_className)(THIS_ BSTR) PURE;
371 STDMETHOD(get_className)(THIS_ BSTR*) PURE;
372 STDMETHOD(put_id)(THIS_ BSTR) PURE;
373 STDMETHOD(get_id)(THIS_ BSTR*) PURE;
374 STDMETHOD(get_tagName)(THIS_ BSTR*) PURE;
375 STDMETHOD(get_parentElement)(THIS_ LPHTMLELEMENT*) PURE;
376 STDMETHOD(get_style)(THIS_ LPHTMLSTYLE*) PURE;
377 STDMETHOD(put_onhelp)(THIS_ VARIANT) PURE;
378 STDMETHOD(get_onhelp)(THIS_ VARIANT*) PURE;
379 STDMETHOD(put_onclick)(THIS_ VARIANT) PURE;
380 STDMETHOD(get_onclick)(THIS_ VARIANT*) PURE;
381 STDMETHOD(put_ondblclick)(THIS_ VARIANT) PURE;
382 STDMETHOD(get_ondblclick)(THIS_ VARIANT*) PURE;
383 STDMETHOD(put_onkeydown)(THIS_ VARIANT) PURE;
384 STDMETHOD(get_onkeydown)(THIS_ VARIANT*) PURE;
385 STDMETHOD(put_onkeyup)(THIS_ VARIANT) PURE;
386 STDMETHOD(get_onkeyup)(THIS_ VARIANT*) PURE;
387 STDMETHOD(put_onkeypress)(THIS_ VARIANT) PURE;
388 STDMETHOD(get_onkeypress)(THIS_ VARIANT*) PURE;
389 STDMETHOD(put_onmouseout)(THIS_ VARIANT) PURE;
390 STDMETHOD(get_onmouseout)(THIS_ VARIANT*) PURE;
391 STDMETHOD(put_onmouseover)(THIS_ VARIANT) PURE;
392 STDMETHOD(get_onmouseover)(THIS_ VARIANT*) PURE;
393 STDMETHOD(put_onmousemove)(THIS_ VARIANT) PURE;
394 STDMETHOD(get_onmousemove)(THIS_ VARIANT*) PURE;
395 STDMETHOD(put_onmousedown)(THIS_ VARIANT) PURE;
396 STDMETHOD(get_onmousedown)(THIS_ VARIANT*) PURE;
397 STDMETHOD(put_onmouseup)(THIS_ VARIANT) PURE;
398 STDMETHOD(get_onmouseup)(THIS_ VARIANT*) PURE;
399 STDMETHOD(get_document)(THIS_ IDispatch**) PURE;
400 STDMETHOD(put_title)(THIS_ BSTR) PURE;
401 STDMETHOD(get_title)(THIS_ BSTR*) PURE;
402 STDMETHOD(put_language)(THIS_ BSTR) PURE;
403 STDMETHOD(get_language)(THIS_ BSTR*) PURE;
404 STDMETHOD(put_onselectstart)(THIS_ VARIANT) PURE;
405 STDMETHOD(get_onselectstart)(THIS_ VARIANT*) PURE;
406 STDMETHOD(scrollIntoView)(THIS_ VARIANT) PURE;
407 STDMETHOD(contains)(THIS_ LPHTMLELEMENT,VARIANT_BOOL*) PURE;
408 STDMETHOD(get_source3Index)(THIS_ long*) PURE;
409 STDMETHOD(get_recordNumber)(THIS_ VARIANT*) PURE;
410 STDMETHOD(put_lang)(THIS_ BSTR) PURE;
411 STDMETHOD(get_lang)(THIS_ BSTR*) PURE;
412 STDMETHOD(get_offsetLeft)(THIS_ long*) PURE;
413 STDMETHOD(get_offsetTop)(THIS_ long*) PURE;
414 STDMETHOD(get_offsetWidth)(THIS_ long*) PURE;
415 STDMETHOD(get_offsetHeight)(THIS_ long*) PURE;
416 STDMETHOD(get_offsetParent)(THIS_ LPHTMLELEMENT*) PURE;
417 STDMETHOD(put_innerHTML)(THIS_ BSTR) PURE;
418 STDMETHOD(get_innerHTML)(THIS_ BSTR*) PURE;
419 STDMETHOD(put_innerText)(THIS_ BSTR) PURE;
420 STDMETHOD(get_innerText)(THIS_ BSTR*) PURE;
421 STDMETHOD(put_outerHTML)(THIS_ BSTR) PURE;
422 STDMETHOD(get_outerHTML)(THIS_ BSTR*) PURE;
423 STDMETHOD(put_outerText)(THIS_ BSTR) PURE;
424 STDMETHOD(get_outerText)(THIS_ BSTR*) PURE;
425 STDMETHOD(insertAdjacentHTML)(THIS_ BSTR,BSTR) PURE;
426 STDMETHOD(insertAdjacentText)(THIS_ BSTR,BSTR) PURE;
427 STDMETHOD(get_parentTextEdit)(THIS_ LPHTMLELEMENT*) PURE;
428 STDMETHOD(isTextEdit)(THIS_ VARIANT_BOOL*) PURE;
429 STDMETHOD(click)(THIS) PURE;
430 STDMETHOD(get_filters)(THIS_ LPHTMLFILTERSCOLLECTION*) PURE;
431 STDMETHOD(put_ondragstart)(THIS_ VARIANT) PURE;
432 STDMETHOD(get_ondragstart)(THIS_ VARIANT*) PURE;
433 STDMETHOD(toString)(THIS_ BSTR*) PURE;
434 STDMETHOD(put_onbeforeupdate)(THIS_ VARIANT) PURE;
435 STDMETHOD(get_onbeforeupdate)(THIS_ VARIANT*) PURE;
436 STDMETHOD(put_onafterupdate)(THIS_ VARIANT) PURE;
437 STDMETHOD(get_onafterupdate)(THIS_ VARIANT*) PURE;
438 STDMETHOD(put_onerrorupdate)(THIS_ VARIANT) PURE;
439 STDMETHOD(get_onerrorupdate)(THIS_ VARIANT*) PURE;
440 STDMETHOD(put_onrowexit)(THIS_ VARIANT) PURE;
441 STDMETHOD(get_onrowexit)(THIS_ VARIANT*) PURE;
442 STDMETHOD(put_onrowenter)(THIS_ VARIANT) PURE;
443 STDMETHOD(get_onrowenter)(THIS_ VARIANT*) PURE;
444 STDMETHOD(put_ondatasetchanged)(THIS_ VARIANT) PURE;
445 STDMETHOD(get_ondatasetchanged)(THIS_ VARIANT*) PURE;
446 STDMETHOD(put_ondataavailable)(THIS_ VARIANT) PURE;
447 STDMETHOD(get_ondataavailable)(THIS_ VARIANT*) PURE;
448 STDMETHOD(put_ondatasetcomplete)(THIS_ VARIANT) PURE;
449 STDMETHOD(get_ondatasetcomplete)(THIS_ VARIANT*) PURE;
450 STDMETHOD(put_onfilterchange)(THIS_ VARIANT) PURE;
451 STDMETHOD(get_onfilterchange)(THIS_ VARIANT*) PURE;
452 STDMETHOD(get_children)(THIS_ IDispatch**) PURE;
453 STDMETHOD(get_all)(THIS_ IDispatch**) PURE;
454};
455#undef INTERFACE
456
457EXTERN_C const IID IID_IHTMLFramesCollection2;
458#define INTERFACE IHTMLFramesCollection2
459DECLARE_INTERFACE_(IHTMLFramesCollection2,IDispatch)
460{
461 STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
462 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
463 STDMETHOD_(ULONG,Release)(THIS) PURE;
464 STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
465 STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
466 STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
467 STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
468
469 STDMETHOD(item)(THIS_ VARIANT*,VARIANT*) PURE;
470 STDMETHOD(get_length)(THIS_ long*) PURE;
471};
472#undef INTERFACE
473
474EXTERN_C const IID IID_IHTMLWindow2;
475#define INTERFACE IHTMLWindow2
476DECLARE_INTERFACE_(IHTMLWindow2,IHTMLFramesCollection2)
477{
478 STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
479 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
480 STDMETHOD_(ULONG,Release)(THIS) PURE;
481 STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
482 STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
483 STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
484 STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
485 STDMETHOD(item)(THIS_ VARIANT*,VARIANT*) PURE;
486 STDMETHOD(get_length)(THIS_ long*) PURE;
487
488 STDMETHOD(get_frames)(THIS_ IHTMLFramesCollection2**) PURE;
489 STDMETHOD(put_defaultStatus)(THIS_ BSTR) PURE;
490 STDMETHOD(get_defaultStatus)(THIS_ BSTR*) PURE;
491 STDMETHOD(put_status)(THIS_ BSTR) PURE;
492 STDMETHOD(get_status)(THIS_ BSTR*) PURE;
493 STDMETHOD(setTimeout)(THIS_ BSTR,long,VARIANT*,long*) PURE;
494 STDMETHOD(clearTimeout)(THIS_ long) PURE;
495 STDMETHOD(alert)(THIS_ BSTR) PURE;
496 STDMETHOD(confirm)(THIS_ BSTR,VARIANT_BOOL*) PURE;
497 STDMETHOD(prompt)(THIS_ BSTR,BSTR,VARIANT*) PURE;
498 STDMETHOD(get_Image)(THIS_ LPHTMLIMAGEELEMENTFACTORY*) PURE;
499 STDMETHOD(get_location)(THIS_ LPHTMLLOCATION*) PURE;
500 STDMETHOD(get_history)(THIS_ LPOMHISTORY*) PURE;
501 STDMETHOD(close)(THIS) PURE;
502 STDMETHOD(put_opener)(THIS_ VARIANT) PURE;
503 STDMETHOD(get_opener)(THIS_ VARIANT*) PURE;
504 STDMETHOD(get_navigator)(THIS_ LPOMNAVIGATOR*) PURE;
505 STDMETHOD(put_name)(THIS_ BSTR) PURE;
506 STDMETHOD(get_name)(THIS_ BSTR*) PURE;
507 STDMETHOD(get_parent)(THIS_ LPHTMLWINDOW2*) PURE;
508 STDMETHOD(open)(THIS_ BSTR,BSTR,BSTR,VARIANT_BOOL,LPHTMLWINDOW2*) PURE;
509 STDMETHOD(get_self)(THIS_ LPHTMLWINDOW2*) PURE;
510 STDMETHOD(get_top)(THIS_ LPHTMLWINDOW2*) PURE;
511 STDMETHOD(get_window)(THIS_ LPHTMLWINDOW2*) PURE;
512 STDMETHOD(navigate)(THIS_ BSTR) PURE;
513 STDMETHOD(put_onfocus)(THIS_ VARIANT) PURE;
514 STDMETHOD(get_onfocus)(THIS_ VARIANT*) PURE;
515 STDMETHOD(put_onblur)(THIS_ VARIANT) PURE;
516 STDMETHOD(get_onblur)(THIS_ VARIANT*) PURE;
517 STDMETHOD(put_onload)(THIS_ VARIANT) PURE;
518 STDMETHOD(get_onload)(THIS_ VARIANT*) PURE;
519 STDMETHOD(put_onbeforeunload)(THIS_ VARIANT) PURE;
520 STDMETHOD(get_onbeforeunload)(THIS_ VARIANT*) PURE;
521 STDMETHOD(put_onunload)(THIS_ VARIANT) PURE;
522 STDMETHOD(get_onunload)(THIS_ VARIANT*) PURE;
523 STDMETHOD(put_onhelp)(THIS_ VARIANT) PURE;
524 STDMETHOD(get_onhelp)(THIS_ VARIANT*) PURE;
525 STDMETHOD(put_onerror)(THIS_ VARIANT) PURE;
526 STDMETHOD(get_onerror)(THIS_ VARIANT*) PURE;
527 STDMETHOD(put_onresize)(THIS_ VARIANT) PURE;
528 STDMETHOD(get_onresize)(THIS_ VARIANT*) PURE;
529 STDMETHOD(put_onscroll)(THIS_ VARIANT) PURE;
530 STDMETHOD(get_onscroll)(THIS_ VARIANT*) PURE;
531 STDMETHOD(get_document)(THIS_ IHTMLDocument2**) PURE;
532 STDMETHOD(get_event)(THIS_ LPHTMLEVENTOBJ*) PURE;
533 STDMETHOD(get__newEnum)(THIS_ IUnknown**) PURE;
534 STDMETHOD(showModalDialog)(THIS_ BSTR,VARIANT*,VARIANT*,VARIANT*) PURE;
535 STDMETHOD(showHelp)(THIS_ BSTR,VARIANT,BSTR) PURE;
536 STDMETHOD(get_screen)(THIS_ LPHTMLSCREEN*) PURE;
537 STDMETHOD(get_Option)(THIS_ LPHTMLOPTIONELEMENTFACTORY*) PURE;
538 STDMETHOD(focus)(THIS) PURE;
539 STDMETHOD(get_closed)(THIS_ VARIANT_BOOL*) PURE;
540 STDMETHOD(blur)(THIS) PURE;
541 STDMETHOD(scroll)(THIS_ long,long) PURE;
542 STDMETHOD(get_clientInformation)(THIS_ LPOMNAVIGATOR*) PURE;
543 STDMETHOD(setInterval)(THIS_ BSTR,long,VARIANT*,long*) PURE;
544 STDMETHOD(clearInterval)(THIS_ long) PURE;
545 STDMETHOD(put_offscreenBuffering)(THIS_ VARIANT) PURE;
546 STDMETHOD(get_offscreenBuffering)(THIS_ VARIANT*) PURE;
547 STDMETHOD(execScript)(THIS_ BSTR,BSTR,VARIANT*) PURE;
548 STDMETHOD(toString)(THIS_ BSTR*) PURE;
549 STDMETHOD(scrollBy)(THIS_ long,long) PURE;
550 STDMETHOD(scrollTo)(THIS_ long,long) PURE;
551 STDMETHOD(moveTo)(THIS_ long,long) PURE;
552 STDMETHOD(moveBy)(THIS_ long,long) PURE;
553 STDMETHOD(resizeTo)(THIS_ long,long) PURE;
554 STDMETHOD(resizeBy)(THIS_ long,long) PURE;
555 STDMETHOD(get_external)(THIS_ IDispatch**) PURE;
556};
557#undef INTERFACE
558
559EXTERN_C const IID IID_IHTMLFrameBase;
560#define INTERFACE IHTMLFrameBase
561DECLARE_INTERFACE_(IHTMLFrameBase,IDispatch)
562{
563 STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
564 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
565 STDMETHOD_(ULONG,Release)(THIS) PURE;
566 STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
567 STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
568 STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
569 STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
570
571 STDMETHOD(put_src)(THIS_ BSTR) PURE;
572 STDMETHOD(get_src)(THIS_ BSTR*) PURE;
573 STDMETHOD(put_name)(THIS_ BSTR) PURE;
574 STDMETHOD(get_name)(THIS_ BSTR*) PURE;
575 STDMETHOD(put_border)(THIS_ VARIANT) PURE;
576 STDMETHOD(get_border)(THIS_ VARIANT*) PURE;
577 STDMETHOD(put_frameBorder)(THIS_ BSTR) PURE;
578 STDMETHOD(get_frameBorder)(THIS_ BSTR*) PURE;
579 STDMETHOD(put_frameSpacing)(THIS_ VARIANT) PURE;
580 STDMETHOD(get_frameSpacing)(THIS_ VARIANT*) PURE;
581 STDMETHOD(put_marginWidth)(THIS_ VARIANT) PURE;
582 STDMETHOD(get_marginWidth)(THIS_ VARIANT*) PURE;
583 STDMETHOD(put_marginHeight)(THIS_ VARIANT) PURE;
584 STDMETHOD(get_marginHeight)(THIS_ VARIANT*) PURE;
585 STDMETHOD(put_noResize)(THIS_ VARIANT_BOOL) PURE;
586 STDMETHOD(get_noResize)(THIS_ VARIANT_BOOL*) PURE;
587 STDMETHOD(put_scrolling)(THIS_ BSTR) PURE;
588 STDMETHOD(get_scrolling)(THIS_ BSTR*) PURE;
589};
590#undef INTERFACE
591
592EXTERN_C const IID IID_IHTMLFrameBase2;
593#define INTERFACE IHTMLFrameBase2
594DECLARE_INTERFACE_(IHTMLFrameBase2,IDispatch)
595{
596 STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
597 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
598 STDMETHOD_(ULONG,Release)(THIS) PURE;
599 STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
600 STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
601 STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
602 STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
603
604 STDMETHOD(get_contentWindow)(THIS_ IHTMLWindow2 **) PURE;
605 STDMETHOD(put_onload)(THIS_ VARIANT) PURE;
606 STDMETHOD(get_onload)(THIS_ VARIANT*) PURE;
607 STDMETHOD(put_onreadystatechange)(THIS_ VARIANT) PURE;
608 STDMETHOD(get_onreadystatechange)(THIS_ VARIANT*) PURE;
609 STDMETHOD(get_readyState)(THIS_ BSTR*) PURE;
610 STDMETHOD(put_allowTransparency)(THIS_ VARIANT_BOOL) PURE;
611 STDMETHOD(get_allowTransparency)(THIS_ VARIANT_BOOL*) PURE;
612};
613#undef INTERFACE
614
615EXTERN_C const IID IID_IHTMLFrameBase3;
616#define INTERFACE IHTMLFrameBase3
617DECLARE_INTERFACE_(IHTMLFrameBase3,IDispatch)
618{
619 STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
620 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
621 STDMETHOD_(ULONG,Release)(THIS) PURE;
622 STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
623 STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
624 STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
625 STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
626
627 STDMETHOD(put_longDesc)(THIS_ BSTR) PURE;
628 STDMETHOD(get_longDesc)(THIS_ BSTR*) PURE;
629};
630#undef INTERFACE
631
632EXTERN_C const IID IID_IHTMLBodyElement;
633#define INTERFACE IHTMLBodyElement
634DECLARE_INTERFACE_(IHTMLBodyElement,IDispatch)
635{
636 STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
637 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
638 STDMETHOD_(ULONG,Release)(THIS) PURE;
639 STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
640 STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
641 STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
642 STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
643
644 STDMETHOD(put_background)(THIS_ BSTR) PURE;
645 STDMETHOD(get_background)(THIS_ BSTR*) PURE;
646 STDMETHOD(put_bgProperties)(THIS_ BSTR) PURE;
647 STDMETHOD(get_bgProperties)(THIS_ BSTR*) PURE;
648 STDMETHOD(put_leftMargin)(THIS_ VARIANT) PURE;
649 STDMETHOD(get_leftMargin)(THIS_ VARIANT*) PURE;
650 STDMETHOD(put_topMargin)(THIS_ VARIANT) PURE;
651 STDMETHOD(get_topMargin)(THIS_ VARIANT*) PURE;
652 STDMETHOD(put_rightMargin)(THIS_ VARIANT) PURE;
653 STDMETHOD(get_rightMargin)(THIS_ VARIANT*) PURE;
654 STDMETHOD(put_bottomMargin)(THIS_ VARIANT) PURE;
655 STDMETHOD(get_bottomMargin)(THIS_ VARIANT*) PURE;
656 STDMETHOD(put_noWrap)(THIS_ VARIANT_BOOL) PURE;
657 STDMETHOD(get_noWrap)(THIS_ VARIANT_BOOL*) PURE;
658 STDMETHOD(put_bgColor)(THIS_ VARIANT) PURE;
659 STDMETHOD(get_bgColor)(THIS_ VARIANT*) PURE;
660 STDMETHOD(put_text)(THIS_ VARIANT) PURE;
661 STDMETHOD(get_text)(THIS_ VARIANT*) PURE;
662 STDMETHOD(put_link)(THIS_ VARIANT) PURE;
663 STDMETHOD(get_link)(THIS_ VARIANT*) PURE;
664 STDMETHOD(put_vLink)(THIS_ VARIANT) PURE;
665 STDMETHOD(get_vLink)(THIS_ VARIANT*) PURE;
666 STDMETHOD(put_aLink)(THIS_ VARIANT) PURE;
667 STDMETHOD(get_aLink)(THIS_ VARIANT*) PURE;
668 STDMETHOD(put_onload)(THIS_ VARIANT) PURE;
669 STDMETHOD(get_onload)(THIS_ VARIANT*) PURE;
670 STDMETHOD(put_onunload)(THIS_ VARIANT) PURE;
671 STDMETHOD(get_onunload)(THIS_ VARIANT*) PURE;
672 STDMETHOD(put_scroll)(THIS_ BSTR) PURE;
673 STDMETHOD(get_scroll)(THIS_ BSTR*) PURE;
674 STDMETHOD(put_onselect)(THIS_ VARIANT) PURE;
675 STDMETHOD(get_onselect)(THIS_ VARIANT*) PURE;
676 STDMETHOD(put_onbeforeunload)(THIS_ VARIANT) PURE;
677 STDMETHOD(get_onbeforeunload)(THIS_ VARIANT*) PURE;
678 STDMETHOD(createTextRange)(THIS_ IHTMLTxtRange**) PURE;
679};
680#undef INTERFACE
681
682EXTERN_C const IID IID_IHTMLBodyElement2;
683#define INTERFACE IHTMLBodyElement2
684DECLARE_INTERFACE_(IHTMLBodyElement2,IDispatch)
685{
686 STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
687 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
688 STDMETHOD_(ULONG,Release)(THIS) PURE;
689 STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
690 STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
691 STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
692 STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
693
694 STDMETHOD(put_onbeforeprint)(THIS_ VARIANT) PURE;
695 STDMETHOD(get_onbeforeprint)(THIS_ VARIANT*) PURE;
696 STDMETHOD(put_onafterprint)(THIS_ VARIANT) PURE;
697 STDMETHOD(get_onafterprint)(THIS_ VARIANT*) PURE;
698};
699#undef INTERFACE
700
701#ifdef __cplusplus
702}
703#endif
704#endif
Note: See TracBrowser for help on using the repository browser.