2 * Copyright 2005 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
31 #include "wine/debug.h"
33 #include "mshtml_private.h"
35 WINE_DEFAULT_DEBUG_CHANNEL(mshtml
);
37 #define HTMLDOC3_THIS(iface) DEFINE_THIS(HTMLDocument, HTMLDocument3, iface)
39 static HRESULT WINAPI
HTMLDocument3_QueryInterface(IHTMLDocument3
*iface
,
40 REFIID riid
, void **ppv
)
42 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
43 return IHTMLDocument2_QueryInterface(HTMLDOC(This
), riid
, ppv
);
46 static ULONG WINAPI
HTMLDocument3_AddRef(IHTMLDocument3
*iface
)
48 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
49 return IHTMLDocument2_AddRef(HTMLDOC(This
));
52 static ULONG WINAPI
HTMLDocument3_Release(IHTMLDocument3
*iface
)
54 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
55 return IHTMLDocument2_Release(HTMLDOC(This
));
58 static HRESULT WINAPI
HTMLDocument3_GetTypeInfoCount(IHTMLDocument3
*iface
, UINT
*pctinfo
)
60 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
61 FIXME("(%p)->(%p)\n", This
, pctinfo
);
65 static HRESULT WINAPI
HTMLDocument3_GetTypeInfo(IHTMLDocument3
*iface
, UINT iTInfo
,
66 LCID lcid
, ITypeInfo
**ppTInfo
)
68 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
69 FIXME("(%p)->(%u %u %p)\n", This
, iTInfo
, lcid
, ppTInfo
);
73 static HRESULT WINAPI
HTMLDocument3_GetIDsOfNames(IHTMLDocument3
*iface
, REFIID riid
,
74 LPOLESTR
*rgszNames
, UINT cNames
,
75 LCID lcid
, DISPID
*rgDispId
)
77 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
78 FIXME("(%p)->(%s %p %u %u %p)\n", This
, debugstr_guid(riid
), rgszNames
, cNames
,
83 static HRESULT WINAPI
HTMLDocument3_Invoke(IHTMLDocument3
*iface
, DISPID dispIdMember
,
84 REFIID riid
, LCID lcid
, WORD wFlags
, DISPPARAMS
*pDispParams
,
85 VARIANT
*pVarResult
, EXCEPINFO
*pExcepInfo
, UINT
*puArgErr
)
87 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
88 FIXME("(%p)->(%d %s %d %d %p %p %p %p)\n", This
, dispIdMember
, debugstr_guid(riid
),
89 lcid
, wFlags
, pDispParams
, pVarResult
, pExcepInfo
, puArgErr
);
93 static HRESULT WINAPI
HTMLDocument3_releaseCapture(IHTMLDocument3
*iface
)
95 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
96 FIXME("(%p)\n", This
);
100 static HRESULT WINAPI
HTMLDocument3_recalc(IHTMLDocument3
*iface
, VARIANT_BOOL fForce
)
102 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
103 FIXME("(%p)->(%x)\n", This
, fForce
);
107 static HRESULT WINAPI
HTMLDocument3_createTextNode(IHTMLDocument3
*iface
, BSTR text
,
108 IHTMLDOMNode
**newTextNode
)
110 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
111 FIXME("(%p)->(%s %p)\n", This
, debugstr_w(text
), newTextNode
);
115 static HRESULT WINAPI
HTMLDocument3_get_documentElement(IHTMLDocument3
*iface
, IHTMLElement
**p
)
117 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
118 nsIDOMDocument
*nsdoc
;
120 nsIDOMElement
*nselem
= NULL
;
123 TRACE("(%p)->(%p)\n", This
, p
);
125 if(!This
->nscontainer
) {
130 nsres
= nsIWebNavigation_GetDocument(This
->nscontainer
->navigation
, &nsdoc
);
132 ERR("GetDocument failed: %08x\n", nsres
);
135 nsres
= nsIDOMHTMLDocument_GetDocumentElement(nsdoc
, &nselem
);
137 ERR("GetDocumentElement failed: %08x\n", nsres
);
140 node
= get_node(This
, (nsIDOMNode
*)nselem
, TRUE
);
141 nsIDOMDocument_Release(nsdoc
);
143 IHTMLDOMNode_QueryInterface(HTMLDOMNODE(node
), &IID_IHTMLElement
, (void**)p
);
151 static HRESULT WINAPI
HTMLDocument3_uniqueID(IHTMLDocument3
*iface
, BSTR
*p
)
153 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
154 FIXME("(%p)->(%p)\n", This
, p
);
158 static HRESULT WINAPI
HTMLDocument3_attachEvent(IHTMLDocument3
*iface
, BSTR event
,
159 IDispatch
* pDisp
, VARIANT_BOOL
*pfResult
)
161 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
162 FIXME("(%p)->(%s %p %p)\n", This
, debugstr_w(event
), pDisp
, pfResult
);
166 static HRESULT WINAPI
HTMLDocument3_detachEvent(IHTMLDocument3
*iface
, BSTR event
,
169 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
170 FIXME("(%p)->(%s %p)\n", This
, debugstr_w(event
), pDisp
);
174 static HRESULT WINAPI
HTMLDocument3_put_onrowsdelete(IHTMLDocument3
*iface
, VARIANT v
)
176 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
177 FIXME("(%p)->()\n", This
);
181 static HRESULT WINAPI
HTMLDocument3_get_onrowsdelete(IHTMLDocument3
*iface
, VARIANT
*p
)
183 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
184 FIXME("(%p)->(%p)\n", This
, p
);
188 static HRESULT WINAPI
HTMLDocument3_put_onrowsinserted(IHTMLDocument3
*iface
, VARIANT v
)
190 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
191 FIXME("(%p)->()\n", This
);
195 static HRESULT WINAPI
HTMLDocument3_get_onrowsinserted(IHTMLDocument3
*iface
, VARIANT
*p
)
197 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
198 FIXME("(%p)->(%p)\n", This
, p
);
202 static HRESULT WINAPI
HTMLDocument3_put_oncellchange(IHTMLDocument3
*iface
, VARIANT v
)
204 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
205 FIXME("(%p)->()\n", This
);
209 static HRESULT WINAPI
HTMLDocument3_get_oncellchange(IHTMLDocument3
*iface
, VARIANT
*p
)
211 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
212 FIXME("(%p)->(%p)\n", This
, p
);
216 static HRESULT WINAPI
HTMLDocument3_put_ondatasetchanged(IHTMLDocument3
*iface
, VARIANT v
)
218 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
219 FIXME("(%p)->()\n", This
);
223 static HRESULT WINAPI
HTMLDocument3_get_ondatasetchanged(IHTMLDocument3
*iface
, VARIANT
*p
)
225 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
226 FIXME("(%p)->(%p)\n", This
, p
);
230 static HRESULT WINAPI
HTMLDocument3_put_ondataavailable(IHTMLDocument3
*iface
, VARIANT v
)
232 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
233 FIXME("(%p)->()\n", This
);
237 static HRESULT WINAPI
HTMLDocument3_get_ondataavailable(IHTMLDocument3
*iface
, VARIANT
*p
)
239 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
240 FIXME("(%p)->(%p)\n", This
, p
);
244 static HRESULT WINAPI
HTMLDocument3_put_ondatasetcomplete(IHTMLDocument3
*iface
, VARIANT v
)
246 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
247 FIXME("(%p)->()\n", This
);
251 static HRESULT WINAPI
HTMLDocument3_get_ondatasetcomplete(IHTMLDocument3
*iface
, VARIANT
*p
)
253 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
254 FIXME("(%p)->(%p)\n", This
, p
);
258 static HRESULT WINAPI
HTMLDocument3_put_onpropertychange(IHTMLDocument3
*iface
, VARIANT v
)
260 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
261 FIXME("(%p)->()\n", This
);
265 static HRESULT WINAPI
HTMLDocument3_get_onpropertychange(IHTMLDocument3
*iface
, VARIANT
*p
)
267 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
268 FIXME("(%p)->(%p)\n", This
, p
);
272 static HRESULT WINAPI
HTMLDocument3_put_dir(IHTMLDocument3
*iface
, BSTR v
)
274 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
275 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
279 static HRESULT WINAPI
HTMLDocument3_get_dir(IHTMLDocument3
*iface
, BSTR
*p
)
281 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
282 FIXME("(%p)->(%p)\n", This
, p
);
286 static HRESULT WINAPI
HTMLDocument3_put_oncontextmenu(IHTMLDocument3
*iface
, VARIANT v
)
288 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
289 FIXME("(%p)->()\n", This
);
293 static HRESULT WINAPI
HTMLDocument3_get_oncontextmenu(IHTMLDocument3
*iface
, VARIANT
*p
)
295 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
296 FIXME("(%p)->(%p)\n", This
, p
);
300 static HRESULT WINAPI
HTMLDocument3_put_onstop(IHTMLDocument3
*iface
, VARIANT v
)
302 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
303 FIXME("(%p)->()\n", This
);
307 static HRESULT WINAPI
HTMLDocument3_get_onstop(IHTMLDocument3
*iface
, VARIANT
*p
)
309 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
310 FIXME("(%p)->(%p)\n", This
, p
);
314 static HRESULT WINAPI
HTMLDocument3_createDocumentFragment(IHTMLDocument3
*iface
,
315 IHTMLDocument2
**ppNewDoc
)
317 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
318 FIXME("(%p)->(%p)\n", This
, ppNewDoc
);
322 static HRESULT WINAPI
HTMLDocument3_get_parentDocument(IHTMLDocument3
*iface
,
325 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
326 FIXME("(%p)->(%p)\n", This
, p
);
330 static HRESULT WINAPI
HTMLDocument3_put_enableDownload(IHTMLDocument3
*iface
,
333 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
334 FIXME("(%p)->(%x)\n", This
, v
);
338 static HRESULT WINAPI
HTMLDocument3_get_enableDownload(IHTMLDocument3
*iface
,
341 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
342 FIXME("(%p)->(%p)\n", This
, p
);
346 static HRESULT WINAPI
HTMLDocument3_put_baseUrl(IHTMLDocument3
*iface
, BSTR v
)
348 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
349 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
353 static HRESULT WINAPI
HTMLDocument3_get_baseUrl(IHTMLDocument3
*iface
, BSTR
*p
)
355 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
356 FIXME("(%p)->(%p)\n", This
, p
);
360 static HRESULT WINAPI
HTMLDocument3_get_childNodes(IHTMLDocument3
*iface
, IDispatch
**p
)
362 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
363 FIXME("(%p)->(%p)\n", This
, p
);
367 static HRESULT WINAPI
HTMLDocument3_put_inheritStyleSheets(IHTMLDocument3
*iface
,
370 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
371 FIXME("(%p)->()\n", This
);
375 static HRESULT WINAPI
HTMLDocument3_get_inheritStyleSheets(IHTMLDocument3
*iface
,
378 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
379 FIXME("(%p)->(%p)\n", This
, p
);
383 static HRESULT WINAPI
HTMLDocument3_put_onbeforeeditfocus(IHTMLDocument3
*iface
, VARIANT v
)
385 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
386 FIXME("(%p)->()\n", This
);
390 static HRESULT WINAPI
HTMLDocument3_get_onbeforeeditfocus(IHTMLDocument3
*iface
, VARIANT
*p
)
392 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
393 FIXME("(%p)->(%p)\n", This
, p
);
397 static HRESULT WINAPI
HTMLDocument3_getElementsByName(IHTMLDocument3
*iface
, BSTR v
,
398 IHTMLElementCollection
**ppelColl
)
400 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
401 FIXME("(%p)->(%s %p)\n", This
, debugstr_w(v
), ppelColl
);
406 static HRESULT WINAPI
HTMLDocument3_getElementById(IHTMLDocument3
*iface
, BSTR v
,
409 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
410 nsIDOMDocument
*nsdoc
= NULL
;
411 nsIDOMElement
*nselem
= NULL
;
416 TRACE("(%p)->(%s %p)\n", This
, debugstr_w(v
), pel
);
420 if(!This
->nscontainer
)
423 nsres
= nsIWebNavigation_GetDocument(This
->nscontainer
->navigation
, &nsdoc
);
424 if(NS_FAILED(nsres
) || !nsdoc
)
427 nsAString_Init(&id_str
, v
);
428 nsIDOMDocument_GetElementById(nsdoc
, &id_str
, &nselem
);
429 nsIDOMDocument_Release(nsdoc
);
430 nsAString_Finish(&id_str
);
437 node
= get_node(This
, (nsIDOMNode
*)nselem
, TRUE
);
438 nsIDOMElement_Release(nselem
);
440 return IHTMLDOMNode_QueryInterface(HTMLDOMNODE(node
), &IID_IHTMLElement
, (void**)pel
);
444 static HRESULT WINAPI
HTMLDocument3_getElementsByTagName(IHTMLDocument3
*iface
, BSTR v
,
445 IHTMLElementCollection
**pelColl
)
447 HTMLDocument
*This
= HTMLDOC3_THIS(iface
);
448 FIXME("(%p)->(%s %p)\n", This
, debugstr_w(v
), pelColl
);
454 static const IHTMLDocument3Vtbl HTMLDocument3Vtbl
= {
455 HTMLDocument3_QueryInterface
,
456 HTMLDocument3_AddRef
,
457 HTMLDocument3_Release
,
458 HTMLDocument3_GetTypeInfoCount
,
459 HTMLDocument3_GetTypeInfo
,
460 HTMLDocument3_GetIDsOfNames
,
461 HTMLDocument3_Invoke
,
462 HTMLDocument3_releaseCapture
,
463 HTMLDocument3_recalc
,
464 HTMLDocument3_createTextNode
,
465 HTMLDocument3_get_documentElement
,
466 HTMLDocument3_uniqueID
,
467 HTMLDocument3_attachEvent
,
468 HTMLDocument3_detachEvent
,
469 HTMLDocument3_put_onrowsdelete
,
470 HTMLDocument3_get_onrowsdelete
,
471 HTMLDocument3_put_onrowsinserted
,
472 HTMLDocument3_get_onrowsinserted
,
473 HTMLDocument3_put_oncellchange
,
474 HTMLDocument3_get_oncellchange
,
475 HTMLDocument3_put_ondatasetchanged
,
476 HTMLDocument3_get_ondatasetchanged
,
477 HTMLDocument3_put_ondataavailable
,
478 HTMLDocument3_get_ondataavailable
,
479 HTMLDocument3_put_ondatasetcomplete
,
480 HTMLDocument3_get_ondatasetcomplete
,
481 HTMLDocument3_put_onpropertychange
,
482 HTMLDocument3_get_onpropertychange
,
483 HTMLDocument3_put_dir
,
484 HTMLDocument3_get_dir
,
485 HTMLDocument3_put_oncontextmenu
,
486 HTMLDocument3_get_oncontextmenu
,
487 HTMLDocument3_put_onstop
,
488 HTMLDocument3_get_onstop
,
489 HTMLDocument3_createDocumentFragment
,
490 HTMLDocument3_get_parentDocument
,
491 HTMLDocument3_put_enableDownload
,
492 HTMLDocument3_get_enableDownload
,
493 HTMLDocument3_put_baseUrl
,
494 HTMLDocument3_get_baseUrl
,
495 HTMLDocument3_get_childNodes
,
496 HTMLDocument3_put_inheritStyleSheets
,
497 HTMLDocument3_get_inheritStyleSheets
,
498 HTMLDocument3_put_onbeforeeditfocus
,
499 HTMLDocument3_get_onbeforeeditfocus
,
500 HTMLDocument3_getElementsByName
,
501 HTMLDocument3_getElementById
,
502 HTMLDocument3_getElementsByTagName
505 #define HTMLDOC4_THIS(iface) DEFINE_THIS(HTMLDocument, HTMLDocument4, iface)
507 static HRESULT WINAPI
HTMLDocument4_QueryInterface(IHTMLDocument4
*iface
,
508 REFIID riid
, void **ppv
)
510 HTMLDocument
*This
= HTMLDOC4_THIS(iface
);
511 return IHTMLDocument2_QueryInterface(HTMLDOC(This
), riid
, ppv
);
514 static ULONG WINAPI
HTMLDocument4_AddRef(IHTMLDocument4
*iface
)
516 HTMLDocument
*This
= HTMLDOC4_THIS(iface
);
517 return IHTMLDocument2_AddRef(HTMLDOC(This
));
520 static ULONG WINAPI
HTMLDocument4_Release(IHTMLDocument4
*iface
)
522 HTMLDocument
*This
= HTMLDOC4_THIS(iface
);
523 return IHTMLDocument2_Release(HTMLDOC(This
));
526 static HRESULT WINAPI
HTMLDocument4_GetTypeInfoCount(IHTMLDocument4
*iface
, UINT
*pctinfo
)
528 HTMLDocument
*This
= HTMLDOC4_THIS(iface
);
529 FIXME("(%p)->(%p)\n", This
, pctinfo
);
533 static HRESULT WINAPI
HTMLDocument4_GetTypeInfo(IHTMLDocument4
*iface
, UINT iTInfo
,
534 LCID lcid
, ITypeInfo
**ppTInfo
)
536 HTMLDocument
*This
= HTMLDOC4_THIS(iface
);
537 FIXME("(%p)->(%u %u %p)\n", This
, iTInfo
, lcid
, ppTInfo
);
541 static HRESULT WINAPI
HTMLDocument4_GetIDsOfNames(IHTMLDocument4
*iface
, REFIID riid
,
542 LPOLESTR
*rgszNames
, UINT cNames
,
543 LCID lcid
, DISPID
*rgDispId
)
545 HTMLDocument
*This
= HTMLDOC4_THIS(iface
);
546 FIXME("(%p)->(%s %p %u %u %p)\n", This
, debugstr_guid(riid
), rgszNames
, cNames
,
551 static HRESULT WINAPI
HTMLDocument4_Invoke(IHTMLDocument4
*iface
, DISPID dispIdMember
,
552 REFIID riid
, LCID lcid
, WORD wFlags
, DISPPARAMS
*pDispParams
,
553 VARIANT
*pVarResult
, EXCEPINFO
*pExcepInfo
, UINT
*puArgErr
)
555 HTMLDocument
*This
= HTMLDOC4_THIS(iface
);
556 FIXME("(%p)->(%d %s %d %d %p %p %p %p)\n", This
, dispIdMember
, debugstr_guid(riid
),
557 lcid
, wFlags
, pDispParams
, pVarResult
, pExcepInfo
, puArgErr
);
561 static HRESULT WINAPI
HTMLDocument4_focus(IHTMLDocument4
*iface
)
563 HTMLDocument
*This
= HTMLDOC4_THIS(iface
);
564 FIXME("(%p)->()\n", This
);
568 static HRESULT WINAPI
HTMLDocument4_hasFocus(IHTMLDocument4
*iface
, VARIANT_BOOL
*pfFocus
)
570 HTMLDocument
*This
= HTMLDOC4_THIS(iface
);
571 FIXME("(%p)->(%p)\n", This
, pfFocus
);
575 static HRESULT WINAPI
HTMLDocument4_put_onselectionchange(IHTMLDocument4
*iface
, VARIANT v
)
577 HTMLDocument
*This
= HTMLDOC4_THIS(iface
);
578 FIXME("(%p)->(v)\n", This
);
582 static HRESULT WINAPI
HTMLDocument4_get_onselectionchange(IHTMLDocument4
*iface
, VARIANT
*p
)
584 HTMLDocument
*This
= HTMLDOC4_THIS(iface
);
585 FIXME("(%p)->(%p)\n", This
, p
);
589 static HRESULT WINAPI
HTMLDocument4_get_namespace(IHTMLDocument4
*iface
, IDispatch
**p
)
591 HTMLDocument
*This
= HTMLDOC4_THIS(iface
);
592 FIXME("(%p)->(%p)\n", This
, p
);
596 static HRESULT WINAPI
HTMLDocument4_createDocumentFromUrl(IHTMLDocument4
*iface
, BSTR bstrUrl
,
597 BSTR bstrOptions
, IHTMLDocument2
**newDoc
)
599 HTMLDocument
*This
= HTMLDOC4_THIS(iface
);
600 FIXME("(%p)->(%s %s %p)\n", This
, debugstr_w(bstrUrl
), debugstr_w(bstrOptions
), newDoc
);
604 static HRESULT WINAPI
HTMLDocument4_put_media(IHTMLDocument4
*iface
, BSTR v
)
606 HTMLDocument
*This
= HTMLDOC4_THIS(iface
);
607 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
611 static HRESULT WINAPI
HTMLDocument4_get_media(IHTMLDocument4
*iface
, BSTR
*p
)
613 HTMLDocument
*This
= HTMLDOC4_THIS(iface
);
614 FIXME("(%p)->(%p)\n", This
, p
);
618 static HRESULT WINAPI
HTMLDocument4_createEventObject(IHTMLDocument4
*iface
,
619 VARIANT
*pvarEventObject
, IHTMLEventObj
**ppEventObj
)
621 HTMLDocument
*This
= HTMLDOC4_THIS(iface
);
622 FIXME("(%p)->(%p %p)\n", This
, pvarEventObject
, ppEventObj
);
626 static HRESULT WINAPI
HTMLDocument4_fireEvent(IHTMLDocument4
*iface
, BSTR bstrEventName
,
627 VARIANT
*pvarEventObject
, VARIANT_BOOL
*pfCanceled
)
629 HTMLDocument
*This
= HTMLDOC4_THIS(iface
);
630 FIXME("(%p)->(%s %p %p)\n", This
, debugstr_w(bstrEventName
), pvarEventObject
, pfCanceled
);
634 static HRESULT WINAPI
HTMLDocument4_createRenderStyle(IHTMLDocument4
*iface
, BSTR v
,
635 IHTMLRenderStyle
**ppIHTMLRenderStyle
)
637 HTMLDocument
*This
= HTMLDOC4_THIS(iface
);
638 FIXME("(%p)->(%s %p)\n", This
, debugstr_w(v
), ppIHTMLRenderStyle
);
642 static HRESULT WINAPI
HTMLDocument4_put_oncontrolselect(IHTMLDocument4
*iface
, VARIANT v
)
644 HTMLDocument
*This
= HTMLDOC4_THIS(iface
);
645 FIXME("(%p)->(v)\n", This
);
649 static HRESULT WINAPI
HTMLDocument4_get_oncontrolselect(IHTMLDocument4
*iface
, VARIANT
*p
)
651 HTMLDocument
*This
= HTMLDOC4_THIS(iface
);
652 FIXME("(%p)->(%p)\n", This
, p
);
656 static HRESULT WINAPI
HTMLDocument4_get_URLEncoded(IHTMLDocument4
*iface
, BSTR
*p
)
658 HTMLDocument
*This
= HTMLDOC4_THIS(iface
);
659 FIXME("(%p)->(%p)\n", This
, p
);
665 static const IHTMLDocument4Vtbl HTMLDocument4Vtbl
= {
666 HTMLDocument4_QueryInterface
,
667 HTMLDocument4_AddRef
,
668 HTMLDocument4_Release
,
669 HTMLDocument4_GetTypeInfoCount
,
670 HTMLDocument4_GetTypeInfo
,
671 HTMLDocument4_GetIDsOfNames
,
672 HTMLDocument4_Invoke
,
674 HTMLDocument4_hasFocus
,
675 HTMLDocument4_put_onselectionchange
,
676 HTMLDocument4_get_onselectionchange
,
677 HTMLDocument4_get_namespace
,
678 HTMLDocument4_createDocumentFromUrl
,
679 HTMLDocument4_put_media
,
680 HTMLDocument4_get_media
,
681 HTMLDocument4_createEventObject
,
682 HTMLDocument4_fireEvent
,
683 HTMLDocument4_createRenderStyle
,
684 HTMLDocument4_put_oncontrolselect
,
685 HTMLDocument4_get_oncontrolselect
,
686 HTMLDocument4_get_URLEncoded
689 void HTMLDocument_HTMLDocument3_Init(HTMLDocument
*This
)
691 This
->lpHTMLDocument3Vtbl
= &HTMLDocument3Vtbl
;
692 This
->lpHTMLDocument4Vtbl
= &HTMLDocument4Vtbl
;