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
21 #include "wine/debug.h"
23 WINE_DEFAULT_DEBUG_CHANNEL(ieframe
);
25 static inline IEHTMLWindow
*impl_from_IHTMLWindow2(IHTMLWindow2
*iface
)
27 return CONTAINING_RECORD(iface
, IEHTMLWindow
, IHTMLWindow2_iface
);
30 static HRESULT WINAPI
IEHTMLWindow2_QueryInterface(IHTMLWindow2
*iface
, REFIID riid
, void **ppv
)
32 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
34 if(IsEqualGUID(&IID_IUnknown
, riid
)) {
35 TRACE("(%p)->(IID_IUnknown %p)\n", This
, ppv
);
36 *ppv
= &This
->IHTMLWindow2_iface
;
37 }else if(IsEqualGUID(&IID_IDispatch
, riid
)) {
38 TRACE("(%p)->(IID_IDispatch %p)\n", This
, ppv
);
39 *ppv
= &This
->IHTMLWindow2_iface
;
40 }else if(IsEqualGUID(&IID_IHTMLFramesCollection2
, riid
)) {
41 TRACE("(%p)->(IID_IHTMLFramesCollection2 %p)\n", This
, ppv
);
42 *ppv
= &This
->IHTMLWindow2_iface
;
43 }else if(IsEqualGUID(&IID_IHTMLWindow2
, riid
)) {
44 TRACE("(%p)->(IID_IHTMLWindow2 %p)\n", This
, ppv
);
45 *ppv
= &This
->IHTMLWindow2_iface
;
47 WARN("(%p)->(%s %p)\n", This
, debugstr_guid(riid
), ppv
);
52 IUnknown_AddRef((IUnknown
*)*ppv
);
56 static ULONG WINAPI
IEHTMLWindow2_AddRef(IHTMLWindow2
*iface
)
58 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
60 TRACE("(%p)\n", This
);
62 return IOleClientSite_AddRef(&This
->doc_host
->IOleClientSite_iface
);
65 static ULONG WINAPI
IEHTMLWindow2_Release(IHTMLWindow2
*iface
)
67 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
69 TRACE("(%p)\n", This
);
71 return IOleClientSite_Release(&This
->doc_host
->IOleClientSite_iface
);
74 static HRESULT WINAPI
IEHTMLWindow2_GetTypeInfoCount(IHTMLWindow2
*iface
, UINT
*pctinfo
)
76 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
77 FIXME("(%p)->()\n", This
);
81 static HRESULT WINAPI
IEHTMLWindow2_GetTypeInfo(IHTMLWindow2
*iface
, UINT iTInfo
,
82 LCID lcid
, ITypeInfo
**ppTInfo
)
84 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
85 FIXME("(%p)->()\n", This
);
89 static HRESULT WINAPI
IEHTMLWindow2_GetIDsOfNames(IHTMLWindow2
*iface
, REFIID riid
,
90 LPOLESTR
*rgszNames
, UINT cNames
,
91 LCID lcid
, DISPID
*rgDispId
)
93 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
94 FIXME("(%p)->()\n", This
);
98 static HRESULT WINAPI
IEHTMLWindow2_Invoke(IHTMLWindow2
*iface
, DISPID dispIdMember
,
99 REFIID riid
, LCID lcid
, WORD wFlags
, DISPPARAMS
*pDispParams
,
100 VARIANT
*pVarResult
, EXCEPINFO
*pExcepInfo
, UINT
*puArgErr
)
102 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
103 FIXME("(%p)->()\n", This
);
107 static HRESULT WINAPI
IEHTMLWindow2_item(IHTMLWindow2
*iface
, VARIANT
*pvarIndex
, VARIANT
*pvarResult
)
109 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
110 FIXME("(%p)->(%s %p)\n", This
, debugstr_variant(pvarIndex
), pvarResult
);
114 static HRESULT WINAPI
IEHTMLWindow2_get_length(IHTMLWindow2
*iface
, LONG
*p
)
116 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
117 FIXME("(%p)->(%p)\n", This
, p
);
121 static HRESULT WINAPI
IEHTMLWindow2_get_frames(IHTMLWindow2
*iface
, IHTMLFramesCollection2
**p
)
123 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
124 FIXME("(%p)->(%p)\n", This
, p
);
128 static HRESULT WINAPI
IEHTMLWindow2_put_defaultStatus(IHTMLWindow2
*iface
, BSTR v
)
130 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
131 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
135 static HRESULT WINAPI
IEHTMLWindow2_get_defaultStatus(IHTMLWindow2
*iface
, BSTR
*p
)
137 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
138 FIXME("(%p)->(%p)\n", This
, p
);
142 static HRESULT WINAPI
IEHTMLWindow2_put_status(IHTMLWindow2
*iface
, BSTR v
)
144 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
145 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
149 static HRESULT WINAPI
IEHTMLWindow2_get_status(IHTMLWindow2
*iface
, BSTR
*p
)
151 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
152 FIXME("(%p)->(%p)\n", This
, p
);
156 static HRESULT WINAPI
IEHTMLWindow2_setTimeout(IHTMLWindow2
*iface
, BSTR expression
,
157 LONG msec
, VARIANT
*language
, LONG
*timerID
)
159 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
160 FIXME("(%p)->(%s %d %s %p)\n", This
, debugstr_w(expression
), msec
, debugstr_variant(language
), timerID
);
164 static HRESULT WINAPI
IEHTMLWindow2_clearTimeout(IHTMLWindow2
*iface
, LONG timerID
)
166 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
167 FIXME("(%p)->(%d)\n", This
, timerID
);
171 static HRESULT WINAPI
IEHTMLWindow2_alert(IHTMLWindow2
*iface
, BSTR message
)
173 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
174 FIXME("(%p)->(%s)\n", This
, debugstr_w(message
));
178 static HRESULT WINAPI
IEHTMLWindow2_confirm(IHTMLWindow2
*iface
, BSTR message
,
179 VARIANT_BOOL
*confirmed
)
181 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
182 FIXME("(%p)->(%s %p)\n", This
, debugstr_w(message
), confirmed
);
186 static HRESULT WINAPI
IEHTMLWindow2_prompt(IHTMLWindow2
*iface
, BSTR message
,
187 BSTR dststr
, VARIANT
*textdata
)
189 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
190 FIXME("(%p)->(%s %s %p)\n", This
, debugstr_w(message
), debugstr_w(dststr
), textdata
);
194 static HRESULT WINAPI
IEHTMLWindow2_get_Image(IHTMLWindow2
*iface
, IHTMLImageElementFactory
**p
)
196 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
197 FIXME("(%p)->(%p)\n", This
, p
);
201 static HRESULT WINAPI
IEHTMLWindow2_get_location(IHTMLWindow2
*iface
, IHTMLLocation
**p
)
203 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
204 FIXME("(%p)->(%p)\n", This
, p
);
208 static HRESULT WINAPI
IEHTMLWindow2_get_history(IHTMLWindow2
*iface
, IOmHistory
**p
)
210 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
211 FIXME("(%p)->(%p)\n", This
, p
);
215 static HRESULT WINAPI
IEHTMLWindow2_close(IHTMLWindow2
*iface
)
217 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
219 FIXME("(%p) semi-stub\n", This
);
221 if(!This
->doc_host
->wb
)
224 return IWebBrowser2_put_Visible(This
->doc_host
->wb
, VARIANT_FALSE
);
227 static HRESULT WINAPI
IEHTMLWindow2_put_opener(IHTMLWindow2
*iface
, VARIANT v
)
229 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
230 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
234 static HRESULT WINAPI
IEHTMLWindow2_get_opener(IHTMLWindow2
*iface
, VARIANT
*p
)
236 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
237 FIXME("(%p)->(%p)\n", This
, p
);
241 static HRESULT WINAPI
IEHTMLWindow2_get_navigator(IHTMLWindow2
*iface
, IOmNavigator
**p
)
243 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
244 FIXME("(%p)->(%p)\n", This
, p
);
248 static HRESULT WINAPI
IEHTMLWindow2_put_name(IHTMLWindow2
*iface
, BSTR v
)
250 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
251 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
255 static HRESULT WINAPI
IEHTMLWindow2_get_name(IHTMLWindow2
*iface
, BSTR
*p
)
257 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
258 FIXME("(%p)->(%p)\n", This
, p
);
262 static HRESULT WINAPI
IEHTMLWindow2_get_parent(IHTMLWindow2
*iface
, IHTMLWindow2
**p
)
264 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
265 FIXME("(%p)->(%p)\n", This
, p
);
269 static HRESULT WINAPI
IEHTMLWindow2_open(IHTMLWindow2
*iface
, BSTR url
, BSTR name
,
270 BSTR features
, VARIANT_BOOL replace
, IHTMLWindow2
**pomWindowResult
)
272 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
273 FIXME("(%p)->(%s %s %s %x %p)\n", This
, debugstr_w(url
), debugstr_w(name
),
274 debugstr_w(features
), replace
, pomWindowResult
);
278 static HRESULT WINAPI
IEHTMLWindow2_get_self(IHTMLWindow2
*iface
, IHTMLWindow2
**p
)
280 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
281 FIXME("(%p)->(%p)\n", This
, p
);
285 static HRESULT WINAPI
IEHTMLWindow2_get_top(IHTMLWindow2
*iface
, IHTMLWindow2
**p
)
287 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
288 FIXME("(%p)->(%p)\n", This
, p
);
292 static HRESULT WINAPI
IEHTMLWindow2_get_window(IHTMLWindow2
*iface
, IHTMLWindow2
**p
)
294 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
295 FIXME("(%p)->(%p)\n", This
, p
);
299 static HRESULT WINAPI
IEHTMLWindow2_navigate(IHTMLWindow2
*iface
, BSTR url
)
301 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
302 FIXME("(%p)->(%s)\n", This
, debugstr_w(url
));
306 static HRESULT WINAPI
IEHTMLWindow2_put_onfocus(IHTMLWindow2
*iface
, VARIANT v
)
308 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
309 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
313 static HRESULT WINAPI
IEHTMLWindow2_get_onfocus(IHTMLWindow2
*iface
, VARIANT
*p
)
315 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
316 FIXME("(%p)->(%p)\n", This
, p
);
320 static HRESULT WINAPI
IEHTMLWindow2_put_onblur(IHTMLWindow2
*iface
, VARIANT v
)
322 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
323 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
327 static HRESULT WINAPI
IEHTMLWindow2_get_onblur(IHTMLWindow2
*iface
, VARIANT
*p
)
329 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
330 FIXME("(%p)->(%p)\n", This
, p
);
334 static HRESULT WINAPI
IEHTMLWindow2_put_onload(IHTMLWindow2
*iface
, VARIANT v
)
336 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
337 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
341 static HRESULT WINAPI
IEHTMLWindow2_get_onload(IHTMLWindow2
*iface
, VARIANT
*p
)
343 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
344 FIXME("(%p)->(%p)\n", This
, p
);
348 static HRESULT WINAPI
IEHTMLWindow2_put_onbeforeunload(IHTMLWindow2
*iface
, VARIANT v
)
350 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
351 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
355 static HRESULT WINAPI
IEHTMLWindow2_get_onbeforeunload(IHTMLWindow2
*iface
, VARIANT
*p
)
357 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
358 FIXME("(%p)->(%p)\n", This
, p
);
362 static HRESULT WINAPI
IEHTMLWindow2_put_onunload(IHTMLWindow2
*iface
, VARIANT v
)
364 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
365 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
369 static HRESULT WINAPI
IEHTMLWindow2_get_onunload(IHTMLWindow2
*iface
, VARIANT
*p
)
371 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
372 FIXME("(%p)->(%p)\n", This
, p
);
376 static HRESULT WINAPI
IEHTMLWindow2_put_onhelp(IHTMLWindow2
*iface
, VARIANT v
)
378 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
379 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
383 static HRESULT WINAPI
IEHTMLWindow2_get_onhelp(IHTMLWindow2
*iface
, VARIANT
*p
)
385 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
386 FIXME("(%p)->(%p)\n", This
, p
);
390 static HRESULT WINAPI
IEHTMLWindow2_put_onerror(IHTMLWindow2
*iface
, VARIANT v
)
392 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
393 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
397 static HRESULT WINAPI
IEHTMLWindow2_get_onerror(IHTMLWindow2
*iface
, VARIANT
*p
)
399 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
400 FIXME("(%p)->(%p)\n", This
, p
);
404 static HRESULT WINAPI
IEHTMLWindow2_put_onresize(IHTMLWindow2
*iface
, VARIANT v
)
406 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
407 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
411 static HRESULT WINAPI
IEHTMLWindow2_get_onresize(IHTMLWindow2
*iface
, VARIANT
*p
)
413 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
414 FIXME("(%p)->(%p)\n", This
, p
);
418 static HRESULT WINAPI
IEHTMLWindow2_put_onscroll(IHTMLWindow2
*iface
, VARIANT v
)
420 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
421 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
425 static HRESULT WINAPI
IEHTMLWindow2_get_onscroll(IHTMLWindow2
*iface
, VARIANT
*p
)
427 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
428 FIXME("(%p)->(%p)\n", This
, p
);
432 static HRESULT WINAPI
IEHTMLWindow2_get_document(IHTMLWindow2
*iface
, IHTMLDocument2
**p
)
434 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
435 FIXME("(%p)->(%p)\n", This
, p
);
439 static HRESULT WINAPI
IEHTMLWindow2_get_event(IHTMLWindow2
*iface
, IHTMLEventObj
**p
)
441 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
442 FIXME("(%p)->(%p)\n", This
, p
);
446 static HRESULT WINAPI
IEHTMLWindow2_get__newEnum(IHTMLWindow2
*iface
, IUnknown
**p
)
448 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
449 FIXME("(%p)->(%p)\n", This
, p
);
453 static HRESULT WINAPI
IEHTMLWindow2_showModalDialog(IHTMLWindow2
*iface
, BSTR dialog
,
454 VARIANT
*varArgIn
, VARIANT
*varOptions
, VARIANT
*varArgOut
)
456 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
457 FIXME("(%p)->(%s %s %s %p)\n", This
, debugstr_w(dialog
), debugstr_variant(varArgIn
),
458 debugstr_variant(varOptions
), varArgOut
);
462 static HRESULT WINAPI
IEHTMLWindow2_showHelp(IHTMLWindow2
*iface
, BSTR helpURL
, VARIANT helpArg
,
465 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
466 FIXME("(%p)->(%s %s %s)\n", This
, debugstr_w(helpURL
), debugstr_variant(&helpArg
), debugstr_w(features
));
470 static HRESULT WINAPI
IEHTMLWindow2_get_screen(IHTMLWindow2
*iface
, IHTMLScreen
**p
)
472 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
473 FIXME("(%p)->(%p)\n", This
, p
);
477 static HRESULT WINAPI
IEHTMLWindow2_get_Option(IHTMLWindow2
*iface
, IHTMLOptionElementFactory
**p
)
479 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
480 FIXME("(%p)->(%p)\n", This
, p
);
484 static HRESULT WINAPI
IEHTMLWindow2_focus(IHTMLWindow2
*iface
)
486 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
487 FIXME("(%p)->()\n", This
);
491 static HRESULT WINAPI
IEHTMLWindow2_get_closed(IHTMLWindow2
*iface
, VARIANT_BOOL
*p
)
493 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
494 FIXME("(%p)->(%p)\n", This
, p
);
498 static HRESULT WINAPI
IEHTMLWindow2_blur(IHTMLWindow2
*iface
)
500 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
501 FIXME("(%p)->()\n", This
);
505 static HRESULT WINAPI
IEHTMLWindow2_scroll(IHTMLWindow2
*iface
, LONG x
, LONG y
)
507 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
508 FIXME("(%p)->(%d %d)\n", This
, x
, y
);
512 static HRESULT WINAPI
IEHTMLWindow2_get_clientInformation(IHTMLWindow2
*iface
, IOmNavigator
**p
)
514 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
515 FIXME("(%p)->(%p)\n", This
, p
);
519 static HRESULT WINAPI
IEHTMLWindow2_setInterval(IHTMLWindow2
*iface
, BSTR expression
,
520 LONG msec
, VARIANT
*language
, LONG
*timerID
)
522 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
523 FIXME("(%p)->(%s %d %s %p)\n", This
, debugstr_w(expression
), msec
, debugstr_variant(language
), timerID
);
527 static HRESULT WINAPI
IEHTMLWindow2_clearInterval(IHTMLWindow2
*iface
, LONG timerID
)
529 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
530 FIXME("(%p)->(%d)\n", This
, timerID
);
534 static HRESULT WINAPI
IEHTMLWindow2_put_offscreenBuffering(IHTMLWindow2
*iface
, VARIANT v
)
536 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
537 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
541 static HRESULT WINAPI
IEHTMLWindow2_get_offscreenBuffering(IHTMLWindow2
*iface
, VARIANT
*p
)
543 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
544 FIXME("(%p)->(%p)\n", This
, p
);
548 static HRESULT WINAPI
IEHTMLWindow2_execScript(IHTMLWindow2
*iface
, BSTR scode
, BSTR language
,
551 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
552 FIXME("(%p)->(%s %s %p)\n", This
, debugstr_w(scode
), debugstr_w(language
), pvarRet
);
556 static HRESULT WINAPI
IEHTMLWindow2_toString(IHTMLWindow2
*iface
, BSTR
*String
)
558 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
559 FIXME("(%p)->(%p)\n", This
, String
);
563 static HRESULT WINAPI
IEHTMLWindow2_scrollBy(IHTMLWindow2
*iface
, LONG x
, LONG y
)
565 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
566 FIXME("(%p)->(%d %d)\n", This
, x
, y
);
570 static HRESULT WINAPI
IEHTMLWindow2_scrollTo(IHTMLWindow2
*iface
, LONG x
, LONG y
)
572 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
573 FIXME("(%p)->(%d %d)\n", This
, x
, y
);
577 static HRESULT WINAPI
IEHTMLWindow2_moveTo(IHTMLWindow2
*iface
, LONG x
, LONG y
)
579 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
580 FIXME("(%p)->(%d %d)\n", This
, x
, y
);
584 static HRESULT WINAPI
IEHTMLWindow2_moveBy(IHTMLWindow2
*iface
, LONG x
, LONG y
)
586 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
587 FIXME("(%p)->(%d %d)\n", This
, x
, y
);
591 static HRESULT WINAPI
IEHTMLWindow2_resizeTo(IHTMLWindow2
*iface
, LONG x
, LONG y
)
593 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
594 FIXME("(%p)->(%d %d)\n", This
, x
, y
);
598 static HRESULT WINAPI
IEHTMLWindow2_resizeBy(IHTMLWindow2
*iface
, LONG x
, LONG y
)
600 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
601 FIXME("(%p)->(%d %d)\n", This
, x
, y
);
605 static HRESULT WINAPI
IEHTMLWindow2_get_external(IHTMLWindow2
*iface
, IDispatch
**p
)
607 IEHTMLWindow
*This
= impl_from_IHTMLWindow2(iface
);
608 FIXME("(%p)->(%p)\n", This
, p
);
612 static const IHTMLWindow2Vtbl IEHTMLWindow2Vtbl
= {
613 IEHTMLWindow2_QueryInterface
,
614 IEHTMLWindow2_AddRef
,
615 IEHTMLWindow2_Release
,
616 IEHTMLWindow2_GetTypeInfoCount
,
617 IEHTMLWindow2_GetTypeInfo
,
618 IEHTMLWindow2_GetIDsOfNames
,
619 IEHTMLWindow2_Invoke
,
621 IEHTMLWindow2_get_length
,
622 IEHTMLWindow2_get_frames
,
623 IEHTMLWindow2_put_defaultStatus
,
624 IEHTMLWindow2_get_defaultStatus
,
625 IEHTMLWindow2_put_status
,
626 IEHTMLWindow2_get_status
,
627 IEHTMLWindow2_setTimeout
,
628 IEHTMLWindow2_clearTimeout
,
630 IEHTMLWindow2_confirm
,
631 IEHTMLWindow2_prompt
,
632 IEHTMLWindow2_get_Image
,
633 IEHTMLWindow2_get_location
,
634 IEHTMLWindow2_get_history
,
636 IEHTMLWindow2_put_opener
,
637 IEHTMLWindow2_get_opener
,
638 IEHTMLWindow2_get_navigator
,
639 IEHTMLWindow2_put_name
,
640 IEHTMLWindow2_get_name
,
641 IEHTMLWindow2_get_parent
,
643 IEHTMLWindow2_get_self
,
644 IEHTMLWindow2_get_top
,
645 IEHTMLWindow2_get_window
,
646 IEHTMLWindow2_navigate
,
647 IEHTMLWindow2_put_onfocus
,
648 IEHTMLWindow2_get_onfocus
,
649 IEHTMLWindow2_put_onblur
,
650 IEHTMLWindow2_get_onblur
,
651 IEHTMLWindow2_put_onload
,
652 IEHTMLWindow2_get_onload
,
653 IEHTMLWindow2_put_onbeforeunload
,
654 IEHTMLWindow2_get_onbeforeunload
,
655 IEHTMLWindow2_put_onunload
,
656 IEHTMLWindow2_get_onunload
,
657 IEHTMLWindow2_put_onhelp
,
658 IEHTMLWindow2_get_onhelp
,
659 IEHTMLWindow2_put_onerror
,
660 IEHTMLWindow2_get_onerror
,
661 IEHTMLWindow2_put_onresize
,
662 IEHTMLWindow2_get_onresize
,
663 IEHTMLWindow2_put_onscroll
,
664 IEHTMLWindow2_get_onscroll
,
665 IEHTMLWindow2_get_document
,
666 IEHTMLWindow2_get_event
,
667 IEHTMLWindow2_get__newEnum
,
668 IEHTMLWindow2_showModalDialog
,
669 IEHTMLWindow2_showHelp
,
670 IEHTMLWindow2_get_screen
,
671 IEHTMLWindow2_get_Option
,
673 IEHTMLWindow2_get_closed
,
675 IEHTMLWindow2_scroll
,
676 IEHTMLWindow2_get_clientInformation
,
677 IEHTMLWindow2_setInterval
,
678 IEHTMLWindow2_clearInterval
,
679 IEHTMLWindow2_put_offscreenBuffering
,
680 IEHTMLWindow2_get_offscreenBuffering
,
681 IEHTMLWindow2_execScript
,
682 IEHTMLWindow2_toString
,
683 IEHTMLWindow2_scrollBy
,
684 IEHTMLWindow2_scrollTo
,
685 IEHTMLWindow2_moveTo
,
686 IEHTMLWindow2_moveBy
,
687 IEHTMLWindow2_resizeTo
,
688 IEHTMLWindow2_resizeBy
,
689 IEHTMLWindow2_get_external
692 void IEHTMLWindow_Init(DocHost
*doc_host
)
694 doc_host
->html_window
.IHTMLWindow2_iface
.lpVtbl
= &IEHTMLWindow2Vtbl
;
695 doc_host
->html_window
.doc_host
= doc_host
;