39 nsres = nsIDOMHTMLDocument_GetElementById(doc->
nsdoc, &id_str, &nselem);
41 ERR(
"GetElementById failed: %08x\n", nsres);
47 nsres = nsIDOMHTMLDocument_GetElementsByName(doc->
nsdoc, &id_str, &nsnode_list);
50 ERR(
"getElementsByName failed: %08x\n", nsres);
52 nsIDOMElement_Release(nselem);
56 nsres = nsIDOMNodeList_Item(nsnode_list, 0, &nsnode);
57 nsIDOMNodeList_Release(nsnode_list);
60 if(nsnode && nselem) {
63 nsres = nsIDOMNode_CompareDocumentPosition(nsnode, (
nsIDOMNode*)nselem, &
pos);
65 FIXME(
"CompareDocumentPosition failed: 0x%08x\n", nsres);
66 nsIDOMNode_Release(nsnode);
67 nsIDOMElement_Release(nselem);
71 TRACE(
"CompareDocumentPosition gave: 0x%x\n",
pos);
72 if(!(
pos & (DOCUMENT_POSITION_PRECEDING | DOCUMENT_POSITION_CONTAINS))) {
73 nsIDOMElement_Release(nselem);
80 nsres = nsIDOMNode_QueryInterface(nsnode, &IID_nsIDOMElement, (
void**)&nselem);
83 nsIDOMNode_Release(nsnode);
92 nsIDOMElement_Release(nselem);
106 nsres = nsIDOMHTMLDocument_GetCharacterSet(doc->
nsdoc, &charset_str);
118 ERR(
"GetCharset failed: %08x\n", nsres);
158 return IDispatchEx_GetTypeInfoCount(&
This->IDispatchEx_iface, pctinfo);
166 return IDispatchEx_GetTypeInfo(&
This->IDispatchEx_iface, iTInfo, lcid, ppTInfo);
175 return IDispatchEx_GetIDsOfNames(&
This->IDispatchEx_iface,
riid, rgszNames, cNames, lcid,
181 VARIANT *pVarResult, EXCEPINFO *pExcepInfo,
UINT *puArgErr)
185 return IDispatchEx_Invoke(&
This->IDispatchEx_iface, dispIdMember,
riid, lcid,
wFlags,
186 pDispParams, pVarResult, pExcepInfo, puArgErr);
196 IDispatch_AddRef(*
p);
210 if(!
This->doc_node->nsdoc) {
211 WARN(
"NULL nsdoc\n");
215 nsres = nsIDOMHTMLDocument_GetDocumentElement(
This->doc_node->nsdoc, &nselem);
217 ERR(
"GetDocumentElement failed: %08x\n", nsres);
227 nsIDOMElement_Release(nselem);
245 if(
This->doc_node->nsdoc) {
248 nsres = nsIDOMHTMLDocument_GetBody(
This->doc_node->nsdoc, &nsbody);
250 TRACE(
"Could not get body: %08x\n", nsres);
261 nsIDOMHTMLElement_Release(nsbody);
265 hres = IHTMLDOMNode_QueryInterface(&
node->IHTMLDOMNode_iface, &IID_IHTMLElement, (
void**)
p);
280 if(!
This->doc_node->nsdoc) {
289 nsres = nsIDOMHTMLDocument_GetActiveElement(
This->doc_node->nsdoc, &nselem);
291 ERR(
"GetActiveElement failed: %08x\n", nsres);
301 nsIDOMElement_Release(nselem);
305 *
p = &
elem->IHTMLElement_iface;
322 if(!
This->doc_node->nsdoc) {
323 WARN(
"NULL nsdoc\n");
327 nsres = nsIDOMHTMLDocument_GetImages(
This->doc_node->nsdoc, &nscoll);
329 ERR(
"GetImages failed: %08x\n", nsres);
335 nsIDOMHTMLCollection_Release(nscoll);
354 if(!
This->doc_node->nsdoc) {
355 WARN(
"NULL nsdoc\n");
359 nsres = nsIDOMHTMLDocument_GetApplets(
This->doc_node->nsdoc, &nscoll);
361 ERR(
"GetApplets failed: %08x\n", nsres);
367 nsIDOMHTMLCollection_Release(nscoll);
386 if(!
This->doc_node->nsdoc) {
387 WARN(
"NULL nsdoc\n");
391 nsres = nsIDOMHTMLDocument_GetLinks(
This->doc_node->nsdoc, &nscoll);
393 ERR(
"GetLinks failed: %08x\n", nsres);
399 nsIDOMHTMLCollection_Release(nscoll);
418 if(!
This->doc_node->nsdoc) {
419 WARN(
"NULL nsdoc\n");
423 nsres = nsIDOMHTMLDocument_GetForms(
This->doc_node->nsdoc, &nscoll);
425 ERR(
"GetForms failed: %08x\n", nsres);
431 nsIDOMHTMLCollection_Release(nscoll);
450 if(!
This->doc_node->nsdoc) {
451 WARN(
"NULL nsdoc\n");
455 nsres = nsIDOMHTMLDocument_GetAnchors(
This->doc_node->nsdoc, &nscoll);
457 ERR(
"GetAnchors failed: %08x\n", nsres);
463 nsIDOMHTMLCollection_Release(nscoll);
477 if(!
This->doc_node->nsdoc) {
478 WARN(
"NULL nsdoc\n");
483 nsres = nsIDOMHTMLDocument_SetTitle(
This->doc_node->nsdoc, &nsstr);
486 ERR(
"SetTitle failed: %08x\n", nsres);
500 if(!
This->doc_node->nsdoc) {
501 WARN(
"NULL nsdoc\n");
507 nsres = nsIDOMHTMLDocument_GetTitle(
This->doc_node->nsdoc, &nsstr);
515 ERR(
"GetTitle failed: %08x\n", nsres);
535 if(!
This->doc_node->nsdoc) {
536 WARN(
"NULL nsdoc\n");
540 nsres = nsIDOMHTMLDocument_GetScripts(
This->doc_node->nsdoc, &nscoll);
542 ERR(
"GetImages failed: %08x\n", nsres);
548 nsIDOMHTMLCollection_Release(nscoll);
559 static const WCHAR onW[] = {
'o',
'n',0};
579 static const WCHAR szOff[] = {
'O',
'f',
'f',0};
580 FIXME(
"(%p)->(%p) always returning Off\n",
This,
p);
598 nsres = nsIDOMWindow_GetSelection(
This->window->nswindow, &nsselection);
600 ERR(
"GetSelection failed: %08x\n", nsres);
612 TRACE(
"(%p)->(%p)\n", iface,
p);
626 return IHTMLWindow2_get_frames(&
This->window->base.IHTMLWindow2_iface,
p);
733 if(!
This->doc_node->nsdoc) {
734 WARN(
"NULL nsdoc\n");
738 return IHTMLWindow2_get_location(&
This->window->base.IHTMLWindow2_iface,
p);
755 FIXME(
"No window available\n");
767 {
'a',
'b',
'o',
'u',
't',
':',
'b',
'l',
'a',
'n',
'k',0};
769 TRACE(
"(%p)->(%p)\n", iface,
p);
789 if(!
This->window || !
This->window->uri) {
790 FIXME(
"No current URI\n");
794 hres = IUri_GetHost(
This->window->uri,
p);
884 if(!
This->doc_node->nsdoc) {
885 FIXME(
"NULL nsdoc\n");
890 nsres = nsIDOMHTMLDocument_GetCharacterSet(
This->doc_node->nsdoc, &charset_str);
973 if(!
This->doc_node->nsdoc) {
974 WARN(
"NULL nsdoc\n");
981 if(psarray->
cDims != 1) {
988 WARN(
"SafeArrayAccessData failed: %08x\n",
hres);
1008 if(!ln ||
i !=
argc-1)
1009 nsres = nsIDOMHTMLDocument_Write(
This->doc_node->nsdoc, &nsstr, jsctx);
1011 nsres = nsIDOMHTMLDocument_Writeln(
This->doc_node->nsdoc, &nsstr, jsctx);
1016 ERR(
"Write failed: %08x\n", nsres);
1031 TRACE(
"(%p)->(%p)\n", iface, psarray);
1052 static const WCHAR text_htmlW[] = {
't',
'e',
'x',
't',
'/',
'h',
't',
'm',
'l',0};
1057 if(!
This->doc_node->nsdoc) {
1064 FIXME(
"unsupported args\n");
1069 ERR(
"Open failed: %08x\n", nsres);
1074 nsISupports_Release(tmp);
1076 *pomWindowResult = (
IDispatch*)&
This->window->base.IHTMLWindow2_iface;
1077 IHTMLWindow2_AddRef(&
This->window->base.IHTMLWindow2_iface);
1088 if(!
This->doc_node->nsdoc) {
1093 nsres = nsIDOMHTMLDocument_Close(
This->doc_node->nsdoc);
1095 ERR(
"Close failed: %08x\n", nsres);
1109 nsres = nsIDOMHTMLDocument_Clear(
This->doc_node->nsdoc);
1111 ERR(
"Clear failed: %08x\n", nsres);
1119 {
'c',
'o',
'p',
'y',0};
1123 {
'f',
'o',
'n',
't',
'n',
'a',
'm',
'e',0};
1125 {
'f',
'o',
'n',
't',
's',
'i',
'z',
'e',0};
1127 {
'i',
'n',
'd',
'e',
'n',
't',0};
1129 {
'i',
'n',
's',
'e',
'r',
't',
'o',
'r',
'd',
'e',
'r',
'e',
'd',
'l',
'i',
's',
't',0};
1131 {
'i',
'n',
's',
'e',
'r',
't',
'u',
'n',
'o',
'r',
'd',
'e',
'r',
'e',
'd',
'l',
'i',
's',
't',0};
1133 {
'o',
'u',
't',
'd',
'e',
'n',
't',0};
1135 {
'p',
'a',
's',
't',
'e',0};
1137 {
'r',
'e',
's',
'p',
'e',
'c',
't',
'v',
'i',
's',
'i',
'b',
'i',
'l',
'i',
't',
'y',
'i',
'n',
'd',
'e',
's',
'i',
'g',
'n',0};
1139static const struct {
1229 return OLECMDERR_E_NOTSUPPORTED;
1232 hres = IOleCommandTarget_Exec(&
This->IOleCommandTarget_iface, &CGID_MSHTML, cmdid,
1233 showUI ? 0 : OLECMDEXECOPT_DONTPROMPTUSER, &
value, &
ret);
1242 *pfRet = VARIANT_TRUE;
1255 IHTMLElement **newElem)
1267 *newElem = &
elem->IHTMLElement_iface;
1562 IHTMLElement **elementHit)
1570 TRACE(
"(%p)->(%d %d %p)\n",
This,
x,
y, elementHit);
1572 nsres = nsIDOMHTMLDocument_ElementFromPoint(
This->doc_node->nsdoc,
x,
y, &nselem);
1574 ERR(
"ElementFromPoint failed: %08x\n", nsres);
1584 nsIDOMElement_Release(nselem);
1588 hres = IHTMLDOMNode_QueryInterface(&
node->IHTMLDOMNode_iface, &IID_IHTMLElement, (
void**)elementHit);
1599 *
p = &
This->window->base.IHTMLWindow2_iface;
1600 IHTMLWindow2_AddRef(*
p);
1605 IHTMLStyleSheetsCollection **
p)
1615 if(!
This->doc_node->nsdoc) {
1616 WARN(
"NULL nsdoc\n");
1620 nsres = nsIDOMHTMLDocument_GetStyleSheets(
This->doc_node->nsdoc, &nsstylelist);
1622 ERR(
"GetStyleSheets failed: %08x\n", nsres);
1627 nsIDOMStyleSheetList_Release(nsstylelist);
1664 static const WCHAR objectW[] = {
'[',
'o',
'b',
'j',
'e',
'c',
't',
']',0};
1677 LONG lIndex, IHTMLStyleSheet **ppnewStyleSheet)
1681 IHTMLStyleElement *style_elem;
1686 static const WCHAR styleW[] = {
's',
't',
'y',
'l',
'e',0};
1690 if(!
This->doc_node->nsdoc) {
1691 FIXME(
"not a real doc object\n");
1696 FIXME(
"Unsupported lIndex %d\n", lIndex);
1698 if(bstrHref && *bstrHref) {
1708 nsres = nsIDOMHTMLDocument_GetHead(
This->doc_node->nsdoc, &head_elem);
1712 nsres = nsIDOMHTMLHeadElement_QueryInterface(head_elem, &IID_nsIDOMNode, (
void**)&head_node);
1713 nsIDOMHTMLHeadElement_Release(head_elem);
1716 nsres = nsIDOMNode_AppendChild(head_node,
elem->node.nsnode, &tmp_node);
1717 nsIDOMNode_Release(head_node);
1719 nsIDOMNode_Release(tmp_node);
1722 IHTMLElement_Release(&
elem->IHTMLElement_iface);
1726 hres = IHTMLElement_QueryInterface(&
elem->IHTMLElement_iface, &IID_IHTMLStyleElement, (
void**)&style_elem);
1728 IHTMLElement_Release(&
elem->IHTMLElement_iface);
1730 hres = IHTMLStyleElement_get_styleSheet(style_elem, ppnewStyleSheet);
1731 IHTMLStyleElement_Release(style_elem);
1881 return IDispatchEx_GetTypeInfoCount(&
This->IDispatchEx_iface, pctinfo);
1888 return IDispatchEx_GetTypeInfo(&
This->IDispatchEx_iface, iTInfo, lcid, ppTInfo);
1896 return IDispatchEx_GetIDsOfNames(&
This->IDispatchEx_iface,
riid, rgszNames, cNames, lcid,
1902 VARIANT *pVarResult, EXCEPINFO *pExcepInfo,
UINT *puArgErr)
1905 return IDispatchEx_Invoke(&
This->IDispatchEx_iface, dispIdMember,
riid, lcid,
wFlags,
1906 pDispParams, pVarResult, pExcepInfo, puArgErr);
1920 WARN(
"(%p)->(%x)\n",
This, fForce);
1927 IHTMLDOMNode **newTextNode)
1938 if(!
This->doc_node->nsdoc) {
1939 WARN(
"NULL nsdoc\n");
1944 nsres = nsIDOMHTMLDocument_CreateTextNode(
This->doc_node->nsdoc, &text_str, &nstext);
1947 ERR(
"CreateTextNode failed: %08x\n", nsres);
1952 nsIDOMText_Release(nstext);
1956 *newTextNode = &
node->IHTMLDOMNode_iface;
1970 if(
This->window->readystate == READYSTATE_UNINITIALIZED) {
1975 if(!
This->doc_node->nsdoc) {
1976 WARN(
"NULL nsdoc\n");
1980 nsres = nsIDOMHTMLDocument_GetDocumentElement(
This->doc_node->nsdoc, &nselem);
1982 ERR(
"GetDocumentElement failed: %08x\n", nsres);
1992 nsIDOMElement_Release(nselem);
1996 hres = IHTMLDOMNode_QueryInterface(&
node->IHTMLDOMNode_iface, &IID_IHTMLElement, (
void**)
p);
2173 IHTMLDocument2 **ppNewDoc)
2183 if(!
This->doc_node->nsdoc) {
2184 FIXME(
"NULL nsdoc\n");
2188 nsres = nsIDOMHTMLDocument_CreateDocumentFragment(
This->doc_node->nsdoc, &doc_frag);
2190 ERR(
"CreateDocumentFragment failed: %08x\n", nsres);
2195 nsIDOMDocumentFragment_Release(doc_frag);
2247 return IHTMLDOMNode_get_childNodes(&
This->doc_node->node.IHTMLDOMNode_iface,
p);
2281 IHTMLElementCollection **ppelColl)
2289 static const WCHAR formatW[] = {
'*',
'[',
'i',
'd',
'=',
'%',
's',
']',
',',
'*',
'[',
'n',
'a',
'm',
'e',
'=',
'%',
's',
']',0};
2293 if(!
This->doc_node || !
This->doc_node->nsdoc) {
2295 FIXME(
"No nsdoc\n");
2310 nsres = nsIDOMHTMLDocument_QuerySelectorAll(
This->doc_node->nsdoc, &selector_str, &node_list);
2314 ERR(
"QuerySelectorAll failed: %08x\n", nsres);
2319 nsIDOMNodeList_Release(node_list);
2339 *pel = &
elem->IHTMLElement_iface;
2345 IHTMLElementCollection **pelColl)
2354 if(!
This->doc_node->nsdoc) {
2355 WARN(
"NULL nsdoc\n");
2360 nsres = nsIDOMHTMLDocument_GetElementsByTagName(
This->doc_node->nsdoc, &id_str, &nslist);
2363 ERR(
"GetElementByName failed: %08x\n", nsres);
2368 nsIDOMNodeList_Release(nslist);
2451 return IDispatchEx_GetTypeInfoCount(&
This->IDispatchEx_iface, pctinfo);
2458 return IDispatchEx_GetTypeInfo(&
This->IDispatchEx_iface, iTInfo, lcid, ppTInfo);
2466 return IDispatchEx_GetIDsOfNames(&
This->IDispatchEx_iface,
riid, rgszNames, cNames, lcid,
2472 VARIANT *pVarResult, EXCEPINFO *pExcepInfo,
UINT *puArgErr)
2475 return IDispatchEx_Invoke(&
This->IDispatchEx_iface, dispIdMember,
riid, lcid,
wFlags,
2476 pDispParams, pVarResult, pExcepInfo, puArgErr);
2487 nsres = nsIDOMHTMLDocument_GetBody(
This->doc_node->nsdoc, &nsbody);
2489 ERR(
"GetBody failed: %08x\n", nsres);
2493 nsres = nsIDOMHTMLElement_Focus(nsbody);
2494 nsIDOMHTMLElement_Release(nsbody);
2496 ERR(
"Focus failed: %08x\n", nsres);
2532 BSTR bstrOptions, IHTMLDocument2 **newDoc)
2554 VARIANT *pvarEventObject, IHTMLEventObj **ppEventObj)
2573 TRACE(
"(%p)->(%s %p %p)\n",
This,
debugstr_w(bstrEventName), pvarEventObject, pfCanceled);
2575 return dispatch_event(&
This->doc_node->node, bstrEventName, pvarEventObject, pfCanceled);
2579 IHTMLRenderStyle **ppIHTMLRenderStyle)
2658 return IDispatchEx_GetTypeInfoCount(&
This->IDispatchEx_iface, pctinfo);
2665 return IDispatchEx_GetTypeInfo(&
This->IDispatchEx_iface, iTInfo, lcid, ppTInfo);
2672 return IDispatchEx_GetIDsOfNames(&
This->IDispatchEx_iface,
riid, rgszNames, cNames, lcid,
2678 VARIANT *pVarResult, EXCEPINFO *pExcepInfo,
UINT *puArgErr)
2681 return IDispatchEx_Invoke(&
This->IDispatchEx_iface, dispIdMember,
riid, lcid,
wFlags,
2682 pDispParams, pVarResult, pExcepInfo, puArgErr);
2727 IHTMLDOMAttribute **ppattribute)
2739 *ppattribute = &
attr->IHTMLDOMAttribute_iface;
2744 IHTMLDOMNode **ppRetNode)
2755 if(!
This->doc_node->nsdoc) {
2756 WARN(
"NULL nsdoc\n");
2761 nsres = nsIDOMHTMLDocument_CreateComment(
This->doc_node->nsdoc, &
str, &nscomment);
2764 ERR(
"CreateTextNode failed: %08x\n", nsres);
2769 nsIDOMComment_Release(nscomment);
2773 *ppRetNode = &
elem->node.IHTMLDOMNode_iface;
2869 if(!
This->doc_node->nsdoc) {
2870 WARN(
"NULL nsdoc\n");
2875 nsres = nsIDOMHTMLDocument_GetCompatMode(
This->doc_node->nsdoc, &mode_str);
2935 return IDispatchEx_GetTypeInfoCount(&
This->IDispatchEx_iface, pctinfo);
2942 return IDispatchEx_GetTypeInfo(&
This->IDispatchEx_iface, iTInfo, lcid, ppTInfo);
2949 return IDispatchEx_GetIDsOfNames(&
This->IDispatchEx_iface,
riid, rgszNames, cNames, lcid,
2955 VARIANT *pVarResult, EXCEPINFO *pExcepInfo,
UINT *puArgErr)
2958 return IDispatchEx_Invoke(&
This->IDispatchEx_iface, dispIdMember,
riid, lcid,
wFlags,
2959 pDispParams, pVarResult, pExcepInfo, puArgErr);
2963 IHTMLDocumentCompatibleInfoCollection **
p)
3009 BSTR bstrId, IHTMLElement2 **
p)
3067 return IDispatchEx_GetTypeInfoCount(&
This->IDispatchEx_iface, pctinfo);
3074 return IDispatchEx_GetTypeInfo(&
This->IDispatchEx_iface, iTInfo, lcid, ppTInfo);
3081 return IDispatchEx_GetIDsOfNames(&
This->IDispatchEx_iface,
riid, rgszNames, cNames, lcid,
3087 VARIANT *pVarResult, EXCEPINFO *pExcepInfo,
UINT *puArgErr)
3090 return IDispatchEx_Invoke(&
This->IDispatchEx_iface, dispIdMember,
riid, lcid,
wFlags,
3091 pDispParams, pVarResult, pExcepInfo, puArgErr);
3104 FIXME(
"(%p)->(%p)\n",
This, newCDATASectionNode);
3111 FIXME(
"(%p)->(%p)\n",
This, ppIHTMLSelection);
3116 BSTR bstrLocalName, IHTMLElementCollection **pelColl)
3131 BSTR bstrAttrName, IHTMLDOMAttribute **ppAttribute)
3181 BSTR data, IDOMProcessingInstruction **newProcessingInstruction)
3191 FIXME(
"(%p)->(%p %p)\n",
This, pNodeSource, ppNodeDest);
3261 FIXME(
"(%p)->(%p)\n",
This, pfHasAttributes);
3794 FIXME(
"(%p)->(%p %x %p)\n",
This, pNodeSource, fDeep, ppNodeDest);
4001 nsres = nsIDOMHTMLDocument_GetElementsByName(
This->nsdoc, &name_str, &node_list);
4006 nsres = nsIDOMNodeList_GetLength(node_list, &
len);
4007 nsIDOMNodeList_Release(node_list);
4014 for(
i=0;
i <
This->elem_vars_cnt;
i++) {
4021 if(
This->elem_vars_cnt ==
This->elem_vars_size) {
4024 if(
This->elem_vars_size) {
4028 This->elem_vars_size *= 2;
4033 This->elem_vars_size = 16;
4036 This->elem_vars = new_vars;
4040 if(!
This->elem_vars[
This->elem_vars_cnt])
4072 return IDispatchEx_GetTypeInfoCount(
This->dispex, pctinfo);
4080 return IDispatchEx_GetTypeInfo(
This->dispex, iTInfo, lcid, ppTInfo);
4089 return IDispatchEx_GetIDsOfNames(
This->dispex,
riid, rgszNames, cNames, lcid, rgDispId);
4094 VARIANT *pVarResult, EXCEPINFO *pExcepInfo,
UINT *puArgErr)
4099 lcid,
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
4101 switch(dispIdMember) {
4103 TRACE(
"DISPID_READYSTATE\n");
4109 V_I4(pVarResult) =
This->window->readystate;
4113 return IDispatchEx_Invoke(
This->dispex, dispIdMember,
riid, lcid,
wFlags, pDispParams,
4114 pVarResult, pExcepInfo, puArgErr);
4122 hres = IDispatchEx_GetDispID(
This->dispex, bstrName, grfdex,
pid);
4136 lcid,
wFlags, pdp, pvarRes, pei, pspCaller);
4139 return IDispatchEx_InvokeEx(
This->dispex,
id, lcid,
wFlags, pdp, pvarRes, pei, pspCaller);
4146 return IDispatchEx_DeleteMemberByName(
This->dispex, bstrName, grfdex);
4153 return IDispatchEx_DeleteMemberByDispID(
This->dispex,
id);
4160 return IDispatchEx_GetMemberProperties(
This->dispex,
id, grfdexFetch, pgrfdex);
4167 return IDispatchEx_GetMemberName(
This->dispex,
id, pbstrName);
4174 return IDispatchEx_GetNextDispID(
This->dispex, grfdex,
id,
pid);
4181 return IDispatchEx_GetNameSpaceParent(
This->dispex, ppunk);
4246 *
ppv = &
This->IHTMLDocument2_iface;
4248 *
ppv = &
This->IDispatchEx_iface;
4250 *
ppv = &
This->IDispatchEx_iface;
4252 *
ppv = &
This->IHTMLDocument2_iface;
4254 *
ppv = &
This->IHTMLDocument2_iface;
4256 *
ppv = &
This->IHTMLDocument3_iface;
4258 *
ppv = &
This->IHTMLDocument4_iface;
4260 *
ppv = &
This->IHTMLDocument5_iface;
4262 *
ppv = &
This->IHTMLDocument6_iface;
4264 *
ppv = &
This->IHTMLDocument7_iface;
4266 *
ppv = &
This->IPersistFile_iface;
4268 *
ppv = &
This->IPersistMoniker_iface;
4270 *
ppv = &
This->IPersistFile_iface;
4272 *
ppv = &
This->IMonikerProp_iface;
4274 *
ppv = &
This->IOleObject_iface;
4276 *
ppv = &
This->IOleDocument_iface;
4278 *
ppv = &
This->IOleDocumentView_iface;
4280 *
ppv = &
This->IOleInPlaceActiveObject_iface;
4282 *
ppv = &
This->IViewObjectEx_iface;
4284 *
ppv = &
This->IViewObjectEx_iface;
4286 *
ppv = &
This->IViewObjectEx_iface;
4288 *
ppv = &
This->IOleInPlaceActiveObject_iface;
4290 *
ppv = &
This->IOleInPlaceObjectWindowless_iface;
4292 *
ppv = &
This->IOleInPlaceObjectWindowless_iface;
4294 *
ppv = &
This->IServiceProvider_iface;
4296 *
ppv = &
This->IOleCommandTarget_iface;
4298 *
ppv = &
This->IOleControl_iface;
4300 *
ppv = &
This->IHlinkTarget_iface;
4302 *
ppv = &
This->cp_container.IConnectionPointContainer_iface;
4304 *
ppv = &
This->IPersistStreamInit_iface;
4306 *
ppv = &
This->IHTMLDocument2_iface;
4308 *
ppv = &
This->ISupportErrorInfo_iface;
4310 *
ppv = &
This->IPersistHistory_iface;
4312 *
ppv = &
This->IObjectWithSite_iface;
4314 *
ppv = &
This->IOleContainer_iface;
4316 *
ppv = &
This->IObjectSafety_iface;
4318 *
ppv = &
This->IProvideClassInfo_iface;
4323 TRACE(
"(%p)->(IID_IRunnableObject %p) returning NULL\n",
This,
ppv);
4326 TRACE(
"(%p)->(IID_IPersistPropertyBag %p) returning NULL\n",
This,
ppv);
4329 TRACE(
"(%p)->(IID_IMarshal %p) returning NULL\n",
This,
ppv);
4332 TRACE(
"(%p)->(IID_IExternalConnection %p) returning NULL\n",
This,
ppv);
4335 TRACE(
"(%p)->(IID_IStdMarshalInfo %p) returning NULL\n",
This,
ppv);
4352 {&DIID_HTMLDocumentEvents2},
4405 *
ppv = &
This->IInternetHostSecurityManager_iface;
4418 for(
i=0;
i <
This->elem_vars_cnt;
i++)
4423 if(
This->body_event_target)
4426 ICatInformation_Release(
This->catmgr);
4436 IHTMLWindow2_Release(&
This->window->base.IHTMLWindow2_iface);
4468 nsIDOMHTMLDocument_Release(nsdoc);
4531 if(!
This->nsdoc ||
i >=
This->elem_vars_cnt)
4535 nsres = nsIDOMHTMLDocument_GetElementsByName(
This->nsdoc, &name_str, &node_list);
4540 nsres = nsIDOMNodeList_Item(node_list, 0, &nsnode);
4541 nsIDOMNodeList_Release(node_list);
4588 DispHTMLDocument_tid,
4633 nsIDOMHTMLDocument_AddRef(nsdoc);
4683 *
ppv = &
This->ICustomDoc_iface;
4685 *
ppv = &
This->ITargetContainer_iface;
4718 if(
This->basedoc.window &&
This->basedoc.window->nswindow)
4721 if(
This->basedoc.doc_node) {
4722 This->basedoc.doc_node->basedoc.doc_obj =
NULL;
4725 if(
This->basedoc.window) {
4726 This->basedoc.window->doc_obj =
NULL;
4727 IHTMLWindow2_Release(&
This->basedoc.window->base.IHTMLWindow2_iface);
4729 if(
This->basedoc.advise_holder)
4730 IOleAdviseHolder_Release(
This->basedoc.advise_holder);
4733 IAdviseSink_Release(
This->view_sink);
4735 IOleObject_SetClientSite(&
This->basedoc.IOleObject_iface,
NULL);
4737 ICustomDoc_SetUIHandler(&
This->ICustomDoc_iface,
NULL);
4738 if(
This->in_place_active)
4739 IOleInPlaceObjectWindowless_InPlaceDeactivate(&
This->basedoc.IOleInPlaceObjectWindowless_iface);
4741 IOleDocumentView_SetInPlaceSite(&
This->basedoc.IOleDocumentView_iface,
NULL);
4743 IOleUndoManager_Release(
This->undomgr);
4745 IHTMLEditServices_Release(
This->editsvcs);
4746 if(
This->tooltips_hwnd)
4756 if(
This->nscontainer)
4762 nsIDOMWindowUtils_CycleCollect(window_utils,
NULL, 0);
4763 nsIDOMWindowUtils_Release(window_utils);
4776 TRACE(
"(%p)->(%p)\n",
This, pUIHandler);
4778 if(
This->custom_hostui &&
This->hostui == pUIHandler)
4784 IDocHostUIHandler_Release(
This->hostui);
4786 IDocHostUIHandler_AddRef(pUIHandler);
4787 This->hostui = pUIHandler;
4791 hres = IDocHostUIHandler_QueryInterface(pUIHandler, &IID_IOleCommandTarget, (
void**)&cmdtrg);
4793 FIXME(
"custom UI handler supports IOleCommandTarget\n");
4794 IOleCommandTarget_Release(cmdtrg);
4816 DispHTMLDocument_tid,
4848 ERR(
"Failed to init Gecko, returning CLASS_E_CLASSNOTAVAILABLE\n");
4860 ERR(
"GetContentDOMWindow failed: %08x\n", nsres);
4864 nsIDOMWindow_Release(nswindow);
static void * heap_alloc(size_t len)
static BOOL heap_free(void *mem)
static void * heap_realloc(void *mem, size_t len)
#define InterlockedIncrement
#define InterlockedDecrement
static int list_empty(struct list_entry *head)
static void list_init(struct list_entry *head)
#define BINDING_NAVIGATED
void call_property_onchanged(ConnectionPointContainer *container, DISPID dispid)
#define ERROR_INSUFFICIENT_BUFFER
static WCHAR * heap_strdupW(const WCHAR *str)
#define ERROR_NO_MORE_ITEMS
static HRESULT navigate_url(HHInfo *info, LPCWSTR surl)
void ConnectionPointContainer_Destroy(ConnectionPointContainer *This)
void ConnectionPointContainer_Init(ConnectionPointContainer *This, IUnknown *impl)
HRESULT setup_edit_mode(HTMLDocumentObj *doc)
void HTMLDocument_Hlink_Init(HTMLDocument *This)
static HRESULT WINAPI HTMLDocument7_get_onload(IHTMLDocument7 *iface, VARIANT *p)
static cp_static_data_t HTMLDocumentEvents_data
static HRESULT WINAPI HTMLDocument7_get_xmlStandalone(IHTMLDocument7 *iface, VARIANT_BOOL *p)
static HRESULT WINAPI HTMLDocument6_get_documentMode(IHTMLDocument6 *iface, VARIANT *p)
static void init_doc(HTMLDocument *doc, IUnknown *unk_impl, IDispatchEx *dispex)
static HRESULT WINAPI HTMLDocument7_get_xmlEncoding(IHTMLDocument7 *iface, BSTR *p)
static const IHTMLDocument2Vtbl HTMLDocumentVtbl
static HRESULT WINAPI HTMLDocument_get_fileSize(IHTMLDocument2 *iface, BSTR *p)
static HRESULT WINAPI HTMLDocument3_put_ondataavailable(IHTMLDocument3 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument7_put_onvolumechange(IHTMLDocument7 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument5_get_implementation(IHTMLDocument5 *iface, IHTMLDOMImplementation **p)
static const IProvideClassInfoVtbl ProvideClassInfoVtbl
static HRESULT WINAPI HTMLDocument3_put_onpropertychange(IHTMLDocument3 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument_get_vlinkColor(IHTMLDocument2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument_get_referrer(IHTMLDocument2 *iface, BSTR *p)
static HRESULT WINAPI HTMLDocument_get_plugins(IHTMLDocument2 *iface, IHTMLElementCollection **p)
static HRESULT WINAPI HTMLDocument3_put_enableDownload(IHTMLDocument3 *iface, VARIANT_BOOL v)
static HRESULT WINAPI HTMLDocument3_get_onrowsinserted(IHTMLDocument3 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument4_focus(IHTMLDocument4 *iface)
static HRESULT WINAPI HTMLDocument_put_onkeypress(IHTMLDocument2 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument_get_onmouseover(IHTMLDocument2 *iface, VARIANT *p)
static HRESULT HTMLDocumentNode_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
static HRESULT WINAPI HTMLDocument6_get_compatible(IHTMLDocument6 *iface, IHTMLDocumentCompatibleInfoCollection **p)
static const ICustomDocVtbl CustomDocVtbl
static HRESULT WINAPI HTMLDocument4_get_onselectionchange(IHTMLDocument4 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument7_put_onloadeddata(IHTMLDocument7 *iface, VARIANT v)
static const WCHAR insertunorderedlistW[]
static ULONG WINAPI HTMLDocument3_AddRef(IHTMLDocument3 *iface)
static ULONG WINAPI HTMLDocument7_Release(IHTMLDocument7 *iface)
static HRESULT WINAPI HTMLDocument_queryCommandSupported(IHTMLDocument2 *iface, BSTR cmdID, VARIANT_BOOL *pfRet)
static HRESULT WINAPI HTMLDocument7_get_ondrag(IHTMLDocument7 *iface, VARIANT *p)
static HTMLDocument * impl_from_IHTMLDocument7(IHTMLDocument7 *iface)
static HRESULT WINAPI HTMLDocument_get_onhelp(IHTMLDocument2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument_get_title(IHTMLDocument2 *iface, BSTR *p)
static HRESULT WINAPI HTMLDocument7_get_onfocus(IHTMLDocument7 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument5_put_onfocusout(IHTMLDocument5 *iface, VARIANT v)
static ULONG WINAPI HTMLDocument6_Release(IHTMLDocument6 *iface)
static HRESULT WINAPI HTMLDocument7_get_body(IHTMLDocument7 *iface, IHTMLElement **p)
static HRESULT WINAPI HTMLDocument7_get_onloadstart(IHTMLDocument7 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument_put_onreadystatechange(IHTMLDocument2 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument_get_onerrorupdate(IHTMLDocument2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument7_put_onwaiting(IHTMLDocument7 *iface, VARIANT v)
static HRESULT WINAPI SupportErrorInfo_InterfaceSupportsErrorInfo(ISupportErrorInfo *iface, REFIID riid)
static HRESULT WINAPI HTMLDocument3_get_oncontextmenu(IHTMLDocument3 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument_queryCommandIndeterm(IHTMLDocument2 *iface, BSTR cmdID, VARIANT_BOOL *pfRet)
static HRESULT WINAPI HTMLDocument3_get_documentElement(IHTMLDocument3 *iface, IHTMLElement **p)
static HRESULT WINAPI HTMLDocument4_createDocumentFromUrl(IHTMLDocument4 *iface, BSTR bstrUrl, BSTR bstrOptions, IHTMLDocument2 **newDoc)
static HRESULT WINAPI HTMLDocument6_Invoke(IHTMLDocument6 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static HRESULT WINAPI HTMLDocument3_releaseCapture(IHTMLDocument3 *iface)
static HRESULT WINAPI DocDispatchEx_DeleteMemberByName(IDispatchEx *iface, BSTR bstrName, DWORD grfdex)
static HRESULT WINAPI HTMLDocument6_get_onstoragecommit(IHTMLDocument6 *iface, VARIANT *p)
static void HTMLDocumentNode_destructor(HTMLDOMNode *iface)
static const WCHAR fontnameW[]
static HRESULT WINAPI HTMLDocument_execCommand(IHTMLDocument2 *iface, BSTR cmdID, VARIANT_BOOL showUI, VARIANT value, VARIANT_BOOL *pfRet)
static HRESULT WINAPI HTMLDocument3_put_onbeforeeditfocus(IHTMLDocument3 *iface, VARIANT v)
static const IDispatchExVtbl DocDispatchExVtbl
static HRESULT WINAPI HTMLDocument3_get_enableDownload(IHTMLDocument3 *iface, VARIANT_BOOL *p)
static HRESULT WINAPI HTMLDocument_get_onbeforeupdate(IHTMLDocument2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument3_GetTypeInfo(IHTMLDocument3 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static HRESULT WINAPI HTMLDocument_get_protocol(IHTMLDocument2 *iface, BSTR *p)
static HRESULT WINAPI HTMLDocument_clear(IHTMLDocument2 *iface)
static const IHTMLDocument4Vtbl HTMLDocument4Vtbl
static HRESULT WINAPI HTMLDocument3_get_childNodes(IHTMLDocument3 *iface, IDispatch **p)
static HRESULT WINAPI HTMLDocument7_get_parentWindow(IHTMLDocument7 *iface, IHTMLWindow2 **p)
static HRESULT WINAPI HTMLDocument7_createElement(IHTMLDocument7 *iface, BSTR bstrTag, IHTMLElement **newElem)
static HRESULT WINAPI HTMLDocument7_get_onseekend(IHTMLDocument7 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument4_createRenderStyle(IHTMLDocument4 *iface, BSTR v, IHTMLRenderStyle **ppIHTMLRenderStyle)
static HRESULT WINAPI HTMLDocument_get_charset(IHTMLDocument2 *iface, BSTR *p)
static const dispex_static_data_vtbl_t HTMLDocumentNode_dispex_vtbl
static HRESULT WINAPI HTMLDocument7_GetIDsOfNames(IHTMLDocument7 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI HTMLDocument_get_forms(IHTMLDocument2 *iface, IHTMLElementCollection **p)
static HRESULT WINAPI HTMLDocument7_getSelection(IHTMLDocument7 *iface, IHTMLSelection **ppIHTMLSelection)
static HTMLDocumentNode * impl_from_DispatchEx(DispatchEx *iface)
static HRESULT WINAPI HTMLDocument_put_onrowexit(IHTMLDocument2 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument5_get_ondeactivate(IHTMLDocument5 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument3_put_onrowsinserted(IHTMLDocument3 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument7_get_onsubmit(IHTMLDocument7 *iface, VARIANT *p)
static HTMLDocument * impl_from_IHTMLDocument6(IHTMLDocument6 *iface)
static HRESULT WINAPI CustomDoc_SetUIHandler(ICustomDoc *iface, IDocHostUIHandler *pUIHandler)
static HRESULT WINAPI HTMLDocument7_get_ondragleave(IHTMLDocument7 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument_get_onkeypress(IHTMLDocument2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument_Invoke(IHTMLDocument2 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static HRESULT WINAPI HTMLDocument3_GetIDsOfNames(IHTMLDocument3 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI HTMLDocument6_get_onstorage(IHTMLDocument6 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument3_uniqueID(IHTMLDocument3 *iface, BSTR *p)
static const WCHAR indentW[]
static HTMLDocumentObj * impl_from_ICustomDoc(ICustomDoc *iface)
static void HTMLDocumentNode_traverse(HTMLDOMNode *iface, nsCycleCollectionTraversalCallback *cb)
static HRESULT WINAPI HTMLDocument7_get_ondurationchange(IHTMLDocument7 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument_execCommandShowHelp(IHTMLDocument2 *iface, BSTR cmdID, VARIANT_BOOL *pfRet)
static HRESULT WINAPI HTMLDocument7_get_onchange(IHTMLDocument7 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument_GetTypeInfo(IHTMLDocument2 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static HRESULT WINAPI HTMLDocument_put_onbeforeupdate(IHTMLDocument2 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument7_getElementByClassName(IHTMLDocument7 *iface, BSTR v, IHTMLElementCollection **pel)
static HRESULT WINAPI HTMLDocument3_get_ondatasetcomplete(IHTMLDocument3 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument3_detachEvent(IHTMLDocument3 *iface, BSTR event, IDispatch *pDisp)
static HRESULT WINAPI HTMLDocument7_put_onpause(IHTMLDocument7 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument7_put_ondragover(IHTMLDocument7 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument_GetIDsOfNames(IHTMLDocument2 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI HTMLDocument7_put_ondragenter(IHTMLDocument7 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument7_put_ondrop(IHTMLDocument7 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument_write(IHTMLDocument2 *iface, SAFEARRAY *psarray)
static HRESULT WINAPI HTMLDocument7_get_onended(IHTMLDocument7 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument3_GetTypeInfoCount(IHTMLDocument3 *iface, UINT *pctinfo)
static ULONG WINAPI CustomDoc_AddRef(ICustomDoc *iface)
static HRESULT WINAPI HTMLDocument_put_onerrorupdate(IHTMLDocument2 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument7_get_head(IHTMLDocument7 *iface, IHTMLElement **p)
static HRESULT WINAPI HTMLDocument7_put_ondragleave(IHTMLDocument7 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument7_get_xmlVersion(IHTMLDocument7 *iface, BSTR *p)
static HRESULT WINAPI HTMLDocument6_put_onstorage(IHTMLDocument6 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument_get_designMode(IHTMLDocument2 *iface, BSTR *p)
static const IHTMLDocument3Vtbl HTMLDocument3Vtbl
static HRESULT WINAPI HTMLDocument7_get_onpause(IHTMLDocument7 *iface, VARIANT *p)
static const tid_t HTMLDocumentNode_iface_tids[]
static HRESULT WINAPI HTMLDocument_get_Script(IHTMLDocument2 *iface, IDispatch **p)
static HRESULT WINAPI HTMLDocument_put_ondblclick(IHTMLDocument2 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument7_put_onplaying(IHTMLDocument7 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument5_get_onbeforeactivate(IHTMLDocument5 *iface, VARIANT *p)
static const NodeImplVtbl HTMLDocumentFragmentImplVtbl
static HRESULT WINAPI HTMLDocument7_createProcessingInstruction(IHTMLDocument7 *iface, BSTR target, BSTR data, IDOMProcessingInstruction **newProcessingInstruction)
static HRESULT WINAPI HTMLDocument7_get_onabort(IHTMLDocument7 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument7_put_body(IHTMLDocument7 *iface, IHTMLElement *v)
static HRESULT WINAPI HTMLDocument_put_onmouseover(IHTMLDocument2 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument7_get_onprogress(IHTMLDocument7 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument_get_security(IHTMLDocument2 *iface, BSTR *p)
static dispex_static_data_t HTMLDocumentObj_dispex
static HRESULT WINAPI HTMLDocument_get_onmousemove(IHTMLDocument2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument_get_onmouseup(IHTMLDocument2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument7_get_onemptied(IHTMLDocument7 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument7_put_onseeking(IHTMLDocument7 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument7_get_onratechange(IHTMLDocument7 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument_put_designMode(IHTMLDocument2 *iface, BSTR v)
static HRESULT WINAPI DocDispatchEx_GetNameSpaceParent(IDispatchEx *iface, IUnknown **ppunk)
static HRESULT WINAPI HTMLDocument7_put_onloadstart(IHTMLDocument7 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument4_put_media(IHTMLDocument4 *iface, BSTR v)
static HRESULT WINAPI HTMLDocument3_get_parentDocument(IHTMLDocument3 *iface, IHTMLDocument2 **p)
static HRESULT WINAPI HTMLDocument7_put_onsuspend(IHTMLDocument7 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument7_get_oncanplaythrough(IHTMLDocument7 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument5_put_onbeforedeactivate(IHTMLDocument5 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument4_put_oncontrolselect(IHTMLDocument4 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument7_put_onplay(IHTMLDocument7 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument3_put_ondatasetchanged(IHTMLDocument3 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument7_put_onselect(IHTMLDocument7 *iface, VARIANT v)
static BOOL cmdid_from_string(const WCHAR *str, OLECMDID *cmdid)
static HRESULT WINAPI HTMLDocument5_put_ondeactivate(IHTMLDocument5 *iface, VARIANT v)
static ULONG WINAPI HTMLDocument3_Release(IHTMLDocument3 *iface)
static HRESULT WINAPI HTMLDocument7_put_onabort(IHTMLDocument7 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument_put_charset(IHTMLDocument2 *iface, BSTR v)
static void HTMLDocumentNode_unlink(HTMLDOMNode *iface)
static HRESULT WINAPI HTMLDocument_put_onmousemove(IHTMLDocument2 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument_put_onselectstart(IHTMLDocument2 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument5_put_onbeforeactivate(IHTMLDocument5 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument_put_domain(IHTMLDocument2 *iface, BSTR v)
static ULONG WINAPI HTMLDocument_Release(IHTMLDocument2 *iface)
static HRESULT document_write(HTMLDocument *This, SAFEARRAY *psarray, BOOL ln)
static HRESULT WINAPI HTMLDocument3_put_inheritStyleSheets(IHTMLDocument3 *iface, VARIANT_BOOL v)
static HRESULT WINAPI HTMLDocument7_get_onmsthumbnailclick(IHTMLDocument7 *iface, VARIANT *p)
static void destroy_htmldoc(HTMLDocument *This)
static HRESULT WINAPI HTMLDocument7_normalize(IHTMLDocument7 *iface)
static HRESULT WINAPI HTMLDocument7_hasAttributes(IHTMLDocument7 *iface, VARIANT_BOOL *pfHasAttributes)
static ULONG WINAPI ProvideClassInfo_AddRef(IProvideClassInfo *iface)
static HRESULT WINAPI HTMLDocument4_GetTypeInfo(IHTMLDocument4 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static ULONG WINAPI HTMLDocument_AddRef(IHTMLDocument2 *iface)
static HRESULT WINAPI HTMLDocument3_get_onpropertychange(IHTMLDocument3 *iface, VARIANT *p)
static ULONG WINAPI SupportErrorInfo_AddRef(ISupportErrorInfo *iface)
static HTMLDocument * impl_from_ISupportErrorInfo(ISupportErrorInfo *iface)
static HRESULT WINAPI DocDispatchEx_GetNextDispID(IDispatchEx *iface, DWORD grfdex, DISPID id, DISPID *pid)
static HRESULT WINAPI HTMLDocument7_put_xmlStandalone(IHTMLDocument7 *iface, VARIANT_BOOL v)
static HRESULT WINAPI HTMLDocument6_updateSettings(IHTMLDocument6 *iface)
static HRESULT WINAPI HTMLDocument7_put_onmssitemodejumplistitemremoved(IHTMLDocument7 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument_queryCommandState(IHTMLDocument2 *iface, BSTR cmdID, VARIANT_BOOL *pfRet)
static HRESULT WINAPI HTMLDocument7_put_onstalled(IHTMLDocument7 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument7_put_ondurationchange(IHTMLDocument7 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument_put_ondragstart(IHTMLDocument2 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument_put_URL(IHTMLDocument2 *iface, BSTR v)
static HRESULT WINAPI HTMLDocument5_Invoke(IHTMLDocument5 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static HRESULT WINAPI HTMLDocument5_get_compatMode(IHTMLDocument5 *iface, BSTR *p)
static HRESULT WINAPI HTMLDocument3_recalc(IHTMLDocument3 *iface, VARIANT_BOOL fForce)
static HRESULT WINAPI HTMLDocument_writeln(IHTMLDocument2 *iface, SAFEARRAY *psarray)
static const IHTMLDocument7Vtbl HTMLDocument7Vtbl
static HRESULT create_document_fragment(nsIDOMNode *nsnode, HTMLDocumentNode *doc_node, HTMLDocumentNode **ret)
static HRESULT WINAPI HTMLDocument3_getElementById(IHTMLDocument3 *iface, BSTR v, IHTMLElement **pel)
static HRESULT WINAPI DocDispatchEx_GetTypeInfoCount(IDispatchEx *iface, UINT *pctinfo)
static HTMLDocument * impl_from_IProvideClassInfo(IProvideClassInfo *iface)
static HRESULT WINAPI HTMLDocument7_put_onchange(IHTMLDocument7 *iface, VARIANT v)
static const IHTMLDocument6Vtbl HTMLDocument6Vtbl
static HRESULT WINAPI HTMLDocument7_get_characterSet(IHTMLDocument7 *iface, BSTR *p)
static HRESULT WINAPI HTMLDocument_get_ondblclick(IHTMLDocument2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument7_put_oncanplay(IHTMLDocument7 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument3_attachEvent(IHTMLDocument3 *iface, BSTR event, IDispatch *pDisp, VARIANT_BOOL *pfResult)
static HRESULT WINAPI HTMLDocument_put_onhelp(IHTMLDocument2 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument6_GetIDsOfNames(IHTMLDocument6 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI HTMLDocument_get_cookie(IHTMLDocument2 *iface, BSTR *p)
static HRESULT WINAPI HTMLDocument7_get_ondragover(IHTMLDocument7 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument7_put_onended(IHTMLDocument7 *iface, VARIANT v)
static HRESULT WINAPI SupportErrorInfo_QueryInterface(ISupportErrorInfo *iface, REFIID riid, void **ppv)
static HRESULT WINAPI HTMLDocument7_put_onblur(IHTMLDocument7 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument3_getElementsByName(IHTMLDocument3 *iface, BSTR v, IHTMLElementCollection **ppelColl)
static const NodeImplVtbl HTMLDocumentNodeImplVtbl
static HRESULT WINAPI HTMLDocument5_put_onfocusin(IHTMLDocument5 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument7_get_onsuspend(IHTMLDocument7 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument3_get_onstop(IHTMLDocument3 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument_put_onmouseup(IHTMLDocument2 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument7_Invoke(IHTMLDocument7 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static ULONG WINAPI HTMLDocument4_Release(IHTMLDocument4 *iface)
static HRESULT WINAPI HTMLDocument7_get_ontimeupdate(IHTMLDocument7 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument7_put_onemptied(IHTMLDocument7 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument7_put_xmlVersion(IHTMLDocument7 *iface, BSTR v)
static HRESULT WINAPI HTMLDocument5_get_onfocusout(IHTMLDocument5 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument_put_onmousedown(IHTMLDocument2 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument3_Invoke(IHTMLDocument3 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static HRESULT WINAPI HTMLDocument7_put_onfocus(IHTMLDocument7 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument4_get_media(IHTMLDocument4 *iface, BSTR *p)
static HRESULT WINAPI HTMLDocument7_put_onmsthumbnailclick(IHTMLDocument7 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument7_put_onscroll(IHTMLDocument7 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument3_get_inheritStyleSheets(IHTMLDocument3 *iface, VARIANT_BOOL *p)
static HRESULT WINAPI DocDispatchEx_GetMemberName(IDispatchEx *iface, DISPID id, BSTR *pbstrName)
static HRESULT WINAPI HTMLDocument_open(IHTMLDocument2 *iface, BSTR url, VARIANT name, VARIANT features, VARIANT replace, IDispatch **pomWindowResult)
static HRESULT WINAPI HTMLDocument7_createAttributeNS(IHTMLDocument7 *iface, VARIANT *pvarNS, BSTR bstrAttrName, IHTMLDOMAttribute **ppAttribute)
static HRESULT WINAPI HTMLDocument7_put_ondrag(IHTMLDocument7 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument3_put_onrowsdelete(IHTMLDocument3 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument_get_lastModified(IHTMLDocument2 *iface, BSTR *p)
static void HTMLDocumentNode_bind_event(DispatchEx *dispex, int eid)
static HRESULT WINAPI HTMLDocument7_get_onreset(IHTMLDocument7 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument7_put_ondragend(IHTMLDocument7 *iface, VARIANT v)
HRESULT get_doc_elem_by_id(HTMLDocumentNode *doc, const WCHAR *id, HTMLElement **ret)
static HRESULT WINAPI HTMLDocument_get_styleSheets(IHTMLDocument2 *iface, IHTMLStyleSheetsCollection **p)
static HRESULT WINAPI HTMLDocument_QueryInterface(IHTMLDocument2 *iface, REFIID riid, void **ppv)
static HRESULT WINAPI HTMLDocument3_put_oncellchange(IHTMLDocument3 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument_get_selection(IHTMLDocument2 *iface, IHTMLSelectionObject **p)
static HRESULT WINAPI HTMLDocument6_GetTypeInfo(IHTMLDocument6 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static const cpc_entry_t HTMLDocument_cpc[]
static HRESULT WINAPI HTMLDocument_get_fileModifiedDate(IHTMLDocument2 *iface, BSTR *p)
static ULONG WINAPI CustomDoc_Release(ICustomDoc *iface)
static HRESULT WINAPI HTMLDocument_put_onclick(IHTMLDocument2 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument_get_onafterupdate(IHTMLDocument2 *iface, VARIANT *p)
static const WCHAR outdentW[]
static HRESULT WINAPI HTMLDocument_get_fgColor(IHTMLDocument2 *iface, VARIANT *p)
HRESULT HTMLDocument_Create(IUnknown *pUnkOuter, REFIID riid, void **ppvObject)
static ULONG WINAPI HTMLDocument6_AddRef(IHTMLDocument6 *iface)
static HRESULT WINAPI HTMLDocument7_put_oninput(IHTMLDocument7 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument_toString(IHTMLDocument2 *iface, BSTR *String)
static HRESULT WINAPI HTMLDocument_put_expando(IHTMLDocument2 *iface, VARIANT_BOOL v)
static HRESULT WINAPI HTMLDocument_get_domain(IHTMLDocument2 *iface, BSTR *p)
static HRESULT WINAPI HTMLDocument_get_onreadystatechange(IHTMLDocument2 *iface, VARIANT *p)
static ULONG WINAPI HTMLDocument5_Release(IHTMLDocument5 *iface)
static HRESULT WINAPI HTMLDocument_queryCommandValue(IHTMLDocument2 *iface, BSTR cmdID, VARIANT *pfRet)
HRESULT create_doc_from_nsdoc(nsIDOMHTMLDocument *nsdoc, HTMLDocumentObj *doc_obj, HTMLInnerWindow *window, HTMLDocumentNode **ret)
static const WCHAR insertorderedlistW[]
static const struct @513 command_names[]
static HRESULT WINAPI HTMLDocument_get_onkeydown(IHTMLDocument2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument_get_onmouseout(IHTMLDocument2 *iface, VARIANT *p)
static HTMLDocument * impl_from_IHTMLDocument2(IHTMLDocument2 *iface)
static HRESULT WINAPI HTMLDocument7_get_onstalled(IHTMLDocument7 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument7_get_onselect(IHTMLDocument7 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument7_get_ondragend(IHTMLDocument7 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument_get_anchors(IHTMLDocument2 *iface, IHTMLElementCollection **p)
static HRESULT WINAPI HTMLDocument_put_cookie(IHTMLDocument2 *iface, BSTR v)
static HRESULT WINAPI HTMLDocument5_GetTypeInfo(IHTMLDocument5 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static HRESULT WINAPI HTMLDocument6_getElementById(IHTMLDocument6 *iface, BSTR bstrId, IHTMLElement2 **p)
static HRESULT WINAPI CustomDoc_QueryInterface(ICustomDoc *iface, REFIID riid, void **ppv)
static ULONG WINAPI SupportErrorInfo_Release(ISupportErrorInfo *iface)
static HRESULT WINAPI HTMLDocument5_put_onmousewheel(IHTMLDocument5 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument7_get_onwaiting(IHTMLDocument7 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument4_get_URLEncoded(IHTMLDocument4 *iface, BSTR *p)
static HRESULT WINAPI HTMLDocument5_get_onactivate(IHTMLDocument5 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument4_get_namespace(IHTMLDocument4 *iface, IDispatch **p)
static HRESULT WINAPI HTMLDocument7_get_onmssitemodejumplistitemremoved(IHTMLDocument7 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument_get_onclick(IHTMLDocument2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument_put_defaultCharset(IHTMLDocument2 *iface, BSTR v)
static HRESULT WINAPI HTMLDocument_GetTypeInfoCount(IHTMLDocument2 *iface, UINT *pctinfo)
static HRESULT WINAPI HTMLDocument3_createDocumentFragment(IHTMLDocument3 *iface, IHTMLDocument2 **ppNewDoc)
static HRESULT WINAPI HTMLDocument4_Invoke(IHTMLDocument4 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static HRESULT HTMLDocumentNode_clone(HTMLDOMNode *iface, nsIDOMNode *nsnode, HTMLDOMNode **ret)
static ULONG WINAPI DocDispatchEx_Release(IDispatchEx *iface)
static HTMLDocumentNode * alloc_doc_node(HTMLDocumentObj *doc_obj, HTMLInnerWindow *window)
static HRESULT WINAPI DocDispatchEx_InvokeEx(IDispatchEx *iface, DISPID id, LCID lcid, WORD wFlags, DISPPARAMS *pdp, VARIANT *pvarRes, EXCEPINFO *pei, IServiceProvider *pspCaller)
static HRESULT WINAPI HTMLDocument7_put_onerror(IHTMLDocument7 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument_get_readyState(IHTMLDocument2 *iface, BSTR *p)
static HRESULT WINAPI DocDispatchEx_GetDispID(IDispatchEx *iface, BSTR bstrName, DWORD grfdex, DISPID *pid)
static HRESULT WINAPI HTMLDocument_get_URL(IHTMLDocument2 *iface, BSTR *p)
static HRESULT WINAPI HTMLDocument7_get_onblur(IHTMLDocument7 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument3_get_ondatasetchanged(IHTMLDocument3 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument7_put_onload(IHTMLDocument7 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument3_put_onstop(IHTMLDocument3 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument7_get_onscroll(IHTMLDocument7 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument6_GetTypeInfoCount(IHTMLDocument6 *iface, UINT *pctinfo)
static HRESULT WINAPI DocDispatchEx_GetIDsOfNames(IDispatchEx *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI HTMLDocument7_put_oncanplaythrough(IHTMLDocument7 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument7_get_onseeking(IHTMLDocument7 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument_get_onrowexit(IHTMLDocument2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument5_get_doctype(IHTMLDocument5 *iface, IHTMLDOMNode **p)
static const WCHAR cutW[]
static const WCHAR respectvisibilityindesignW[]
static HTMLDocument * impl_from_IHTMLDocument3(IHTMLDocument3 *iface)
static HRESULT WINAPI HTMLDocument4_createEventObject(IHTMLDocument4 *iface, VARIANT *pvarEventObject, IHTMLEventObj **ppEventObj)
static HRESULT WINAPI HTMLDocument_put_onafterupdate(IHTMLDocument2 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument_put_onkeyup(IHTMLDocument2 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument_get_onkeyup(IHTMLDocument2 *iface, VARIANT *p)
static HRESULT HTMLDocumentFragment_clone(HTMLDOMNode *iface, nsIDOMNode *nsnode, HTMLDOMNode **ret)
static HRESULT WINAPI HTMLDocument7_get_onerror(IHTMLDocument7 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument_get_body(IHTMLDocument2 *iface, IHTMLElement **p)
static HRESULT WINAPI HTMLDocument3_put_oncontextmenu(IHTMLDocument3 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument3_get_onrowsdelete(IHTMLDocument3 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument4_QueryInterface(IHTMLDocument4 *iface, REFIID riid, void **ppv)
static HRESULT WINAPI DocDispatchEx_Invoke(IDispatchEx *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static dispex_static_data_t HTMLDocumentNode_dispex
static HTMLDocument * impl_from_IHTMLDocument4(IHTMLDocument4 *iface)
static HRESULT WINAPI HTMLDocument_get_expando(IHTMLDocument2 *iface, VARIANT_BOOL *p)
static HRESULT WINAPI HTMLDocument_get_onrowenter(IHTMLDocument2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument5_QueryInterface(IHTMLDocument5 *iface, REFIID riid, void **ppv)
static HRESULT WINAPI HTMLDocument7_get_oncanplay(IHTMLDocument7 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument5_createComment(IHTMLDocument5 *iface, BSTR bstrdata, IHTMLDOMNode **ppRetNode)
static HRESULT WINAPI HTMLDocument7_get_onvolumechange(IHTMLDocument7 *iface, VARIANT *p)
static const WCHAR copyW[]
static HRESULT WINAPI HTMLDocument3_get_dir(IHTMLDocument3 *iface, BSTR *p)
static HRESULT WINAPI HTMLDocument3_put_dir(IHTMLDocument3 *iface, BSTR v)
static HRESULT WINAPI HTMLDocument_get_frames(IHTMLDocument2 *iface, IHTMLFramesCollection2 **p)
UINT get_document_charset(HTMLDocumentNode *doc)
static HRESULT WINAPI HTMLDocument7_get_onloadeddata(IHTMLDocument7 *iface, VARIANT *p)
static HTMLDocument * impl_from_IDispatchEx(IDispatchEx *iface)
static HRESULT WINAPI HTMLDocument7_createElementNS(IHTMLDocument7 *iface, VARIANT *pvarNS, BSTR bstrTag, IHTMLElement **newElem)
static ULONG WINAPI HTMLDocument4_AddRef(IHTMLDocument4 *iface)
static HRESULT WINAPI HTMLDocument3_createTextNode(IHTMLDocument3 *iface, BSTR text, IHTMLDOMNode **newTextNode)
static HRESULT WINAPI HTMLDocument7_put_ontimeupdate(IHTMLDocument7 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument_put_onmouseout(IHTMLDocument2 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument_put_fgColor(IHTMLDocument2 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument7_GetTypeInfo(IHTMLDocument7 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static HRESULT WINAPI HTMLDocument3_put_baseUrl(IHTMLDocument3 *iface, BSTR v)
static HRESULT WINAPI DocDispatchEx_GetMemberProperties(IDispatchEx *iface, DISPID id, DWORD grfdexFetch, DWORD *pgrfdex)
static HRESULT WINAPI HTMLDocument7_get_onplay(IHTMLDocument7 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument3_get_baseUrl(IHTMLDocument3 *iface, BSTR *p)
static HRESULT WINAPI HTMLDocument7_put_onratechange(IHTMLDocument7 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument4_get_oncontrolselect(IHTMLDocument4 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument_put_onrowenter(IHTMLDocument2 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument7_get_ondrop(IHTMLDocument7 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument_get_images(IHTMLDocument2 *iface, IHTMLElementCollection **p)
static HRESULT WINAPI DocDispatchEx_GetTypeInfo(IDispatchEx *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static HRESULT WINAPI DocDispatchEx_QueryInterface(IDispatchEx *iface, REFIID riid, void **ppv)
static HRESULT WINAPI HTMLDocument7_GetTypeInfoCount(IHTMLDocument7 *iface, UINT *pctinfo)
static HRESULT WINAPI HTMLDocument3_get_oncellchange(IHTMLDocument3 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument4_fireEvent(IHTMLDocument4 *iface, BSTR bstrEventName, VARIANT *pvarEventObject, VARIANT_BOOL *pfCanceled)
static HRESULT WINAPI HTMLDocument4_hasFocus(IHTMLDocument4 *iface, VARIANT_BOOL *pfFocus)
static HRESULT WINAPI HTMLDocument7_put_onprogress(IHTMLDocument7 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument_get_embeds(IHTMLDocument2 *iface, IHTMLElementCollection **p)
static HRESULT WINAPI HTMLDocument_get_onselectstart(IHTMLDocument2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument3_QueryInterface(IHTMLDocument3 *iface, REFIID riid, void **ppv)
static HRESULT WINAPI HTMLDocument7_get_onplaying(IHTMLDocument7 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument7_get_inputEncoding(IHTMLDocument7 *iface, BSTR *p)
static ULONG WINAPI ProvideClassInfo_Release(IProvideClassInfo *iface)
static HRESULT WINAPI HTMLDocument_createStyleSheet(IHTMLDocument2 *iface, BSTR bstrHref, LONG lIndex, IHTMLStyleSheet **ppnewStyleSheet)
static HRESULT WINAPI HTMLDocument7_adoptNode(IHTMLDocument7 *iface, IHTMLDOMNode *pNodeSource, IHTMLDOMNode3 **ppNodeDest)
static HRESULT WINAPI HTMLDocument_put_onkeydown(IHTMLDocument2 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument6_put_onstoragecommit(IHTMLDocument6 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument7_put_onseekend(IHTMLDocument7 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument_createElement(IHTMLDocument2 *iface, BSTR eTag, IHTMLElement **newElem)
static void HTMLDocument_on_advise(IUnknown *iface, cp_static_data_t *cp)
static HRESULT WINAPI HTMLDocument_elementFromPoint(IHTMLDocument2 *iface, LONG x, LONG y, IHTMLElement **elementHit)
static HRESULT WINAPI HTMLDocument7_put_onsubmit(IHTMLDocument7 *iface, VARIANT v)
static HRESULT WINAPI ProvideClassInfo_QueryInterface(IProvideClassInfo *iface, REFIID riid, void **ppv)
static HRESULT WINAPI HTMLDocument_get_scripts(IHTMLDocument2 *iface, IHTMLElementCollection **p)
static HRESULT WINAPI HTMLDocument4_GetTypeInfoCount(IHTMLDocument4 *iface, UINT *pctinfo)
static HRESULT WINAPI HTMLDocument_get_linkColor(IHTMLDocument2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument3_put_ondatasetcomplete(IHTMLDocument3 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument5_get_onbeforedeactivate(IHTMLDocument5 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument6_QueryInterface(IHTMLDocument6 *iface, REFIID riid, void **ppv)
static HRESULT WINAPI HTMLDocument5_get_onmousewheel(IHTMLDocument5 *iface, VARIANT *p)
static HRESULT WINAPI ProvideClassInfo_GetClassInfo(IProvideClassInfo *iface, ITypeInfo **ppTI)
static HRESULT WINAPI HTMLDocument7_put_onreset(IHTMLDocument7 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument_get_location(IHTMLDocument2 *iface, IHTMLLocation **p)
static HRESULT WINAPI HTMLDocument3_get_onbeforeeditfocus(IHTMLDocument3 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument7_get_all(IHTMLDocument7 *iface, IHTMLElementCollection **p)
static BOOL htmldoc_qi(HTMLDocument *This, REFIID riid, void **ppv)
static HRESULT WINAPI HTMLDocument7_get_defaultView(IHTMLDocument7 *iface, IHTMLWindow2 **p)
static HRESULT WINAPI HTMLDocument_get_ondragstart(IHTMLDocument2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument3_getElementsByTagName(IHTMLDocument3 *iface, BSTR v, IHTMLElementCollection **pelColl)
static HTMLDocumentNode * impl_from_HTMLDOMNode(HTMLDOMNode *iface)
static HRESULT WINAPI HTMLDocument7_get_onloadedmetadata(IHTMLDocument7 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument_get_alinkColor(IHTMLDocument2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument4_GetIDsOfNames(IHTMLDocument4 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI HTMLDocument_put_bgColor(IHTMLDocument2 *iface, VARIANT v)
static const WCHAR fontsizeW[]
static HRESULT WINAPI HTMLDocument_close(IHTMLDocument2 *iface)
static HRESULT WINAPI HTMLDocument_get_links(IHTMLDocument2 *iface, IHTMLElementCollection **p)
static HRESULT WINAPI HTMLDocument_get_bgColor(IHTMLDocument2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument_get_mimeType(IHTMLDocument2 *iface, BSTR *p)
static HRESULT WINAPI HTMLDocument7_get_oninput(IHTMLDocument7 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument_put_vlinkColor(IHTMLDocument2 *iface, VARIANT v)
static ULONG WINAPI HTMLDocument5_AddRef(IHTMLDocument5 *iface)
static HRESULT WINAPI HTMLDocument_put_title(IHTMLDocument2 *iface, BSTR v)
static HRESULT WINAPI HTMLDocument_put_linkColor(IHTMLDocument2 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument7_createAttribute(IHTMLDocument7 *iface, BSTR bstrAttrName, IHTMLDOMAttribute **ppAttribute)
static ULONG WINAPI HTMLDocument7_AddRef(IHTMLDocument7 *iface)
static HRESULT WINAPI HTMLDocument5_put_onactivate(IHTMLDocument5 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument5_get_onfocusin(IHTMLDocument5 *iface, VARIANT *p)
static const ISupportErrorInfoVtbl SupportErrorInfoVtbl
static HRESULT WINAPI HTMLDocument_queryCommandEnabled(IHTMLDocument2 *iface, BSTR cmdID, VARIANT_BOOL *pfRet)
static const IHTMLDocument5Vtbl HTMLDocument5Vtbl
static HRESULT WINAPI HTMLDocument_get_nameProp(IHTMLDocument2 *iface, BSTR *p)
static HRESULT WINAPI HTMLDocument_get_parentWindow(IHTMLDocument2 *iface, IHTMLWindow2 **p)
static HRESULT WINAPI HTMLDocument_get_fileCreatedDate(IHTMLDocument2 *iface, BSTR *p)
static HRESULT WINAPI HTMLDocument7_QueryInterface(IHTMLDocument7 *iface, REFIID riid, void **ppv)
static HRESULT HTMLDocumentNode_invoke(DispatchEx *dispex, DISPID id, LCID lcid, WORD flags, DISPPARAMS *params, VARIANT *res, EXCEPINFO *ei, IServiceProvider *caller)
static const WCHAR pasteW[]
static HRESULT WINAPI HTMLDocument5_GetTypeInfoCount(IHTMLDocument5 *iface, UINT *pctinfo)
static HRESULT WINAPI DocDispatchEx_DeleteMemberByDispID(IDispatchEx *iface, DISPID id)
static HRESULT WINAPI HTMLDocument3_get_ondataavailable(IHTMLDocument3 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument5_createAttribute(IHTMLDocument5 *iface, BSTR bstrattrName, IHTMLDOMAttribute **ppattribute)
static HRESULT WINAPI HTMLDocument7_getElementsByTagNameNS(IHTMLDocument7 *iface, VARIANT *pvarNS, BSTR bstrLocalName, IHTMLElementCollection **pelColl)
static HRESULT WINAPI HTMLDocument_get_fileUpdatedDate(IHTMLDocument2 *iface, BSTR *p)
static HRESULT WINAPI HTMLDocument_get_onmousedown(IHTMLDocument2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument7_put_onloadedmetadata(IHTMLDocument7 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument_get_applets(IHTMLDocument2 *iface, IHTMLElementCollection **p)
static HRESULT WINAPI HTMLDocument_get_defaultCharset(IHTMLDocument2 *iface, BSTR *p)
static HRESULT WINAPI HTMLDocument4_put_onselectionchange(IHTMLDocument4 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument5_GetIDsOfNames(IHTMLDocument5 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HTMLDocument * impl_from_IHTMLDocument5(IHTMLDocument5 *iface)
static HRESULT WINAPI HTMLDocument_get_all(IHTMLDocument2 *iface, IHTMLElementCollection **p)
static const tid_t HTMLDocumentObj_iface_tids[]
static HRESULT WINAPI HTMLDocument7_importNode(IHTMLDocument7 *iface, IHTMLDOMNode *pNodeSource, VARIANT_BOOL fDeep, IHTMLDOMNode3 **ppNodeDest)
static HRESULT dispid_from_elem_name(HTMLDocumentNode *This, BSTR name, DISPID *dispid)
static HRESULT WINAPI HTMLDocument7_createCDATASection(IHTMLDocument7 *iface, BSTR text, IHTMLDOMNode **newCDATASectionNode)
static HRESULT WINAPI HTMLDocument_put_alinkColor(IHTMLDocument2 *iface, VARIANT v)
static HRESULT WINAPI HTMLDocument_get_activeElement(IHTMLDocument2 *iface, IHTMLElement **p)
static HRESULT WINAPI HTMLDocument7_get_ondragenter(IHTMLDocument7 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument_queryCommandText(IHTMLDocument2 *iface, BSTR cmdID, BSTR *pfRet)
static ULONG WINAPI DocDispatchEx_AddRef(IDispatchEx *iface)
UINT cp_from_charset_string(BSTR charset)
const char * debugstr_mshtml_guid(const GUID *iid)
HRESULT WINAPI SafeArrayAccessData(SAFEARRAY *psa, void **ppvData)
HRESULT WINAPI SafeArrayUnaccessData(SAFEARRAY *psa)
static const WCHAR objectW[]
GLint GLint GLint GLint GLint x
GLint GLint GLint GLint GLint GLint y
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLenum const GLfloat * params
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
HRESULT HTMLDOMAttribute_Create(const WCHAR *name, HTMLElement *elem, DISPID dispid, HTMLDOMAttribute **attr)
HRESULT get_readystate_string(READYSTATE readystate, BSTR *p)
HRESULT create_element(HTMLDocumentNode *doc, const WCHAR *tag, HTMLElement **ret)
HRESULT get_elem(HTMLDocumentNode *doc, nsIDOMElement *nselem, HTMLElement **ret)
static const WCHAR styleW[]
IHTMLElementCollection * create_all_collection(HTMLDOMNode *node, BOOL include_root)
IHTMLElementCollection * create_collection_from_nodelist(HTMLDocumentNode *doc, nsIDOMNodeList *nslist)
IHTMLElementCollection * create_collection_from_htmlcol(HTMLDocumentNode *doc, nsIDOMHTMLCollection *nscol)
HRESULT doc_init_events(HTMLDocumentNode *doc)
void update_doc_cp_events(HTMLDocumentNode *doc, cp_static_data_t *cp)
void release_event_target(event_target_t *event_target)
HRESULT create_event_obj(IHTMLEventObj **ret)
HRESULT attach_event(EventTarget *event_target, BSTR name, IDispatch *disp, VARIANT_BOOL *res)
void detach_events(HTMLDocumentNode *doc)
HRESULT dispatch_event(HTMLDOMNode *node, const WCHAR *event_name, VARIANT *event_var, VARIANT_BOOL *cancelled)
HRESULT ensure_doc_nsevent_handler(HTMLDocumentNode *doc, eventid_t eid)
@ EVENTID_READYSTATECHANGE
static HRESULT get_doc_event(HTMLDocument *doc, eventid_t eid, VARIANT *var)
static HRESULT set_doc_event(HTMLDocument *doc, eventid_t eid, VARIANT *var)
HRESULT get_node(HTMLDocumentNode *This, nsIDOMNode *nsnode, BOOL create, HTMLDOMNode **ret)
HRESULT HTMLDOMNode_QI(HTMLDOMNode *This, REFIID riid, void **ppv)
void HTMLDOMNode_Init(HTMLDocumentNode *doc, HTMLDOMNode *node, nsIDOMNode *nsnode)
IHTMLStyleSheetsCollection * HTMLStyleSheetsCollection_Create(nsIDOMStyleSheetList *nslist)
IHTMLStyleSheet * HTMLStyleSheet_Create(nsIDOMStyleSheet *nsstylesheet)
HRESULT HTMLDOMTextNode_Create(HTMLDocumentNode *doc, nsIDOMNode *nsnode, HTMLDOMNode **node)
HRESULT HTMLOuterWindow_Create(HTMLDocumentObj *doc_obj, nsIDOMWindow *nswindow, HTMLOuterWindow *parent, HTMLOuterWindow **ret)
#define DISPID_READYSTATE
HRESULT init_dispex(jsdisp_t *dispex, script_ctx_t *ctx, const builtin_info_t *builtin_info, jsdisp_t *prototype)
const IID IID_IObjectWithSite
static const char * debugstr_variant(const VARIANT *var)
static HMODULE MODULEINFO DWORD cb
static IHTMLWindow2 * window
static const WCHAR about_blank_url[]
static VARIANTARG static DISPID
#define IDM_RESPECTVISIBILITY_INDESIGN
#define DISPID_IHTMLWINDOW2_LOCATION
#define DISPID_IHTMLDOCUMENT2_DESIGNMODE
#define DISPID_IHTMLDOCUMENT2_LOCATION
interface IHTMLWindow2 IHTMLWindow2
void release_dispex(DispatchEx *This)
BOOL dispex_query_interface(DispatchEx *This, REFIID riid, void **ppv)
HRESULT get_htmldoc_classinfo(ITypeInfo **typeinfo)
static const WCHAR text_htmlW[]
void NSContainer_Release(NSContainer *) DECLSPEC_HIDDEN
void HTMLDocument_View_Init(HTMLDocument *) DECLSPEC_HIDDEN
void HTMLDocument_OleCmd_Init(HTMLDocument *) DECLSPEC_HIDDEN
void TargetContainer_Init(HTMLDocumentObj *) DECLSPEC_HIDDEN
JSContext * get_context_from_document(nsIDOMHTMLDocument *) DECLSPEC_HIDDEN
void HTMLDocument_Window_Init(HTMLDocument *) DECLSPEC_HIDDEN
void nsAString_Finish(nsAString *) DECLSPEC_HIDDEN
UINT32 nsAString_GetData(const nsAString *, const PRUnichar **) DECLSPEC_HIDDEN
void detach_selection(HTMLDocumentNode *) DECLSPEC_HIDDEN
HWND get_thread_hwnd(void) DECLSPEC_HIDDEN
void init_binding_ui(HTMLDocumentObj *) DECLSPEC_HIDDEN
void init_document_mutation(HTMLDocumentNode *) DECLSPEC_HIDDEN
static HRESULT htmldoc_query_interface(HTMLDocument *This, REFIID riid, void **ppv)
HRESULT create_dom_implementation(IHTMLDOMImplementation **) DECLSPEC_HIDDEN
void nsAString_InitDepend(nsAString *, const PRUnichar *) DECLSPEC_HIDDEN
HRESULT create_nscontainer(HTMLDocumentObj *, NSContainer **) DECLSPEC_HIDDEN
void HTMLDocument_Service_Init(HTMLDocument *) DECLSPEC_HIDDEN
BOOL nsAString_Init(nsAString *, const PRUnichar *) DECLSPEC_HIDDEN
HRESULT HTMLSelectionObject_Create(HTMLDocumentNode *, nsISelection *, IHTMLSelectionObject **) DECLSPEC_HIDDEN
static void node_release(HTMLDOMNode *node)
static ULONG htmldoc_addref(HTMLDocument *This)
void HTMLDocumentNode_SecMgr_Init(HTMLDocumentNode *) DECLSPEC_HIDDEN
LONG get_task_target_magic(void) DECLSPEC_HIDDEN
nsresult get_nsinterface(nsISupports *, REFIID, void **) DECLSPEC_HIDDEN
struct nsCycleCollectionTraversalCallback nsCycleCollectionTraversalCallback
void detach_ranges(HTMLDocumentNode *) DECLSPEC_HIDDEN
void HTMLDocument_OleObj_Init(HTMLDocument *) DECLSPEC_HIDDEN
static ULONG htmldoc_release(HTMLDocument *This)
#define MSHTML_DISPID_CUSTOM_MIN
#define NS_SUCCEEDED(res)
void release_document_mutation(HTMLDocumentNode *) DECLSPEC_HIDDEN
void HTMLDocument_Persist_Init(HTMLDocument *) DECLSPEC_HIDDEN
HRESULT return_nsstr(nsresult, nsAString *, BSTR *) DECLSPEC_HIDDEN
void remove_target_tasks(LONG) DECLSPEC_HIDDEN
#define MAKELCID(lgid, srtid)
BSTR WINAPI SysAllocString(LPCOLESTR str)
UINT WINAPI SysStringLen(BSTR str)
void WINAPI DECLSPEC_HOTPATCH SysFreeString(BSTR str)
BSTR WINAPI SysAllocStringLen(const OLECHAR *str, unsigned int len)
#define DISPATCH_PROPERTYPUT
#define DISPATCH_PROPERTYGET
const GUID IID_IOleInPlaceActiveObject
const GUID IID_IViewObject
const GUID IID_IOleContainer
const GUID IID_IConnectionPointContainer
const GUID IID_IPropertyNotifySink
const GUID IID_IProvideClassInfo
const GUID IID_IOleWindow
const GUID IID_IViewObject2
const GUID IID_IRunnableObject
const GUID IID_IOleInPlaceObject
const GUID IID_IOleObject
const GUID IID_IOleControl
const GUID IID_IPersistStreamInit
const GUID IID_IPersistFile
void detach_plugin_host(PluginHost *host)
const GUID IID_IPersistPropertyBag
#define IsEqualGUID(rguid1, rguid2)
INT replace(TCHAR source[MAX_PATH], TCHAR dest[MAX_PATH], DWORD dwFlags, BOOL *doMore)
#define SUBLANG_ENGLISH_US
struct ConnectionPointContainer * forward_container
IDispatchEx IDispatchEx_iface
ConnectionPointContainer * cp_container
const NodeImplVtbl * vtbl
IHTMLDOMNode IHTMLDOMNode_iface
nsIDOMHTMLDocument * nsdoc
struct list selection_list
IHTMLDOMImplementation * dom_implementation
NSContainer * nscontainer
ICustomDoc ICustomDoc_iface
IHTMLDocument7 IHTMLDocument7_iface
IHTMLDocument3 IHTMLDocument3_iface
IHTMLDocument2 IHTMLDocument2_iface
IProvideClassInfo IProvideClassInfo_iface
IHTMLDocument5 IHTMLDocument5_iface
IHTMLDocument6 IHTMLDocument6_iface
HTMLDocumentNode * doc_node
ConnectionPointContainer cp_container
HTMLDocumentObj * doc_obj
IHTMLDocument4 IHTMLDocument4_iface
IDispatchEx IDispatchEx_iface
ISupportErrorInfo ISupportErrorInfo_iface
HTMLInnerWindow * inner_window
IHTMLWindow2 IHTMLWindow2_iface
nsIWebBrowser * webbrowser
static HANDLE detach_event
#define CONTAINING_RECORD(address, type, field)
HRESULT WINAPI VariantChangeTypeEx(VARIANTARG *pvargDest, VARIANTARG *pvargSrc, LCID lcid, USHORT wFlags, VARTYPE vt)
HRESULT WINAPI DECLSPEC_HOTPATCH VariantClear(VARIANTARG *pVarg)
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
DWORD WINAPI GetLastError(void)
_In_ DWORD _Out_ _In_ WORD wFlags
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject
_In_ ULONG_PTR _In_ ULONG _Out_ ULONG_PTR * pid
#define HRESULT_FROM_WIN32(x)
#define DISP_E_UNKNOWNNAME
DWORD WINAPI InternetSetCookieExW(LPCWSTR lpszUrl, LPCWSTR lpszCookieName, LPCWSTR lpCookieData, DWORD flags, DWORD_PTR reserved)
BOOL WINAPI InternetGetCookieExW(LPCWSTR lpszUrl, LPCWSTR lpszCookieName, LPWSTR lpCookieData, LPDWORD lpdwSize, DWORD flags, void *reserved)
BOOL WINAPI DestroyWindow(_In_ HWND)