ReactOS 0.4.17-dev-1190-g4c812f4
iehtmlwnd.c
Go to the documentation of this file.
1/*
2 * Copyright 2012 Jacek Caban for CodeWeavers
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#include "ieframe.h"
20
21#include "wine/debug.h"
22
24
26{
27 IHTMLDocument2 *doc_obj;
29
30 if(!doc_host->document) {
31 *ret = NULL;
32 return S_OK;
33 }
34
35 hres = IUnknown_QueryInterface(doc_host->document, &IID_IHTMLDocument2, (void**)&doc_obj);
36 if(FAILED(hres))
37 return hres;
38
39 hres = IHTMLDocument2_get_parentWindow(doc_obj, ret);
40 IHTMLDocument2_Release(doc_obj);
41 return hres;
42}
43
45{
46 return CONTAINING_RECORD(iface, IEHTMLWindow, IHTMLWindow2_iface);
47}
48
50{
52
54 TRACE("(%p)->(IID_IUnknown %p)\n", This, ppv);
55 *ppv = &This->IHTMLWindow2_iface;
56 }else if(IsEqualGUID(&IID_IDispatch, riid)) {
57 TRACE("(%p)->(IID_IDispatch %p)\n", This, ppv);
58 *ppv = &This->IHTMLWindow2_iface;
59 }else if(IsEqualGUID(&IID_IHTMLFramesCollection2, riid)) {
60 TRACE("(%p)->(IID_IHTMLFramesCollection2 %p)\n", This, ppv);
61 *ppv = &This->IHTMLWindow2_iface;
62 }else if(IsEqualGUID(&IID_IHTMLWindow2, riid)) {
63 TRACE("(%p)->(IID_IHTMLWindow2 %p)\n", This, ppv);
64 *ppv = &This->IHTMLWindow2_iface;
65 }else {
66 WARN("(%p)->(%s %p)\n", This, debugstr_guid(riid), ppv);
67 *ppv = NULL;
68 return E_NOINTERFACE;
69 }
70
71 IUnknown_AddRef((IUnknown*)*ppv);
72 return S_OK;
73}
74
76{
78
79 TRACE("(%p)\n", This);
80
81 return IOleClientSite_AddRef(&This->doc_host->IOleClientSite_iface);
82}
83
85{
87
88 TRACE("(%p)\n", This);
89
90 return IOleClientSite_Release(&This->doc_host->IOleClientSite_iface);
91}
92
94{
96 FIXME("(%p)->()\n", This);
97 return E_NOTIMPL;
98}
99
101 LCID lcid, ITypeInfo **ppTInfo)
102{
104 FIXME("(%p)->()\n", This);
105 return E_NOTIMPL;
106}
107
109 LPOLESTR *rgszNames, UINT cNames,
110 LCID lcid, DISPID *rgDispId)
111{
113 FIXME("(%p)->()\n", This);
114 return E_NOTIMPL;
115}
116
118 REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams,
119 VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
120{
122 FIXME("(%p)->()\n", This);
123 return E_NOTIMPL;
124}
125
126static HRESULT WINAPI IEHTMLWindow2_item(IHTMLWindow2 *iface, VARIANT *pvarIndex, VARIANT *pvarResult)
127{
129 FIXME("(%p)->(%s %p)\n", This, debugstr_variant(pvarIndex), pvarResult);
130 return E_NOTIMPL;
131}
132
134{
136 FIXME("(%p)->(%p)\n", This, p);
137 return E_NOTIMPL;
138}
139
140static HRESULT WINAPI IEHTMLWindow2_get_frames(IHTMLWindow2 *iface, IHTMLFramesCollection2 **p)
141{
143 FIXME("(%p)->(%p)\n", This, p);
144 return E_NOTIMPL;
145}
146
148{
150 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
151 return E_NOTIMPL;
152}
153
155{
157 FIXME("(%p)->(%p)\n", This, p);
158 return E_NOTIMPL;
159}
160
162{
164 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
165 return E_NOTIMPL;
166}
167
169{
171 FIXME("(%p)->(%p)\n", This, p);
172 return E_NOTIMPL;
173}
174
176 LONG msec, VARIANT *language, LONG *timerID)
177{
179 FIXME("(%p)->(%s %ld %s %p)\n", This, debugstr_w(expression), msec, debugstr_variant(language), timerID);
180 return E_NOTIMPL;
181}
182
184{
186 FIXME("(%p)->(%ld)\n", This, timerID);
187 return E_NOTIMPL;
188}
189
191{
193 FIXME("(%p)->(%s)\n", This, debugstr_w(message));
194 return E_NOTIMPL;
195}
196
198 VARIANT_BOOL *confirmed)
199{
201 FIXME("(%p)->(%s %p)\n", This, debugstr_w(message), confirmed);
202 return E_NOTIMPL;
203}
204
206 BSTR dststr, VARIANT *textdata)
207{
209 FIXME("(%p)->(%s %s %p)\n", This, debugstr_w(message), debugstr_w(dststr), textdata);
210 return E_NOTIMPL;
211}
212
213static HRESULT WINAPI IEHTMLWindow2_get_Image(IHTMLWindow2 *iface, IHTMLImageElementFactory **p)
214{
216 FIXME("(%p)->(%p)\n", This, p);
217 return E_NOTIMPL;
218}
219
221{
223 FIXME("(%p)->(%p)\n", This, p);
224 return E_NOTIMPL;
225}
226
228{
230 FIXME("(%p)->(%p)\n", This, p);
231 return E_NOTIMPL;
232}
233
235{
237
238 FIXME("(%p) semi-stub\n", This);
239
240 if(!This->doc_host->wb)
241 return E_UNEXPECTED;
242
243 return IWebBrowser2_put_Visible(This->doc_host->wb, VARIANT_FALSE);
244}
245
247{
249 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
250 return E_NOTIMPL;
251}
252
254{
256 FIXME("(%p)->(%p)\n", This, p);
257 return E_NOTIMPL;
258}
259
261{
263 FIXME("(%p)->(%p)\n", This, p);
264 return E_NOTIMPL;
265}
266
268{
270 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
271 return E_NOTIMPL;
272}
273
275{
277 FIXME("(%p)->(%p)\n", This, p);
278 return E_NOTIMPL;
279}
280
282{
284 FIXME("(%p)->(%p)\n", This, p);
285 return E_NOTIMPL;
286}
287
289 BSTR features, VARIANT_BOOL replace, IHTMLWindow2 **pomWindowResult)
290{
292 FIXME("(%p)->(%s %s %s %x %p)\n", This, debugstr_w(url), debugstr_w(name),
293 debugstr_w(features), replace, pomWindowResult);
294 return E_NOTIMPL;
295}
296
298{
300 FIXME("(%p)->(%p)\n", This, p);
301 return E_NOTIMPL;
302}
303
305{
307 FIXME("(%p)->(%p)\n", This, p);
308 return E_NOTIMPL;
309}
310
312{
314 FIXME("(%p)->(%p)\n", This, p);
315 return E_NOTIMPL;
316}
317
319{
321 FIXME("(%p)->(%s)\n", This, debugstr_w(url));
322 return E_NOTIMPL;
323}
324
326{
328 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
329 return E_NOTIMPL;
330}
331
333{
335 FIXME("(%p)->(%p)\n", This, p);
336 return E_NOTIMPL;
337}
338
340{
342 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
343 return E_NOTIMPL;
344}
345
347{
349 FIXME("(%p)->(%p)\n", This, p);
350 return E_NOTIMPL;
351}
352
354{
356 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
357 return E_NOTIMPL;
358}
359
361{
363 FIXME("(%p)->(%p)\n", This, p);
364 return E_NOTIMPL;
365}
366
368{
370 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
371 return E_NOTIMPL;
372}
373
375{
377 FIXME("(%p)->(%p)\n", This, p);
378 return E_NOTIMPL;
379}
380
382{
384 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
385 return E_NOTIMPL;
386}
387
389{
391 FIXME("(%p)->(%p)\n", This, p);
392 return E_NOTIMPL;
393}
394
396{
398 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
399 return E_NOTIMPL;
400}
401
403{
405 FIXME("(%p)->(%p)\n", This, p);
406 return E_NOTIMPL;
407}
408
410{
412 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
413 return E_NOTIMPL;
414}
415
417{
419 FIXME("(%p)->(%p)\n", This, p);
420 return E_NOTIMPL;
421}
422
424{
426 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
427 return E_NOTIMPL;
428}
429
431{
433 FIXME("(%p)->(%p)\n", This, p);
434 return E_NOTIMPL;
435}
436
438{
440 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
441 return E_NOTIMPL;
442}
443
445{
447 FIXME("(%p)->(%p)\n", This, p);
448 return E_NOTIMPL;
449}
450
452{
456
457 TRACE("(%p)->(%p)\n", This, p);
458
459 hres = get_window(This->doc_host, &window);
460 if(FAILED(hres))
461 return hres;
462
463 if(!window)
464 *p = NULL;
465 else {
466 hres = IHTMLWindow2_get_document(window, p);
467 IHTMLWindow2_Release(window);
468 }
469 return hres;
470}
471
472static HRESULT WINAPI IEHTMLWindow2_get_event(IHTMLWindow2 *iface, IHTMLEventObj **p)
473{
475 FIXME("(%p)->(%p)\n", This, p);
476 return E_NOTIMPL;
477}
478
480{
482 FIXME("(%p)->(%p)\n", This, p);
483 return E_NOTIMPL;
484}
485
487 VARIANT *varArgIn, VARIANT *varOptions, VARIANT *varArgOut)
488{
490 FIXME("(%p)->(%s %s %s %p)\n", This, debugstr_w(dialog), debugstr_variant(varArgIn),
491 debugstr_variant(varOptions), varArgOut);
492 return E_NOTIMPL;
493}
494
496 BSTR features)
497{
499 FIXME("(%p)->(%s %s %s)\n", This, debugstr_w(helpURL), debugstr_variant(&helpArg), debugstr_w(features));
500 return E_NOTIMPL;
501}
502
504{
506 FIXME("(%p)->(%p)\n", This, p);
507 return E_NOTIMPL;
508}
509
510static HRESULT WINAPI IEHTMLWindow2_get_Option(IHTMLWindow2 *iface, IHTMLOptionElementFactory **p)
511{
513 FIXME("(%p)->(%p)\n", This, p);
514 return E_NOTIMPL;
515}
516
518{
520 FIXME("(%p)->()\n", This);
521 return E_NOTIMPL;
522}
523
525{
527 FIXME("(%p)->(%p)\n", This, p);
528 return E_NOTIMPL;
529}
530
532{
534 FIXME("(%p)->()\n", This);
535 return E_NOTIMPL;
536}
537
539{
541 FIXME("(%p)->(%ld %ld)\n", This, x, y);
542 return E_NOTIMPL;
543}
544
546{
548 FIXME("(%p)->(%p)\n", This, p);
549 return E_NOTIMPL;
550}
551
553 LONG msec, VARIANT *language, LONG *timerID)
554{
556 FIXME("(%p)->(%s %ld %s %p)\n", This, debugstr_w(expression), msec, debugstr_variant(language), timerID);
557 return E_NOTIMPL;
558}
559
561{
563 FIXME("(%p)->(%ld)\n", This, timerID);
564 return E_NOTIMPL;
565}
566
568{
570 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
571 return E_NOTIMPL;
572}
573
575{
577 FIXME("(%p)->(%p)\n", This, p);
578 return E_NOTIMPL;
579}
580
582 VARIANT *pvarRet)
583{
585 FIXME("(%p)->(%s %s %p)\n", This, debugstr_w(scode), debugstr_w(language), pvarRet);
586 return E_NOTIMPL;
587}
588
590{
592 FIXME("(%p)->(%p)\n", This, String);
593 return E_NOTIMPL;
594}
595
597{
599 FIXME("(%p)->(%ld %ld)\n", This, x, y);
600 return E_NOTIMPL;
601}
602
604{
606 FIXME("(%p)->(%ld %ld)\n", This, x, y);
607 return E_NOTIMPL;
608}
609
611{
613 FIXME("(%p)->(%ld %ld)\n", This, x, y);
614 return E_NOTIMPL;
615}
616
618{
620 FIXME("(%p)->(%ld %ld)\n", This, x, y);
621 return E_NOTIMPL;
622}
623
625{
627 FIXME("(%p)->(%ld %ld)\n", This, x, y);
628 return E_NOTIMPL;
629}
630
632{
634 FIXME("(%p)->(%ld %ld)\n", This, x, y);
635 return E_NOTIMPL;
636}
637
639{
641 FIXME("(%p)->(%p)\n", This, p);
642 return E_NOTIMPL;
643}
644
645static const IHTMLWindow2Vtbl IEHTMLWindow2Vtbl = {
723};
724
726{
728 doc_host->html_window.doc_host = doc_host;
729}
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
Definition: precomp.h:23
#define FIXME(fmt,...)
Definition: precomp.h:53
#define WARN(fmt,...)
Definition: precomp.h:61
const GUID IID_IUnknown
#define E_NOTIMPL
Definition: ddrawi.h:99
#define NULL
Definition: types.h:112
OLECHAR * BSTR
Definition: compat.h:2293
short VARIANT_BOOL
Definition: compat.h:2290
LCID lcid
Definition: locale.c:5660
static const char * debugstr_variant(const VARIANT *var)
Definition: dom.c:505
return ret
Definition: mutex.c:147
unsigned short WORD
Definition: ntddk_ex.h:93
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
const GLdouble * v
Definition: gl.h:2040
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
GLfloat GLfloat p
Definition: glext.h:8902
unsigned int UINT
Definition: sysinfo.c:13
static ULONG WINAPI IEHTMLWindow2_Release(IHTMLWindow2 *iface)
Definition: iehtmlwnd.c:84
static HRESULT WINAPI IEHTMLWindow2_get_onscroll(IHTMLWindow2 *iface, VARIANT *p)
Definition: iehtmlwnd.c:444
static HRESULT WINAPI IEHTMLWindow2_scroll(IHTMLWindow2 *iface, LONG x, LONG y)
Definition: iehtmlwnd.c:538
static HRESULT WINAPI IEHTMLWindow2_put_onunload(IHTMLWindow2 *iface, VARIANT v)
Definition: iehtmlwnd.c:381
static HRESULT WINAPI IEHTMLWindow2_get_defaultStatus(IHTMLWindow2 *iface, BSTR *p)
Definition: iehtmlwnd.c:154
static HRESULT WINAPI IEHTMLWindow2_get_onblur(IHTMLWindow2 *iface, VARIANT *p)
Definition: iehtmlwnd.c:346
static HRESULT WINAPI IEHTMLWindow2_put_onload(IHTMLWindow2 *iface, VARIANT v)
Definition: iehtmlwnd.c:353
static HRESULT WINAPI IEHTMLWindow2_get_screen(IHTMLWindow2 *iface, IHTMLScreen **p)
Definition: iehtmlwnd.c:503
static HRESULT WINAPI IEHTMLWindow2_setInterval(IHTMLWindow2 *iface, BSTR expression, LONG msec, VARIANT *language, LONG *timerID)
Definition: iehtmlwnd.c:552
static HRESULT WINAPI IEHTMLWindow2_toString(IHTMLWindow2 *iface, BSTR *String)
Definition: iehtmlwnd.c:589
static HRESULT WINAPI IEHTMLWindow2_put_onbeforeunload(IHTMLWindow2 *iface, VARIANT v)
Definition: iehtmlwnd.c:367
static HRESULT WINAPI IEHTMLWindow2_get_onunload(IHTMLWindow2 *iface, VARIANT *p)
Definition: iehtmlwnd.c:388
static HRESULT WINAPI IEHTMLWindow2_get_status(IHTMLWindow2 *iface, BSTR *p)
Definition: iehtmlwnd.c:168
static HRESULT WINAPI IEHTMLWindow2_get_window(IHTMLWindow2 *iface, IHTMLWindow2 **p)
Definition: iehtmlwnd.c:311
static HRESULT WINAPI IEHTMLWindow2_prompt(IHTMLWindow2 *iface, BSTR message, BSTR dststr, VARIANT *textdata)
Definition: iehtmlwnd.c:205
static HRESULT WINAPI IEHTMLWindow2_GetTypeInfo(IHTMLWindow2 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
Definition: iehtmlwnd.c:100
static HRESULT WINAPI IEHTMLWindow2_get_onhelp(IHTMLWindow2 *iface, VARIANT *p)
Definition: iehtmlwnd.c:402
static HRESULT WINAPI IEHTMLWindow2_open(IHTMLWindow2 *iface, BSTR url, BSTR name, BSTR features, VARIANT_BOOL replace, IHTMLWindow2 **pomWindowResult)
Definition: iehtmlwnd.c:288
static HRESULT WINAPI IEHTMLWindow2_put_onblur(IHTMLWindow2 *iface, VARIANT v)
Definition: iehtmlwnd.c:339
static const IHTMLWindow2Vtbl IEHTMLWindow2Vtbl
Definition: iehtmlwnd.c:645
static HRESULT WINAPI IEHTMLWindow2_resizeBy(IHTMLWindow2 *iface, LONG x, LONG y)
Definition: iehtmlwnd.c:631
static HRESULT WINAPI IEHTMLWindow2_put_offscreenBuffering(IHTMLWindow2 *iface, VARIANT v)
Definition: iehtmlwnd.c:567
static HRESULT WINAPI IEHTMLWindow2_scrollTo(IHTMLWindow2 *iface, LONG x, LONG y)
Definition: iehtmlwnd.c:603
static HRESULT WINAPI IEHTMLWindow2_put_name(IHTMLWindow2 *iface, BSTR v)
Definition: iehtmlwnd.c:267
HRESULT get_window(DocHost *doc_host, IHTMLWindow2 **ret)
Definition: iehtmlwnd.c:25
static HRESULT WINAPI IEHTMLWindow2_item(IHTMLWindow2 *iface, VARIANT *pvarIndex, VARIANT *pvarResult)
Definition: iehtmlwnd.c:126
static HRESULT WINAPI IEHTMLWindow2_clearTimeout(IHTMLWindow2 *iface, LONG timerID)
Definition: iehtmlwnd.c:183
static HRESULT WINAPI IEHTMLWindow2_showHelp(IHTMLWindow2 *iface, BSTR helpURL, VARIANT helpArg, BSTR features)
Definition: iehtmlwnd.c:495
static ULONG WINAPI IEHTMLWindow2_AddRef(IHTMLWindow2 *iface)
Definition: iehtmlwnd.c:75
static HRESULT WINAPI IEHTMLWindow2_get_Image(IHTMLWindow2 *iface, IHTMLImageElementFactory **p)
Definition: iehtmlwnd.c:213
static HRESULT WINAPI IEHTMLWindow2_put_onhelp(IHTMLWindow2 *iface, VARIANT v)
Definition: iehtmlwnd.c:395
static HRESULT WINAPI IEHTMLWindow2_scrollBy(IHTMLWindow2 *iface, LONG x, LONG y)
Definition: iehtmlwnd.c:596
static HRESULT WINAPI IEHTMLWindow2_execScript(IHTMLWindow2 *iface, BSTR scode, BSTR language, VARIANT *pvarRet)
Definition: iehtmlwnd.c:581
static HRESULT WINAPI IEHTMLWindow2_put_opener(IHTMLWindow2 *iface, VARIANT v)
Definition: iehtmlwnd.c:246
static HRESULT WINAPI IEHTMLWindow2_clearInterval(IHTMLWindow2 *iface, LONG timerID)
Definition: iehtmlwnd.c:560
static HRESULT WINAPI IEHTMLWindow2_put_onfocus(IHTMLWindow2 *iface, VARIANT v)
Definition: iehtmlwnd.c:325
static HRESULT WINAPI IEHTMLWindow2_QueryInterface(IHTMLWindow2 *iface, REFIID riid, void **ppv)
Definition: iehtmlwnd.c:49
static HRESULT WINAPI IEHTMLWindow2_get_navigator(IHTMLWindow2 *iface, IOmNavigator **p)
Definition: iehtmlwnd.c:260
static HRESULT WINAPI IEHTMLWindow2_get_length(IHTMLWindow2 *iface, LONG *p)
Definition: iehtmlwnd.c:133
static HRESULT WINAPI IEHTMLWindow2_alert(IHTMLWindow2 *iface, BSTR message)
Definition: iehtmlwnd.c:190
static IEHTMLWindow * impl_from_IHTMLWindow2(IHTMLWindow2 *iface)
Definition: iehtmlwnd.c:44
static HRESULT WINAPI IEHTMLWindow2_put_onscroll(IHTMLWindow2 *iface, VARIANT v)
Definition: iehtmlwnd.c:437
static HRESULT WINAPI IEHTMLWindow2_get_document(IHTMLWindow2 *iface, IHTMLDocument2 **p)
Definition: iehtmlwnd.c:451
static HRESULT WINAPI IEHTMLWindow2_get_onload(IHTMLWindow2 *iface, VARIANT *p)
Definition: iehtmlwnd.c:360
static HRESULT WINAPI IEHTMLWindow2_get_clientInformation(IHTMLWindow2 *iface, IOmNavigator **p)
Definition: iehtmlwnd.c:545
static HRESULT WINAPI IEHTMLWindow2_get_history(IHTMLWindow2 *iface, IOmHistory **p)
Definition: iehtmlwnd.c:227
static HRESULT WINAPI IEHTMLWindow2_get_event(IHTMLWindow2 *iface, IHTMLEventObj **p)
Definition: iehtmlwnd.c:472
static HRESULT WINAPI IEHTMLWindow2_navigate(IHTMLWindow2 *iface, BSTR url)
Definition: iehtmlwnd.c:318
void IEHTMLWindow_Init(DocHost *doc_host)
Definition: iehtmlwnd.c:725
static HRESULT WINAPI IEHTMLWindow2_Invoke(IHTMLWindow2 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
Definition: iehtmlwnd.c:117
static HRESULT WINAPI IEHTMLWindow2_put_onresize(IHTMLWindow2 *iface, VARIANT v)
Definition: iehtmlwnd.c:423
static HRESULT WINAPI IEHTMLWindow2_get_location(IHTMLWindow2 *iface, IHTMLLocation **p)
Definition: iehtmlwnd.c:220
static HRESULT WINAPI IEHTMLWindow2_moveTo(IHTMLWindow2 *iface, LONG x, LONG y)
Definition: iehtmlwnd.c:610
static HRESULT WINAPI IEHTMLWindow2_get__newEnum(IHTMLWindow2 *iface, IUnknown **p)
Definition: iehtmlwnd.c:479
static HRESULT WINAPI IEHTMLWindow2_get_closed(IHTMLWindow2 *iface, VARIANT_BOOL *p)
Definition: iehtmlwnd.c:524
static HRESULT WINAPI IEHTMLWindow2_get_onbeforeunload(IHTMLWindow2 *iface, VARIANT *p)
Definition: iehtmlwnd.c:374
static HRESULT WINAPI IEHTMLWindow2_get_external(IHTMLWindow2 *iface, IDispatch **p)
Definition: iehtmlwnd.c:638
static HRESULT WINAPI IEHTMLWindow2_get_opener(IHTMLWindow2 *iface, VARIANT *p)
Definition: iehtmlwnd.c:253
static HRESULT WINAPI IEHTMLWindow2_get_onresize(IHTMLWindow2 *iface, VARIANT *p)
Definition: iehtmlwnd.c:430
static HRESULT WINAPI IEHTMLWindow2_focus(IHTMLWindow2 *iface)
Definition: iehtmlwnd.c:517
static HRESULT WINAPI IEHTMLWindow2_get_onerror(IHTMLWindow2 *iface, VARIANT *p)
Definition: iehtmlwnd.c:416
static HRESULT WINAPI IEHTMLWindow2_get_Option(IHTMLWindow2 *iface, IHTMLOptionElementFactory **p)
Definition: iehtmlwnd.c:510
static HRESULT WINAPI IEHTMLWindow2_GetTypeInfoCount(IHTMLWindow2 *iface, UINT *pctinfo)
Definition: iehtmlwnd.c:93
static HRESULT WINAPI IEHTMLWindow2_setTimeout(IHTMLWindow2 *iface, BSTR expression, LONG msec, VARIANT *language, LONG *timerID)
Definition: iehtmlwnd.c:175
static HRESULT WINAPI IEHTMLWindow2_put_defaultStatus(IHTMLWindow2 *iface, BSTR v)
Definition: iehtmlwnd.c:147
static HRESULT WINAPI IEHTMLWindow2_get_frames(IHTMLWindow2 *iface, IHTMLFramesCollection2 **p)
Definition: iehtmlwnd.c:140
static HRESULT WINAPI IEHTMLWindow2_put_onerror(IHTMLWindow2 *iface, VARIANT v)
Definition: iehtmlwnd.c:409
static HRESULT WINAPI IEHTMLWindow2_get_parent(IHTMLWindow2 *iface, IHTMLWindow2 **p)
Definition: iehtmlwnd.c:281
static HRESULT WINAPI IEHTMLWindow2_moveBy(IHTMLWindow2 *iface, LONG x, LONG y)
Definition: iehtmlwnd.c:617
static HRESULT WINAPI IEHTMLWindow2_close(IHTMLWindow2 *iface)
Definition: iehtmlwnd.c:234
static HRESULT WINAPI IEHTMLWindow2_blur(IHTMLWindow2 *iface)
Definition: iehtmlwnd.c:531
static HRESULT WINAPI IEHTMLWindow2_GetIDsOfNames(IHTMLWindow2 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
Definition: iehtmlwnd.c:108
static HRESULT WINAPI IEHTMLWindow2_get_onfocus(IHTMLWindow2 *iface, VARIANT *p)
Definition: iehtmlwnd.c:332
static HRESULT WINAPI IEHTMLWindow2_get_name(IHTMLWindow2 *iface, BSTR *p)
Definition: iehtmlwnd.c:274
static HRESULT WINAPI IEHTMLWindow2_get_offscreenBuffering(IHTMLWindow2 *iface, VARIANT *p)
Definition: iehtmlwnd.c:574
static HRESULT WINAPI IEHTMLWindow2_put_status(IHTMLWindow2 *iface, BSTR v)
Definition: iehtmlwnd.c:161
static HRESULT WINAPI IEHTMLWindow2_get_self(IHTMLWindow2 *iface, IHTMLWindow2 **p)
Definition: iehtmlwnd.c:297
static HRESULT WINAPI IEHTMLWindow2_confirm(IHTMLWindow2 *iface, BSTR message, VARIANT_BOOL *confirmed)
Definition: iehtmlwnd.c:197
static HRESULT WINAPI IEHTMLWindow2_showModalDialog(IHTMLWindow2 *iface, BSTR dialog, VARIANT *varArgIn, VARIANT *varOptions, VARIANT *varArgOut)
Definition: iehtmlwnd.c:486
static HRESULT WINAPI IEHTMLWindow2_resizeTo(IHTMLWindow2 *iface, LONG x, LONG y)
Definition: iehtmlwnd.c:624
static HRESULT WINAPI IEHTMLWindow2_get_top(IHTMLWindow2 *iface, IHTMLWindow2 **p)
Definition: iehtmlwnd.c:304
REFIID riid
Definition: atlbase.h:39
REFIID LPVOID * ppv
Definition: atlbase.h:39
#define S_OK
Definition: intsafe.h:52
#define FAILED(hr)
Definition: intsafe.h:51
#define debugstr_guid
Definition: kernel32.h:35
#define debugstr_w
Definition: kernel32.h:32
static const WCHAR url[]
Definition: encode.c:1384
HRESULT hres
Definition: protocol.c:432
static IHTMLWindow2 * window
Definition: events.c:77
static VARIANTARG static DISPID
Definition: ordinal.c:49
static HWND dialog
Definition: gui.c:33
interface IHTMLWindow2 IHTMLWindow2
Definition: mshtmhst.idl:64
const GUID IID_IDispatch
long LONG
Definition: pedump.c:60
#define IsEqualGUID(rguid1, rguid2)
Definition: guiddef.h:147
#define REFIID
Definition: guiddef.h:118
INT replace(TCHAR source[MAX_PATH], TCHAR dest[MAX_PATH], DWORD dwFlags, BOOL *doMore)
Definition: replace.c:38
DWORD LCID
Definition: nls.h:13
#define TRACE(s)
Definition: solgame.cpp:4
IEHTMLWindow html_window
Definition: ieframe.h:173
IUnknown * document
Definition: ieframe.h:139
DocHost * doc_host
Definition: ieframe.h:95
IHTMLWindow2 IHTMLWindow2_iface
Definition: ieframe.h:94
Definition: tftpd.h:60
Definition: name.c:39
#define CONTAINING_RECORD(address, type, field)
Definition: typedefs.h:260
uint32_t ULONG
Definition: typedefs.h:59
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
Definition: wdfdevice.h:2439
WINBASEAPI _In_ DWORD _Out_ _In_ WORD wFlags
Definition: wincon_undoc.h:337
#define WINAPI
Definition: msvc.h:6
#define E_NOINTERFACE
Definition: winerror.h:3479
#define E_UNEXPECTED
Definition: winerror.h:3528