107 nsres = nsIDOMHTMLDocument_CreateRange(nsdoc, &
range);
109 ERR(
"CreateRange failed: %08x\n", nsres);
114 nsIDOMRange_CreateContextualFragment(
range, &
html_str, &nsfragment);
115 nsIDOMRange_Release(
range);
118 ERR(
"CreateContextualFragment failed: %08x\n", nsres);
122 nsres = nsIDOMNode_GetParentNode(nsnode, &nsparent);
126 nsres = nsIDOMNode_ReplaceChild(nsparent, (
nsIDOMNode*)nsfragment, nsnode, &nstmp);
127 nsIDOMNode_Release(nsparent);
129 ERR(
"ReplaceChild failed: %08x\n", nsres);
132 nsIDOMNode_Release(nstmp);
135 ERR(
"GetParentNode failed: %08x\n", nsres);
139 nsIDOMDocumentFragment_Release(nsfragment);
150 nsres = nsIDOMHTMLElement_GetAttribute(nselem, &name_str, val_str);
175 if(*
val || !use_null) {
193 nsres = nsIDOMHTMLElement_SetAttribute(
elem->nselem, &name_str, &val_str);
198 WARN(
"SetAttribute failed: %08x\n", nsres);
207 static const WCHAR uninitializedW[] = {
'u',
'n',
'i',
'n',
'i',
't',
'i',
'a',
'l',
'i',
'z',
'e',
'd',0};
208 static const WCHAR loadingW[] = {
'l',
'o',
'a',
'd',
'i',
'n',
'g',0};
209 static const WCHAR loadedW[] = {
'l',
'o',
'a',
'd',
'e',
'd',0};
210 static const WCHAR interactiveW[] = {
'i',
'n',
't',
'e',
'r',
'a',
'c',
't',
'i',
'v',
'e',0};
211 static const WCHAR completeW[] = {
'c',
'o',
'm',
'p',
'l',
'e',
't',
'e',0};
213 static const LPCWSTR readystate_strs[] = {
221 assert(readystate <= READYSTATE_COMPLETE);
253 WARN(
"NULL nsdoc\n");
258 nsres = nsIDOMHTMLDocument_CreateElement(doc->
nsdoc, &tag_str, &nselem);
261 ERR(
"CreateElement failed: %08x\n", nsres);
265 nsres = nsIDOMElement_QueryInterface(nselem, &IID_nsIDOMHTMLElement, (
void**)
ret);
266 nsIDOMElement_Release(nselem);
268 ERR(
"Could not get nsIDOMHTMLElement iface: %08x\n", nsres);
289 nsIDOMHTMLElement_Release(nselem);
348 nsIDOMClientRect_Release(
This->nsrect);
367 return IDispatchEx_GetTypeInfo(&
This->dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
375 return IDispatchEx_GetIDsOfNames(&
This->dispex.IDispatchEx_iface,
riid, rgszNames, cNames,
381 VARIANT *pVarResult, EXCEPINFO *pExcepInfo,
UINT *puArgErr)
385 return IDispatchEx_Invoke(&
This->dispex.IDispatchEx_iface, dispIdMember,
riid, lcid,
wFlags,
386 pDispParams, pVarResult, pExcepInfo, puArgErr);
404 nsres = nsIDOMClientRect_GetLeft(
This->nsrect, &
left);
406 ERR(
"GetLeft failed: %08x\n", nsres);
429 nsres = nsIDOMClientRect_GetTop(
This->nsrect, &
top);
431 ERR(
"GetTop failed: %08x\n", nsres);
454 nsres = nsIDOMClientRect_GetRight(
This->nsrect, &
right);
456 ERR(
"GetRight failed: %08x\n", nsres);
479 nsres = nsIDOMClientRect_GetBottom(
This->nsrect, &
bottom);
481 ERR(
"GetBottom failed: %08x\n", nsres);
531 nsIDOMClientRect_AddRef(nsrect);
532 rect->nsrect = nsrect;
543 return IHTMLDOMNode_QueryInterface(&
This->node.IHTMLDOMNode_iface,
riid,
ppv);
550 return IHTMLDOMNode_AddRef(&
This->node.IHTMLDOMNode_iface);
557 return IHTMLDOMNode_Release(&
This->node.IHTMLDOMNode_iface);
563 return IDispatchEx_GetTypeInfoCount(&
This->node.event_target.dispex.IDispatchEx_iface, pctinfo);
570 return IDispatchEx_GetTypeInfo(&
This->node.event_target.dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
578 return IDispatchEx_GetIDsOfNames(&
This->node.event_target.dispex.IDispatchEx_iface,
riid, rgszNames, cNames,
584 VARIANT *pVarResult, EXCEPINFO *pExcepInfo,
UINT *puArgErr)
587 return IDispatchEx_Invoke(&
This->node.event_target.dispex.IDispatchEx_iface, dispIdMember,
riid, lcid,
588 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
596 DISPID dispid, dispidNamed = DISPID_PROPERTYPUT;
597 DISPPARAMS dispParams;
602 hres = IDispatchEx_GetDispID(&
This->node.event_target.dispex.IDispatchEx_iface, strAttributeName,
603 (lFlags&
ATTRFLAG_CASESENSITIVE ? fdexNameCaseSensitive : fdexNameCaseInsensitive) | fdexNameEnsure, &dispid);
608 TRACE(
"Ignoring call on style attribute\n");
612 dispParams.cArgs = 1;
613 dispParams.cNamedArgs = 1;
614 dispParams.rgdispidNamedArgs = &dispidNamed;
615 dispParams.rgvarg = &AttributeValue;
617 return IDispatchEx_InvokeEx(&
This->node.event_target.dispex.IDispatchEx_iface, dispid,
623 DISPPARAMS dispParams = {
NULL,
NULL, 0, 0};
661 FIXME(
"Unsupported flags %x\n", lFlags);
663 hres = IDispatchEx_GetDispID(&
This->node.event_target.dispex.IDispatchEx_iface, strAttributeName,
687 hres = IDispatchEx_GetDispID(&
This->node.event_target.dispex.IDispatchEx_iface, strAttributeName,
690 *pfSuccess = VARIANT_FALSE;
699 TRACE(
"Special case: style\n");
701 hres = IHTMLElement_get_style(&
This->IHTMLElement_iface, &
style);
706 IHTMLStyle_Release(
style);
710 *pfSuccess = VARIANT_TRUE;
726 FIXME(
"NULL nselem\n");
731 nsres = nsIDOMHTMLElement_SetClassName(
This->nselem, &classname_str);
734 ERR(
"SetClassName failed: %08x\n", nsres);
748 FIXME(
"NULL nselem\n");
753 nsres = nsIDOMHTMLElement_GetClassName(
This->nselem, &class_str);
766 FIXME(
"nselem == NULL\n");
771 nsres = nsIDOMHTMLElement_SetId(
This->nselem, &id_str);
774 ERR(
"SetId failed: %08x\n", nsres);
793 nsres = nsIDOMHTMLElement_GetId(
This->nselem, &id_str);
806 static const WCHAR comment_tagW[] = {
'!',0};
808 WARN(
"NULL nselem, assuming comment\n");
815 nsres = nsIDOMHTMLElement_GetTagName(
This->nselem, &tag_str);
827 hres = IHTMLDOMNode_get_parentNode(&
This->node.IHTMLDOMNode_iface, &
node);
831 hres = IHTMLDOMNode_QueryInterface(
node, &IID_IHTMLElement, (
void**)
p);
832 IHTMLDOMNode_Release(
node);
853 *
p = &
This->style->IHTMLStyle_iface;
854 IHTMLStyle_AddRef(*
p);
1059 if(
This->node.vtbl->get_document)
1060 return This->node.vtbl->get_document(&
This->node,
p);
1063 IDispatch_AddRef(*
p);
1092 nsres = nsIDOMHTMLElement_SetTitle(
This->nselem, &title_str);
1095 ERR(
"SetTitle failed: %08x\n", nsres);
1126 nsres = nsIDOMHTMLElement_GetTitle(
This->nselem, &title_str);
1176 switch(
V_VT(&varargStart)) {
1188 FIXME(
"Unsupported for comments\n");
1192 nsres = nsIDOMHTMLElement_ScrollIntoView(
This->nselem,
start, 1);
1204 TRACE(
"(%p)->(%p %p)\n",
This, pChild, pfResult);
1212 ERR(
"not our element\n");
1216 nsres = nsIDOMNode_Contains(
This->node.nsnode,
child->node.nsnode, &
result);
1220 *pfResult =
result ? VARIANT_TRUE : VARIANT_FALSE;
1261 nsres = nsIDOMHTMLElement_GetOffsetLeft(
This->nselem,
p);
1263 ERR(
"GetOffsetLeft failed: %08x\n", nsres);
1277 nsres = nsIDOMHTMLElement_GetOffsetTop(
This->nselem,
p);
1279 ERR(
"GetOffsetTop failed: %08x\n", nsres);
1293 nsres = nsIDOMHTMLElement_GetOffsetWidth(
This->nselem,
p);
1295 ERR(
"GetOffsetWidth failed: %08x\n", nsres);
1309 nsres = nsIDOMHTMLElement_GetOffsetHeight(
This->nselem,
p);
1311 ERR(
"GetOffsetHeight failed: %08x\n", nsres);
1327 nsres = nsIDOMHTMLElement_GetOffsetParent(
This->nselem, &nsparent);
1329 ERR(
"GetOffsetParent failed: %08x\n", nsres);
1337 nsIDOMElement_Release(nsparent);
1341 hres = IHTMLDOMNode_QueryInterface(&
node->IHTMLDOMNode_iface, &IID_IHTMLElement, (
void**)
p);
1360 FIXME(
"NULL nselem\n");
1365 nsres = nsIDOMHTMLElement_SetInnerHTML(
This->nselem, &
html_str);
1368 FIXME(
"SetInnerHtml failed %08x\n", nsres);
1384 FIXME(
"NULL nselem\n");
1389 nsres = nsIDOMHTMLElement_GetInnerHTML(
This->nselem, &
html_str);
1404 nsres = nsIDOMHTMLElement_GetLastChild(
This->nselem, &nschild);
1406 ERR(
"GetLastChild failed: %08x\n", nsres);
1412 nsres = nsIDOMHTMLElement_RemoveChild(
This->nselem, nschild, &tmp);
1413 nsIDOMNode_Release(nschild);
1415 ERR(
"RemoveChild failed: %08x\n", nsres);
1418 nsIDOMNode_Release(tmp);
1422 nsres = nsIDOMHTMLDocument_CreateTextNode(
This->node.doc->nsdoc, &text_str, &text_node);
1425 ERR(
"CreateTextNode failed: %08x\n", nsres);
1429 nsres = nsIDOMHTMLElement_AppendChild(
This->nselem, (
nsIDOMNode*)text_node, &tmp);
1431 ERR(
"AppendChild failed: %08x\n", nsres);
1435 nsIDOMNode_Release(tmp);
1463 WARN(
"(%p)->(%p) semi-stub\n",
This,
p);
1502 static const WCHAR beforebeginW[] = {
'b',
'e',
'f',
'o',
'r',
'e',
'b',
'e',
'g',
'i',
'n',0};
1503 static const WCHAR afterbeginW[] = {
'a',
'f',
't',
'e',
'r',
'b',
'e',
'g',
'i',
'n',0};
1504 static const WCHAR beforeendW[] = {
'b',
'e',
'f',
'o',
'r',
'e',
'e',
'n',
'd',0};
1505 static const WCHAR afterendW[] = {
'a',
'f',
't',
'e',
'r',
'e',
'n',
'd',0};
1507 if (!
strcmpiW(where, beforebeginW)) {
1510 nsres = nsIDOMNode_GetParentNode(
This->node.nsnode, &
parent);
1517 nsres = nsIDOMNode_InsertBefore(
parent, nsnode,
This->node.nsnode, &ret_nsnode);
1518 nsIDOMNode_Release(
parent);
1519 }
else if(!
strcmpiW(where, afterbeginW)) {
1522 nsres = nsIDOMNode_GetFirstChild(
This->node.nsnode, &first_child);
1526 nsres = nsIDOMNode_InsertBefore(
This->node.nsnode, nsnode, first_child, &ret_nsnode);
1531 nsIDOMNode_Release(first_child);
1532 }
else if (!
strcmpiW(where, beforeendW)) {
1533 nsres = nsIDOMNode_AppendChild(
This->node.nsnode, nsnode, &ret_nsnode);
1534 }
else if (!
strcmpiW(where, afterendW)) {
1537 nsres = nsIDOMNode_GetParentNode(
This->node.nsnode, &
parent);
1543 nsres = nsIDOMNode_GetNextSibling(
This->node.nsnode, &next_sibling);
1546 nsres = nsIDOMNode_InsertBefore(
parent, nsnode, next_sibling, &ret_nsnode);
1547 nsIDOMNode_Release(next_sibling);
1549 nsres = nsIDOMNode_AppendChild(
parent, nsnode, &ret_nsnode);
1553 nsIDOMNode_Release(
parent);
1564 nsIDOMNode_Release(ret_nsnode);
1580 if(!
This->node.doc->nsdoc) {
1581 WARN(
"NULL nsdoc\n");
1585 nsres = nsIDOMHTMLDocument_CreateRange(
This->node.doc->nsdoc, &
range);
1588 ERR(
"CreateRange failed: %08x\n", nsres);
1592 nsIDOMRange_SetStartBefore(
range,
This->node.nsnode);
1597 nsIDOMRange_Release(
range);
1601 ERR(
"CreateTextNode failed: %08x\n", nsres);
1606 nsIDOMNode_Release(nsnode);
1621 if(!
This->node.doc->nsdoc) {
1622 WARN(
"NULL nsdoc\n");
1628 nsres = nsIDOMHTMLDocument_CreateTextNode(
This->node.doc->nsdoc, &ns_text, (
nsIDOMText **)&nsnode);
1633 ERR(
"CreateTextNode failed: %08x\n", nsres);
1638 nsIDOMNode_Release(nsnode);
1656 *
p =
This->node.vtbl->is_text_edit &&
This->node.vtbl->is_text_edit(&
This->node)
1657 ? VARIANT_TRUE : VARIANT_FALSE;
1671 IHTMLFiltersCollection **
p)
1843 nsres = nsIDOMNode_GetChildNodes(
This->node.nsnode, &nsnode_list);
1845 ERR(
"GetChildNodes failed: %08x\n", nsres);
1851 nsIDOMNodeList_Release(nsnode_list);
1976 return IHTMLElement_QueryInterface(&
This->IHTMLElement_iface,
riid,
ppv);
1982 return IHTMLElement_AddRef(&
This->IHTMLElement_iface);
1988 return IHTMLElement_Release(&
This->IHTMLElement_iface);
1994 return IDispatchEx_GetTypeInfoCount(&
This->node.event_target.dispex.IDispatchEx_iface, pctinfo);
2001 return IDispatchEx_GetTypeInfo(&
This->node.event_target.dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
2009 return IDispatchEx_GetIDsOfNames(&
This->node.event_target.dispex.IDispatchEx_iface,
riid, rgszNames, cNames,
2015 VARIANT *pVarResult, EXCEPINFO *pExcepInfo,
UINT *puArgErr)
2018 return IDispatchEx_Invoke(&
This->node.event_target.dispex.IDispatchEx_iface, dispIdMember,
riid, lcid,
2019 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
2032 FIXME(
"(%p)->(%x)\n",
This, containerCapture);
2061 FIXME(
"(%p)->(%d %d %p)\n",
This,
x,
y, component);
2071 if(!
This->node.doc->content_ready
2072 || !
This->node.doc->basedoc.doc_obj->in_place_active)
2308 nsres = nsIDOMHTMLElement_GetBoundingClientRect(
This->nselem, &nsrect);
2310 ERR(
"GetBoindingClientRect failed: %08x\n", nsres);
2316 nsIDOMClientRect_Release(nsrect);
2352 nsres = nsIDOMHTMLElement_SetTabIndex(
This->nselem,
v);
2354 ERR(
"GetTabIndex failed: %08x\n", nsres);
2367 nsres = nsIDOMHTMLElement_GetTabIndex(
This->nselem, &
index);
2369 ERR(
"GetTabIndex failed: %08x\n", nsres);
2384 nsres = nsIDOMHTMLElement_Focus(
This->nselem);
2386 ERR(
"Focus failed: %08x\n", nsres);
2396 static WCHAR accessKeyW[] = {
'a',
'c',
'c',
'e',
's',
's',
'K',
'e',
'y',0};
2402 return IHTMLElement_setAttribute(&
This->IHTMLElement_iface, accessKeyW,
var, 0);
2469 nsres = nsIDOMHTMLElement_Blur(
This->nselem);
2471 ERR(
"Blur failed: %08x\n", nsres);
2499 nsres = nsIDOMHTMLElement_GetClientHeight(
This->nselem,
p);
2511 nsres = nsIDOMHTMLElement_GetClientWidth(
This->nselem,
p);
2523 nsres = nsIDOMHTMLElement_GetClientTop(
This->nselem,
p);
2537 nsres = nsIDOMHTMLElement_GetClientLeft(
This->nselem,
p);
2570 if(
This->node.vtbl->get_readystate) {
2577 static const WCHAR completeW[] = {
'c',
'o',
'm',
'p',
'l',
'e',
't',
'e',0};
2658 FIXME(
"Unsupported for comment nodes.\n");
2663 nsres = nsIDOMHTMLElement_SetDir(
This->nselem, &nsstr);
2666 ERR(
"SetDir failed: %08x\n", nsres);
2687 nsres = nsIDOMHTMLElement_GetDir(
This->nselem, &dir_str);
2705 nsres = nsIDOMHTMLElement_GetScrollHeight(
This->nselem,
p);
2719 nsres = nsIDOMHTMLElement_GetScrollWidth(
This->nselem,
p);
2733 FIXME(
"NULL nselem\n");
2737 nsIDOMHTMLElement_SetScrollTop(
This->nselem,
v);
2748 nsres = nsIDOMHTMLElement_GetScrollTop(
This->nselem,
p);
2762 FIXME(
"NULL nselem\n");
2766 nsIDOMHTMLElement_SetScrollLeft(
This->nselem,
v);
2782 FIXME(
"NULL nselem\n");
2786 nsres = nsIDOMHTMLElement_GetScrollLeft(
This->nselem,
p);
2822 IHTMLElement *insertedElement, IHTMLElement **inserted)
2845 BSTR where, IHTMLElement **applied)
2899 if(!
This->runtime_style) {
2907 *
p = &
This->runtime_style->IHTMLStyle_iface;
2908 IHTMLStyle_AddRef(*
p);
2955 IHTMLElementCollection **pelColl)
2965 nsres = nsIDOMHTMLElement_GetElementsByTagName(
This->nselem, &tag_str, &nscol);
2968 ERR(
"GetElementByTagName failed: %08x\n", nsres);
2973 nsIDOMHTMLCollection_Release(nscol);
3094 return IHTMLElement_QueryInterface(&
This->IHTMLElement_iface,
riid,
ppv);
3100 return IHTMLElement_AddRef(&
This->IHTMLElement_iface);
3106 return IHTMLElement_Release(&
This->IHTMLElement_iface);
3112 return IDispatchEx_GetTypeInfoCount(&
This->node.event_target.dispex.IDispatchEx_iface, pctinfo);
3119 return IDispatchEx_GetTypeInfo(&
This->node.event_target.dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
3127 return IDispatchEx_GetIDsOfNames(&
This->node.event_target.dispex.IDispatchEx_iface,
riid, rgszNames, cNames,
3133 VARIANT *pVarResult, EXCEPINFO *pExcepInfo,
UINT *puArgErr)
3136 return IDispatchEx_Invoke(&
This->node.event_target.dispex.IDispatchEx_iface, dispIdMember,
riid, lcid,
3137 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
3143 FIXME(
"(%p)->(%p %p)\n",
This, mergeThis, pvarFlags);
3233 nsres = nsIDOMHTMLElement_SetContentEditable(
This->nselem, &
str);
3253 nsres = nsIDOMHTMLElement_GetContentEditable(
This->nselem, &
str);
3288 if(
This->node.vtbl->put_disabled)
3289 return This->node.vtbl->put_disabled(&
This->node,
v);
3309 if(
This->node.vtbl->get_disabled)
3310 return This->node.vtbl->get_disabled(&
This->node,
p);
3563 return IHTMLElement_QueryInterface(&
This->IHTMLElement_iface,
riid,
ppv);
3569 return IHTMLElement_AddRef(&
This->IHTMLElement_iface);
3575 return IHTMLElement_Release(&
This->IHTMLElement_iface);
3581 return IDispatchEx_GetTypeInfoCount(&
This->node.event_target.dispex.IDispatchEx_iface, pctinfo);
3588 return IDispatchEx_GetTypeInfo(&
This->node.event_target.dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
3595 return IDispatchEx_GetIDsOfNames(&
This->node.event_target.dispex.IDispatchEx_iface,
riid, rgszNames, cNames,
3603 return IDispatchEx_Invoke(&
This->node.event_target.dispex.IDispatchEx_iface, dispIdMember,
riid, lcid,
3604 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
3650 IHTMLDOMAttribute **ppretAttribute)
3653 FIXME(
"(%p)->(%p %p)\n",
This, pattr, ppretAttribute);
3658 IHTMLDOMAttribute **ppretAttribute)
3661 FIXME(
"(%p)->(%p %p)\n",
This, pattr, ppretAttribute);
3743 *
ppv = &
This->IHTMLElement_iface;
3745 *
ppv = &
This->IHTMLElement_iface;
3747 *
ppv = &
This->IHTMLElement_iface;
3749 *
ppv = &
This->IHTMLElement2_iface;
3751 *
ppv = &
This->IHTMLElement3_iface;
3753 *
ppv = &
This->IHTMLElement4_iface;
3755 *
ppv = &
This->cp_container.IConnectionPointContainer_iface;
3772 IHTMLStyle_Release(&
This->style->IHTMLStyle_iface);
3774 if(
This->runtime_style) {
3776 IHTMLStyle_Release(&
This->runtime_style->IHTMLStyle_iface);
3785 IHTMLAttributeCollection_Release(&
This->attrs->IHTMLAttributeCollection_iface);
3806 IHTMLElement_Release(&
This->IHTMLElement_iface);
3824 nsres = nsIDOMEvent_QueryInterface(
event, &IID_nsIDOMKeyEvent, (
void**)&
key_event);
3832 TRACE(
"F1 pressed\n");
3834 *prevent_default =
TRUE;
3871 if(
This->node.vtbl->get_dispid)
3883 if(
This->node.vtbl->invoke)
3884 return This->node.vtbl->invoke(&
This->node,
id, lcid,
flags,
3887 ERR(
"(%p): element has no invoke method\n",
This);
3909 nsres = nsIDOMHTMLElement_GetAttributes(
This->nselem, &attrs);
3913 nsres = nsIDOMMozNamedAttrMap_GetLength(attrs, &
len);
3915 nsIDOMMozNamedAttrMap_Release(attrs);
3921 nsres = nsIDOMMozNamedAttrMap_Item(attrs,
i, &
attr);
3925 nsres = nsIDOMAttr_GetNodeName(
attr, &nsstr);
3927 nsIDOMAttr_Release(
attr);
3934 nsIDOMAttr_Release(
attr);
3940 nsIDOMAttr_Release(
attr);
3945 nsres = nsIDOMAttr_GetNodeValue(
attr, &nsstr);
3946 nsIDOMAttr_Release(
attr);
3963 IHTMLElement_setAttribute(&
This->IHTMLElement_iface,
name,
value, 0);
3969 nsIDOMMozNamedAttrMap_Release(attrs);
3976 return This->node.vtbl->get_event_target_ptr
3977 ?
This->node.vtbl->get_event_target_ptr(&
This->node)
3978 : &
This->node.event_target.ptr;
3984 This->node.doc->node.event_target.dispex.data->vtbl->bind_event(&
This->node.doc->node.event_target.dispex, eid);
4003 DispHTMLUnknownElement_tid,
4015 if(dispex_data && !dispex_data->
vtbl)
4025 This->nselem = nselem;
4028 This->node.cp_container = &
This->cp_container;
4042 nsres = nsIDOMNode_QueryInterface(nsnode, &IID_nsIDOMHTMLElement, (
void**)&nselem);
4047 nsIDOMHTMLElement_GetTagName(nselem, &class_name_str);
4054 }
else if(use_generic) {
4069 nsIDOMHTMLElement_Release(nselem);
4099 *
ppv = &
This->IHTMLFiltersCollection_iface;
4101 TRACE(
"(%p)->(IID_IHTMLFiltersCollection %p)\n",
This,
ppv);
4102 *
ppv = &
This->IHTMLFiltersCollection_iface;
4143 return IDispatchEx_GetTypeInfoCount(&
This->dispex.IDispatchEx_iface, pctinfo);
4150 return IDispatchEx_GetTypeInfo(&
This->dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
4158 return IDispatchEx_GetIDsOfNames(&
This->dispex.IDispatchEx_iface,
riid, rgszNames, cNames,
4164 EXCEPINFO *pExcepInfo,
UINT *puArgErr)
4167 return IDispatchEx_Invoke(&
This->dispex.IDispatchEx_iface, dispIdMember,
riid, lcid,
4168 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
4178 FIXME(
"(%p)->(%p) Always returning 0\n",
This,
p);
4194 FIXME(
"(%p)->(%p, %p)\n",
This, pvarIndex, pvarResult);
4222 TRACE(
"ret %x\n", *dispid);
4234 FIXME(
"always returning NULL\n");
4247 IHTMLFiltersCollection_tid,
4252 IHTMLFiltersCollection_tid,
4267 return &
ret->IHTMLFiltersCollection_iface;
4283 *
ppv = &
This->IHTMLAttributeCollection_iface;
4285 *
ppv = &
This->IHTMLAttributeCollection_iface;
4287 *
ppv = &
This->IHTMLAttributeCollection2_iface;
4289 *
ppv = &
This->IHTMLAttributeCollection3_iface;
4325 IHTMLDOMAttribute_Release(&
attr->IHTMLDOMAttribute_iface);
4337 return IDispatchEx_GetTypeInfoCount(&
This->dispex.IDispatchEx_iface, pctinfo);
4344 return IDispatchEx_GetTypeInfo(&
This->dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
4351 return IDispatchEx_GetIDsOfNames(&
This->dispex.IDispatchEx_iface,
riid, rgszNames, cNames,
4357 VARIANT *pVarResult, EXCEPINFO *pExcepInfo,
UINT *puArgErr)
4360 return IDispatchEx_Invoke(&
This->dispex.IDispatchEx_iface, dispIdMember,
riid, lcid,
4361 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
4366 IDispatchEx *dispex = &
This->elem->node.event_target.dispex.IDispatchEx_iface;
4367 DISPID id = DISPID_STARTENUM;
4371 FIXME(
"filter non-enumerable attributes out\n");
4374 hres = IDispatchEx_GetNextDispID(dispex, fdexEnumAll,
id, &
id);
4411 WARN(
"NULL elem\n");
4415 hres = IDispatchEx_GetDispID(&
This->elem->node.event_target.dispex.IDispatchEx_iface,
4416 name, fdexNameCaseInsensitive,
id);
4437 WARN(
"NULL elem\n");
4446 IHTMLDOMAttribute_AddRef(&(*attr)->IHTMLDOMAttribute_iface);
4525 return IHTMLAttributeCollection_QueryInterface(&
This->IHTMLAttributeCollection_iface,
riid,
ppv);
4531 return IHTMLAttributeCollection_AddRef(&
This->IHTMLAttributeCollection_iface);
4537 return IHTMLAttributeCollection_Release(&
This->IHTMLAttributeCollection_iface);
4543 return IDispatchEx_GetTypeInfoCount(&
This->dispex.IDispatchEx_iface, pctinfo);
4550 return IDispatchEx_GetTypeInfo(&
This->dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
4557 return IDispatchEx_GetIDsOfNames(&
This->dispex.IDispatchEx_iface,
riid, rgszNames, cNames,
4563 VARIANT *pVarResult, EXCEPINFO *pExcepInfo,
UINT *puArgErr)
4566 return IDispatchEx_Invoke(&
This->dispex.IDispatchEx_iface, dispIdMember,
riid, lcid,
4567 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
4571 IHTMLDOMAttribute **newretNode)
4592 *newretNode = &
attr->IHTMLDOMAttribute_iface;
4597 IHTMLDOMAttribute *ppNode, IHTMLDOMAttribute **newretNode)
4600 FIXME(
"(%p)->(%p %p)\n",
This, ppNode, newretNode);
4605 BSTR bstrName, IHTMLDOMAttribute **newretNode)
4633 return IHTMLAttributeCollection_QueryInterface(&
This->IHTMLAttributeCollection_iface,
riid,
ppv);
4639 return IHTMLAttributeCollection_AddRef(&
This->IHTMLAttributeCollection_iface);
4645 return IHTMLAttributeCollection_Release(&
This->IHTMLAttributeCollection_iface);
4651 return IDispatchEx_GetTypeInfoCount(&
This->dispex.IDispatchEx_iface, pctinfo);
4658 return IDispatchEx_GetTypeInfo(&
This->dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
4665 return IDispatchEx_GetIDsOfNames(&
This->dispex.IDispatchEx_iface,
riid, rgszNames, cNames,
4671 VARIANT *pVarResult, EXCEPINFO *pExcepInfo,
UINT *puArgErr)
4674 return IDispatchEx_Invoke(&
This->dispex.IDispatchEx_iface, dispIdMember,
riid, lcid,
4675 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
4679 IHTMLDOMAttribute **ppNodeOut)
4682 return IHTMLAttributeCollection2_getNamedItem(&
This->IHTMLAttributeCollection2_iface, bstrName, ppNodeOut);
4686 IHTMLDOMAttribute *pNodeIn, IHTMLDOMAttribute **ppNodeOut)
4689 FIXME(
"(%p)->(%p %p)\n",
This, pNodeIn, ppNodeOut);
4694 BSTR bstrName, IHTMLDOMAttribute **ppNodeOut)
4720 *ppNodeOut = &
attr->IHTMLDOMAttribute_iface;
4727 return IHTMLAttributeCollection_get_length(&
This->IHTMLAttributeCollection_iface,
p);
4766 IHTMLDOMAttribute_Release(&
attr->IHTMLDOMAttribute_iface);
4796 WARN(
"invalid arg\n");
4814 IHTMLAttributeCollection_tid,
4815 IHTMLAttributeCollection2_tid,
4816 IHTMLAttributeCollection3_tid,
4822 DispHTMLAttributeCollection_tid,
4832 IHTMLAttributeCollection_AddRef(&
This->attrs->IHTMLAttributeCollection_iface);
4844 This->attrs->ref = 2;
static void * heap_alloc(size_t len)
static BOOL heap_free(void *mem)
#define InterlockedIncrement
#define InterlockedDecrement
static void list_remove(struct list_entry *entry)
static int list_empty(struct list_entry *head)
static void list_init(struct list_entry *head)
static WCHAR * heap_strdupW(const WCHAR *str)
void ConnectionPointContainer_Destroy(ConnectionPointContainer *This)
void ConnectionPointContainer_Init(ConnectionPointContainer *This, IUnknown *impl)
const char * debugstr_mshtml_guid(const GUID *iid)
static void *static void *static LPDIRECTPLAY IUnknown * pUnk
GLint GLint GLint GLint GLint x
GLint GLint GLint GLint GLint GLint y
GLdouble GLdouble GLdouble r
GLdouble GLdouble GLdouble GLdouble top
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 HTMLAnchorElement_Create(HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, HTMLElement **elem)
HRESULT HTMLAreaElement_Create(HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, HTMLElement **elem)
HRESULT HTMLDOMAttribute_Create(const WCHAR *name, HTMLElement *elem, DISPID dispid, HTMLDOMAttribute **attr)
HRESULT HTMLBodyElement_Create(HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, HTMLElement **elem)
HRESULT HTMLCurrentStyle_Create(HTMLElement *elem, IHTMLCurrentStyle **p)
static HRESULT WINAPI HTMLElement4_put_onbeforeactivate(IHTMLElement4 *iface, VARIANT v)
static HRESULT WINAPI HTMLElement_get_onkeydown(IHTMLElement *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement3_put_oncontrolselect(IHTMLElement3 *iface, VARIANT v)
HRESULT elem_string_attr_getter(HTMLElement *elem, const WCHAR *name, BOOL use_null, BSTR *p)
static HRESULT WINAPI HTMLElement_getAttribute(IHTMLElement *iface, BSTR strAttributeName, LONG lFlags, VARIANT *AttributeValue)
static ULONG WINAPI HTMLRect_AddRef(IHTMLRect *iface)
static HRESULT WINAPI HTMLElement3_put_contentEditable(IHTMLElement3 *iface, BSTR v)
static HRESULT WINAPI HTMLElement_get_onkeyup(IHTMLElement *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement_put_title(IHTMLElement *iface, BSTR v)
static HRESULT WINAPI HTMLFiltersCollection_GetTypeInfoCount(IHTMLFiltersCollection *iface, UINT *pctinfo)
static const WCHAR linkW[]
static HRESULT WINAPI HTMLElement_put_innerHTML(IHTMLElement *iface, BSTR v)
nsresult get_elem_attr_value(nsIDOMHTMLElement *nselem, const WCHAR *name, nsAString *val_str, const PRUnichar **val)
static HRESULT WINAPI HTMLElement_click(IHTMLElement *iface)
static HRESULT WINAPI HTMLRect_GetTypeInfoCount(IHTMLRect *iface, UINT *pctinfo)
static ULONG WINAPI HTMLAttributeCollection_AddRef(IHTMLAttributeCollection *iface)
static const tag_desc_t * get_tag_desc(const WCHAR *tag_name)
static HRESULT WINAPI HTMLElement_toString(IHTMLElement *iface, BSTR *String)
static HRESULT WINAPI HTMLAttributeCollection2_setNamedItem(IHTMLAttributeCollection2 *iface, IHTMLDOMAttribute *ppNode, IHTMLDOMAttribute **newretNode)
static HRESULT WINAPI HTMLRect_Invoke(IHTMLRect *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static ULONG WINAPI HTMLAttributeCollection3_AddRef(IHTMLAttributeCollection3 *iface)
static HRESULT WINAPI HTMLAttributeCollection_QueryInterface(IHTMLAttributeCollection *iface, REFIID riid, void **ppv)
static HRESULT WINAPI HTMLElement_put_onclick(IHTMLElement *iface, VARIANT v)
static HRESULT WINAPI HTMLElement_get_parentTextEdit(IHTMLElement *iface, IHTMLElement **p)
static HRESULT WINAPI HTMLElement2_put_oncopy(IHTMLElement2 *iface, VARIANT v)
static HRESULT WINAPI HTMLElement3_put_onmousecenter(IHTMLElement3 *iface, VARIANT v)
static HRESULT WINAPI HTMLRect_QueryInterface(IHTMLRect *iface, REFIID riid, void **ppv)
static const dispex_static_data_vtbl_t HTMLAttributeCollection_dispex_vtbl
static HTMLFiltersCollection * impl_from_IHTMLFiltersCollection(IHTMLFiltersCollection *iface)
static HRESULT WINAPI HTMLElement2_put_oncut(IHTMLElement2 *iface, VARIANT v)
static const tid_t HTMLFiltersCollection_iface_tids[]
static HRESULT WINAPI HTMLElement_get_language(IHTMLElement *iface, BSTR *p)
static HRESULT WINAPI HTMLElement3_get_glyphMode(IHTMLElement3 *iface, LONG *p)
static HRESULT WINAPI HTMLElement_get_children(IHTMLElement *iface, IDispatch **p)
static const WCHAR languageW[]
static HRESULT WINAPI HTMLElement2_get_ondragend(IHTMLElement2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement4_QueryInterface(IHTMLElement4 *iface, REFIID riid, void **ppv)
static HRESULT WINAPI HTMLRect_get_top(IHTMLRect *iface, LONG *p)
static HRESULT WINAPI HTMLElement_put_onrowexit(IHTMLElement *iface, VARIANT v)
static HRESULT WINAPI HTMLElement3_get_onlayoutcomplete(IHTMLElement3 *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement2_get_scrollWidth(IHTMLElement2 *iface, LONG *p)
static HRESULT WINAPI HTMLElement2_insertAdjacentElement(IHTMLElement2 *iface, BSTR where, IHTMLElement *insertedElement, IHTMLElement **inserted)
static HRESULT WINAPI HTMLElement_get_offsetParent(IHTMLElement *iface, IHTMLElement **p)
static HRESULT WINAPI HTMLElement_get_lang(IHTMLElement *iface, BSTR *p)
static HRESULT WINAPI HTMLElement_GetTypeInfo(IHTMLElement *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static HRESULT WINAPI HTMLElement_put_onhelp(IHTMLElement *iface, VARIANT v)
static HRESULT WINAPI HTMLElement4_put_onmousewheel(IHTMLElement4 *iface, VARIANT v)
static HRESULT WINAPI HTMLElement_get_filters(IHTMLElement *iface, IHTMLFiltersCollection **p)
static HRESULT WINAPI HTMLElement3_get_onmove(IHTMLElement3 *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement2_put_ondrag(IHTMLElement2 *iface, VARIANT v)
static HRESULT WINAPI HTMLElement_put_onselectstart(IHTMLElement *iface, VARIANT v)
static HRESULT WINAPI HTMLElement3_get_hideFocus(IHTMLElement3 *iface, VARIANT_BOOL *p)
static const tid_t HTMLAttributeCollection_iface_tids[]
static HRESULT WINAPI HTMLElement2_Invoke(IHTMLElement2 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static const WCHAR selectW[]
static HRESULT WINAPI HTMLElement2_get_onpropertychange(IHTMLElement2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement3_put_onbeforedeactivate(IHTMLElement3 *iface, VARIANT v)
static HRESULT WINAPI HTMLElement3_put_onlayoutcomplete(IHTMLElement3 *iface, VARIANT v)
static HRESULT WINAPI HTMLAttributeCollection3_QueryInterface(IHTMLAttributeCollection3 *iface, REFIID riid, void **ppv)
static HRESULT WINAPI HTMLElement2_get_readyState(IHTMLElement2 *iface, VARIANT *p)
static dispex_static_data_t HTMLFiltersCollection_dispex
static HRESULT WINAPI HTMLAttributeCollection2_GetTypeInfoCount(IHTMLAttributeCollection2 *iface, UINT *pctinfo)
HRESULT replace_node_by_html(nsIDOMHTMLDocument *nsdoc, nsIDOMNode *nsnode, const WCHAR *html)
static HTMLAttributeCollection * impl_from_IHTMLAttributeCollection2(IHTMLAttributeCollection2 *iface)
static HTMLAttributeCollection * HTMLAttributeCollection_from_DispatchEx(DispatchEx *iface)
static const WCHAR embedW[]
static HRESULT WINAPI HTMLElement4_GetTypeInfoCount(IHTMLElement4 *iface, UINT *pctinfo)
static const WCHAR optionW[]
static HRESULT WINAPI HTMLElement4_put_onfocusin(IHTMLElement4 *iface, VARIANT v)
static HRESULT WINAPI HTMLElement_put_onmousedown(IHTMLElement *iface, VARIANT v)
static HRESULT WINAPI HTMLElement_put_className(IHTMLElement *iface, BSTR v)
static HRESULT WINAPI HTMLElement2_get_onbeforecut(IHTMLElement2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement_get_onmousemove(IHTMLElement *iface, VARIANT *p)
static ULONG WINAPI HTMLElement4_Release(IHTMLElement4 *iface)
static HRESULT WINAPI HTMLRect_put_bottom(IHTMLRect *iface, LONG v)
static HRESULT WINAPI HTMLElement3_put_ondeactivate(IHTMLElement3 *iface, VARIANT v)
static HRESULT WINAPI HTMLElement2_GetTypeInfoCount(IHTMLElement2 *iface, UINT *pctinfo)
static HRESULT WINAPI HTMLElement3_get_disabled(IHTMLElement3 *iface, VARIANT_BOOL *p)
static HRESULT WINAPI HTMLElement_scrollIntoView(IHTMLElement *iface, VARIANT varargStart)
static HRESULT WINAPI HTMLElement2_put_onbeforeeditfocus(IHTMLElement2 *iface, VARIANT vv)
static HRESULT WINAPI HTMLElement2_put_accessKey(IHTMLElement2 *iface, BSTR v)
static HRESULT WINAPI HTMLElement2_get_scopeName(IHTMLElement2 *iface, BSTR *p)
static HRESULT WINAPI HTMLElement2_componentFromPoint(IHTMLElement2 *iface, LONG x, LONG y, BSTR *component)
HRESULT HTMLElement_clone(HTMLDOMNode *iface, nsIDOMNode *nsnode, HTMLDOMNode **ret)
static HRESULT WINAPI HTMLElement_GetTypeInfoCount(IHTMLElement *iface, UINT *pctinfo)
static HRESULT WINAPI HTMLElement2_put_onrowsinserted(IHTMLElement2 *iface, VARIANT v)
static const WCHAR formW[]
static const dispex_static_data_vtbl_t HTMLFiltersCollection_dispex_vtbl
HRESULT HTMLElement_Create(HTMLDocumentNode *doc, nsIDOMNode *nsnode, BOOL use_generic, HTMLElement **ret)
static HRESULT WINAPI HTMLElement2_put_onrowsdelete(IHTMLElement2 *iface, VARIANT v)
void HTMLElement_destructor(HTMLDOMNode *iface)
static HRESULT WINAPI HTMLElement_get_onkeypress(IHTMLElement *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement_get_onmouseout(IHTMLElement *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement_put_ondragstart(IHTMLElement *iface, VARIANT v)
static HRESULT WINAPI HTMLAttributeCollection3_Invoke(IHTMLAttributeCollection3 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static HRESULT WINAPI HTMLAttributeCollection2_GetIDsOfNames(IHTMLAttributeCollection2 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI HTMLElement2_removeExpression(IHTMLElement2 *iface, BSTR propname, VARIANT_BOOL *pfSuccess)
static HRESULT WINAPI HTMLElement2_get_onpaste(IHTMLElement2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement2_createControlRange(IHTMLElement2 *iface, IDispatch **range)
cp_static_data_t HTMLElementEvents2_data
static HRESULT WINAPI HTMLElement_get_outerText(IHTMLElement *iface, BSTR *p)
static HRESULT WINAPI HTMLElement2_get_readyStateValue(IHTMLElement2 *iface, LONG *p)
static HRESULT WINAPI HTMLElement4_get_onbeforeactivate(IHTMLElement4 *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement_get_ondblclick(IHTMLElement *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement2_GetIDsOfNames(IHTMLElement2 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI HTMLAttributeCollection_GetTypeInfo(IHTMLAttributeCollection *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static HRESULT WINAPI HTMLAttributeCollection2_QueryInterface(IHTMLAttributeCollection2 *iface, REFIID riid, void **ppv)
static HRESULT WINAPI HTMLElement2_get_clientTop(IHTMLElement2 *iface, LONG *p)
static HRESULT WINAPI HTMLElement2_put_oncellchange(IHTMLElement2 *iface, VARIANT v)
static HRESULT WINAPI HTMLElement2_get_ondragleave(IHTMLElement2 *iface, VARIANT *p)
static ULONG WINAPI HTMLFiltersCollection_Release(IHTMLFiltersCollection *iface)
HRESULT HTMLElement_handle_event(HTMLDOMNode *iface, DWORD eid, nsIDOMEvent *event, BOOL *prevent_default)
static HRESULT WINAPI HTMLElement3_put_onactivate(IHTMLElement3 *iface, VARIANT v)
static HRESULT WINAPI HTMLElement2_put_onbeforepaste(IHTMLElement2 *iface, VARIANT v)
static HRESULT WINAPI HTMLElement4_get_onmousewheel(IHTMLElement4 *iface, VARIANT *p)
static HRESULT WINAPI HTMLAttributeCollection_item(IHTMLAttributeCollection *iface, VARIANT *name, IDispatch **ppItem)
static const IHTMLFiltersCollectionVtbl HTMLFiltersCollectionVtbl
static HRESULT WINAPI HTMLAttributeCollection2_Invoke(IHTMLAttributeCollection2 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static HRESULT WINAPI HTMLElement4_setAttributeNode(IHTMLElement4 *iface, IHTMLDOMAttribute *pattr, IHTMLDOMAttribute **ppretAttribute)
static HRESULT WINAPI HTMLElement2_get_ondragenter(IHTMLElement2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement2_get_ondrop(IHTMLElement2 *iface, VARIANT *p)
static const IHTMLRectVtbl HTMLRectVtbl
HRESULT get_elem_attr_value_by_dispid(HTMLElement *elem, DISPID dispid, DWORD flags, VARIANT *ret)
static HRESULT WINAPI HTMLRect_get_left(IHTMLRect *iface, LONG *p)
static HRESULT WINAPI HTMLElement3_put_hideFocus(IHTMLElement3 *iface, VARIANT_BOOL v)
static HRESULT WINAPI HTMLElement3_put_onmouseleave(IHTMLElement3 *iface, VARIANT v)
static HTMLAttributeCollection * impl_from_IHTMLAttributeCollection(IHTMLAttributeCollection *iface)
static HRESULT WINAPI HTMLAttributeCollection3_get_length(IHTMLAttributeCollection3 *iface, LONG *p)
static HRESULT WINAPI HTMLElement2_put_onbeforecut(IHTMLElement2 *iface, VARIANT v)
static HRESULT WINAPI HTMLElement_get_ondataavailable(IHTMLElement *iface, VARIANT *p)
static ULONG WINAPI HTMLElement4_AddRef(IHTMLElement4 *iface)
static HRESULT WINAPI HTMLElement3_put_onmove(IHTMLElement3 *iface, VARIANT v)
static HRESULT WINAPI HTMLElement_get_onmouseup(IHTMLElement *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement3_get_onresizeend(IHTMLElement3 *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement3_put_onresizestart(IHTMLElement3 *iface, VARIANT v)
static HRESULT WINAPI HTMLElement2_get_clientWidth(IHTMLElement2 *iface, LONG *p)
static dispex_static_data_vtbl_t HTMLElement_dispex_vtbl
static HRESULT WINAPI HTMLElement2_replaceAdjacentText(IHTMLElement2 *iface, BSTR where, BSTR newText, BSTR *oldText)
static const WCHAR metaW[]
static const WCHAR titleW[]
static HRESULT WINAPI HTMLAttributeCollection_GetIDsOfNames(IHTMLAttributeCollection *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI HTMLElement3_get_isMultiLine(IHTMLElement3 *iface, VARIANT_BOOL *p)
static HRESULT WINAPI HTMLElement2_QueryInterface(IHTMLElement2 *iface, REFIID riid, void **ppv)
static HRESULT WINAPI HTMLElement3_GetTypeInfo(IHTMLElement3 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static HRESULT WINAPI HTMLAttributeCollection__newEnum(IHTMLAttributeCollection *iface, IUnknown **p)
static HRESULT WINAPI HTMLFiltersCollection_GetTypeInfo(IHTMLFiltersCollection *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static HRESULT WINAPI HTMLElement_put_ondatasetcomplete(IHTMLElement *iface, VARIANT v)
static HRESULT WINAPI HTMLElement3_put_onresizeend(IHTMLElement3 *iface, VARIANT v)
static HRESULT WINAPI HTMLElement3_GetIDsOfNames(IHTMLElement3 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI HTMLElement2_get_oncontextmenu(IHTMLElement2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLAttributeCollection3_setNamedItem(IHTMLAttributeCollection3 *iface, IHTMLDOMAttribute *pNodeIn, IHTMLDOMAttribute **ppNodeOut)
static HRESULT WINAPI HTMLElement_get_onrowexit(IHTMLElement *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement2_get_onlosecapture(IHTMLElement2 *iface, VARIANT *p)
HRESULT elem_string_attr_setter(HTMLElement *elem, const WCHAR *name, const WCHAR *value)
static const IHTMLAttributeCollection2Vtbl HTMLAttributeCollection2Vtbl
static const IHTMLElement2Vtbl HTMLElement2Vtbl
static HRESULT WINAPI HTMLElement_put_onbeforeupdate(IHTMLElement *iface, VARIANT v)
static HRESULT WINAPI HTMLElement_put_onmouseover(IHTMLElement *iface, VARIANT v)
static HRESULT WINAPI HTMLElement_put_ondblclick(IHTMLElement *iface, VARIANT v)
static HRESULT HTMLElement_invoke(DispatchEx *dispex, DISPID id, LCID lcid, WORD flags, DISPPARAMS *params, VARIANT *res, EXCEPINFO *ei, IServiceProvider *caller)
static HRESULT WINAPI HTMLElement_put_onkeydown(IHTMLElement *iface, VARIANT v)
static HRESULT HTMLFiltersCollection_invoke(DispatchEx *dispex, DISPID id, LCID lcid, WORD flags, DISPPARAMS *params, VARIANT *res, EXCEPINFO *ei, IServiceProvider *caller)
static HRESULT WINAPI HTMLElement_get_offsetHeight(IHTMLElement *iface, LONG *p)
static HRESULT WINAPI HTMLElement3_get_onmousecenter(IHTMLElement3 *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement2_attachEvent(IHTMLElement2 *iface, BSTR event, IDispatch *pDisp, VARIANT_BOOL *pfResult)
static const WCHAR buttonW[]
static ULONG WINAPI HTMLElement_AddRef(IHTMLElement *iface)
static HRESULT WINAPI HTMLElement_get_all(IHTMLElement *iface, IDispatch **p)
static const IHTMLElement3Vtbl HTMLElement3Vtbl
static HRESULT WINAPI HTMLElement2_get_accessKey(IHTMLElement2 *iface, BSTR *p)
static HRESULT WINAPI HTMLElement2_getBoundingClientRect(IHTMLElement2 *iface, IHTMLRect **pRect)
static HRESULT WINAPI HTMLElement3_get_onpage(IHTMLElement3 *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement_get_ondatasetcomplete(IHTMLElement *iface, VARIANT *p)
static HRESULT WINAPI HTMLRect_GetIDsOfNames(IHTMLRect *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI HTMLElement2_get_oncopy(IHTMLElement2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement3_put_onpage(IHTMLElement3 *iface, VARIANT v)
static HRESULT WINAPI HTMLElement_get_recordNumber(IHTMLElement *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement3_get_canHaveHTML(IHTMLElement3 *iface, VARIANT_BOOL *p)
static dispex_static_data_t HTMLAttributeCollection_dispex
static HRESULT WINAPI HTMLElement2_put_onpaste(IHTMLElement2 *iface, VARIANT v)
static HTMLElement * impl_from_DispatchEx(DispatchEx *iface)
static const WCHAR scriptW[]
static HRESULT WINAPI HTMLElement2_put_onblur(IHTMLElement2 *iface, VARIANT v)
const cpc_entry_t HTMLElement_cpc[]
static const WCHAR tableW[]
HRESULT get_readystate_string(READYSTATE readystate, BSTR *p)
static HRESULT WINAPI HTMLElement2_getClientRects(IHTMLElement2 *iface, IHTMLRectCollection **pRectCol)
static HRESULT WINAPI HTMLElement3_put_onmovestart(IHTMLElement3 *iface, VARIANT v)
static HRESULT get_domattr(HTMLAttributeCollection *This, DISPID id, LONG *list_pos, HTMLDOMAttribute **attr)
static HRESULT WINAPI HTMLElement2_put_tagUrn(IHTMLElement2 *iface, BSTR v)
static HRESULT WINAPI HTMLElement2_put_oncontextmenu(IHTMLElement2 *iface, VARIANT v)
static HRESULT WINAPI HTMLElement_removeAttribute(IHTMLElement *iface, BSTR strAttributeName, LONG lFlags, VARIANT_BOOL *pfSuccess)
static HRESULT WINAPI HTMLElement2_get_onbeforepaste(IHTMLElement2 *iface, VARIANT *p)
static HTMLElement * impl_from_IHTMLElement3(IHTMLElement3 *iface)
static HRESULT WINAPI HTMLFiltersCollection_get_length(IHTMLFiltersCollection *iface, LONG *p)
static HRESULT WINAPI HTMLAttributeCollection3_GetTypeInfoCount(IHTMLAttributeCollection3 *iface, UINT *pctinfo)
HTMLElement * unsafe_impl_from_IHTMLElement(IHTMLElement *iface)
static HRESULT WINAPI HTMLElement3_get_onmoveend(IHTMLElement3 *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement_get_parentElement(IHTMLElement *iface, IHTMLElement **p)
static HRESULT WINAPI HTMLElement_get_offsetLeft(IHTMLElement *iface, LONG *p)
static HRESULT WINAPI HTMLElement_put_onkeyup(IHTMLElement *iface, VARIANT v)
static HRESULT WINAPI HTMLElement2_get_onblur(IHTMLElement2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement2_get_onbeforecopy(IHTMLElement2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement2_get_tagUrn(IHTMLElement2 *iface, BSTR *p)
static HRESULT WINAPI HTMLElement2_put_onfocus(IHTMLElement2 *iface, VARIANT v)
static HRESULT WINAPI HTMLElement2_get_dir(IHTMLElement2 *iface, BSTR *p)
static HRESULT WINAPI HTMLAttributeCollection_GetTypeInfoCount(IHTMLAttributeCollection *iface, UINT *pctinfo)
static event_target_t ** HTMLElement_get_event_target_ptr(DispatchEx *dispex)
static void HTMLElement_bind_event(DispatchEx *dispex, int eid)
static HRESULT WINAPI HTMLElement_get_title(IHTMLElement *iface, BSTR *p)
static HRESULT WINAPI HTMLElement_insertAdjacentText(IHTMLElement *iface, BSTR where, BSTR text)
static HRESULT WINAPI HTMLElement3_get_inflateBlock(IHTMLElement3 *iface, VARIANT_BOOL *p)
static HRESULT WINAPI HTMLElement2_focus(IHTMLElement2 *iface)
static const WCHAR frameW[]
static HRESULT WINAPI HTMLFiltersCollection_item(IHTMLFiltersCollection *iface, VARIANT *pvarIndex, VARIANT *pvarResult)
static HRESULT WINAPI HTMLFiltersCollection_Invoke(IHTMLFiltersCollection *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static HRESULT WINAPI HTMLElement_put_outerText(IHTMLElement *iface, BSTR v)
static HTMLAttributeCollection * impl_from_IHTMLAttributeCollection3(IHTMLAttributeCollection3 *iface)
static HRESULT WINAPI HTMLElement2_get_behaviorUrns(IHTMLElement2 *iface, IDispatch **p)
static HRESULT HTMLElement_populate_props(DispatchEx *dispex)
static HRESULT WINAPI HTMLElement2_put_ondragend(IHTMLElement2 *iface, VARIANT v)
static HRESULT WINAPI HTMLElement_get_className(IHTMLElement *iface, BSTR *p)
static HRESULT WINAPI HTMLElement_get_onrowenter(IHTMLElement *iface, VARIANT *p)
void HTMLElement_Init(HTMLElement *This, HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, dispex_static_data_t *dispex_data)
static HRESULT WINAPI HTMLElement2_get_ondragover(IHTMLElement2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement4_put_onfocusout(IHTMLElement4 *iface, VARIANT v)
static const WCHAR imgW[]
static HRESULT WINAPI HTMLAttributeCollection3_GetIDsOfNames(IHTMLAttributeCollection3 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT HTMLFiltersCollection_get_dispid(DispatchEx *dispex, BSTR name, DWORD flags, DISPID *dispid)
static HTMLElement * impl_from_IHTMLElement(IHTMLElement *iface)
static HRESULT WINAPI HTMLElement_get_onmousedown(IHTMLElement *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement_put_lang(IHTMLElement *iface, BSTR v)
static HRESULT WINAPI HTMLElement2_get_scrollHeight(IHTMLElement2 *iface, LONG *p)
static HRESULT WINAPI HTMLElement_put_onfilterchange(IHTMLElement *iface, VARIANT v)
static const WCHAR disabledW[]
static HRESULT WINAPI HTMLElement2_put_dir(IHTMLElement2 *iface, BSTR v)
static HRESULT WINAPI HTMLElement2_get_scrollTop(IHTMLElement2 *iface, LONG *p)
static dispex_static_data_t HTMLElement_dispex
static HRESULT WINAPI HTMLElement_setAttribute(IHTMLElement *iface, BSTR strAttributeName, VARIANT AttributeValue, LONG lFlags)
static const WCHAR textareaW[]
static ULONG WINAPI HTMLAttributeCollection2_Release(IHTMLAttributeCollection2 *iface)
static HRESULT WINAPI HTMLElement4_removeAttributeNode(IHTMLElement4 *iface, IHTMLDOMAttribute *pattr, IHTMLDOMAttribute **ppretAttribute)
static HRESULT WINAPI HTMLElement_get_offsetTop(IHTMLElement *iface, LONG *p)
static HRESULT WINAPI HTMLElement_Invoke(IHTMLElement *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static HRESULT WINAPI HTMLElement_QueryInterface(IHTMLElement *iface, REFIID riid, void **ppv)
static HRESULT WINAPI HTMLElement3_get_contentEditable(IHTMLElement3 *iface, BSTR *p)
static const IHTMLAttributeCollectionVtbl HTMLAttributeCollectionVtbl
static ULONG WINAPI HTMLElement3_Release(IHTMLElement3 *iface)
static HRESULT WINAPI HTMLElement2_get_tabIndex(IHTMLElement2 *iface, short *p)
static HRESULT WINAPI HTMLElement4_get_onfocusin(IHTMLElement4 *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement_put_onmouseup(IHTMLElement *iface, VARIANT v)
static HRESULT WINAPI HTMLElement3_QueryInterface(IHTMLElement3 *iface, REFIID riid, void **ppv)
static HRESULT WINAPI HTMLElement2_removeFilter(IHTMLElement2 *iface, IUnknown *pUnk)
static HRESULT WINAPI HTMLElement_put_onerrorupdate(IHTMLElement *iface, VARIANT v)
static HRESULT WINAPI HTMLElement_contains(IHTMLElement *iface, IHTMLElement *pChild, VARIANT_BOOL *pfResult)
static HRESULT WINAPI HTMLRect_put_right(IHTMLRect *iface, LONG v)
static HRESULT WINAPI HTMLRect_get_bottom(IHTMLRect *iface, LONG *p)
static HRESULT WINAPI HTMLElement2_setExpression(IHTMLElement2 *iface, BSTR propname, BSTR expression, BSTR language)
static HRESULT WINAPI HTMLElement2_get_clientHeight(IHTMLElement2 *iface, LONG *p)
static HRESULT WINAPI HTMLElement2_get_onrowsinserted(IHTMLElement2 *iface, VARIANT *p)
static IHTMLFiltersCollection * HTMLFiltersCollection_Create(void)
static HRESULT WINAPI HTMLElement2_get_onrowsdelete(IHTMLElement2 *iface, VARIANT *p)
static HRESULT create_html_rect(nsIDOMClientRect *nsrect, IHTMLRect **ret)
static HRESULT WINAPI HTMLElement3_get_ondeactivate(IHTMLElement3 *iface, VARIANT *p)
static ULONG WINAPI HTMLRect_Release(IHTMLRect *iface)
static const WCHAR iframeW[]
static const WCHAR inputW[]
static HRESULT WINAPI HTMLElement2_get_onfocus(IHTMLElement2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLAttributeCollection_get_length(IHTMLAttributeCollection *iface, LONG *p)
static HRESULT WINAPI HTMLElement4_get_onfocusout(IHTMLElement4 *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement2_put_onresize(IHTMLElement2 *iface, VARIANT v)
static HRESULT WINAPI HTMLElement3_get_onmouseleave(IHTMLElement3 *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement2_removeBehavior(IHTMLElement2 *iface, LONG cookie, VARIANT_BOOL *pfResult)
static HRESULT WINAPI HTMLElement2_GetTypeInfo(IHTMLElement2 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static HRESULT WINAPI HTMLAttributeCollection3_GetTypeInfo(IHTMLAttributeCollection3 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static HRESULT WINAPI HTMLElement_get_ondatasetchanged(IHTMLElement *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement2_put_onpropertychange(IHTMLElement2 *iface, VARIANT v)
static HRESULT WINAPI HTMLElement4_normalize(IHTMLElement4 *iface)
static HRESULT WINAPI HTMLFiltersCollection_QueryInterface(IHTMLFiltersCollection *iface, REFIID riid, void **ppv)
static HRESULT WINAPI HTMLAttributeCollection3_getNamedItem(IHTMLAttributeCollection3 *iface, BSTR bstrName, IHTMLDOMAttribute **ppNodeOut)
static HRESULT WINAPI HTMLElement_get_onselectstart(IHTMLElement *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement4_GetTypeInfo(IHTMLElement4 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static HRESULT WINAPI HTMLElement2_get_onscroll(IHTMLElement2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement2_put_onbeforecopy(IHTMLElement2 *iface, VARIANT v)
static HRESULT WINAPI HTMLElement_put_onmouseout(IHTMLElement *iface, VARIANT v)
static HRESULT WINAPI HTMLElement2_put_ondrop(IHTMLElement2 *iface, VARIANT v)
static HRESULT WINAPI HTMLElement2_get_onreadystatechange(IHTMLElement2 *iface, VARIANT *p)
static const tag_desc_t tag_descs[]
static HRESULT WINAPI HTMLElement_put_language(IHTMLElement *iface, BSTR v)
static const IHTMLAttributeCollection3Vtbl HTMLAttributeCollection3Vtbl
static HRESULT WINAPI HTMLFiltersCollection_get__newEnum(IHTMLFiltersCollection *iface, IUnknown **p)
static HRESULT WINAPI HTMLElement3_get_oncontrolselect(IHTMLElement3 *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement2_get_oncut(IHTMLElement2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement3_setActive(IHTMLElement3 *iface)
static ULONG WINAPI HTMLElement3_AddRef(IHTMLElement3 *iface)
static ULONG WINAPI HTMLFiltersCollection_AddRef(IHTMLFiltersCollection *iface)
static HRESULT WINAPI HTMLElement2_put_onreadystatechange(IHTMLElement2 *iface, VARIANT v)
static HRESULT WINAPI HTMLElement3_get_onmovestart(IHTMLElement3 *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement2_blur(IHTMLElement2 *iface)
static HRESULT WINAPI HTMLElement2_put_ondragover(IHTMLElement2 *iface, VARIANT v)
static HRESULT WINAPI HTMLElement2_getExpression(IHTMLElement2 *iface, BSTR propname, VARIANT *expression)
HRESULT HTMLElement_get_attr_col(HTMLDOMNode *iface, HTMLAttributeCollection **ac)
static HRESULT WINAPI HTMLElement_get_outerHTML(IHTMLElement *iface, BSTR *p)
static HRESULT WINAPI HTMLElement3_put_disabled(IHTMLElement3 *iface, VARIANT_BOOL v)
static HRESULT WINAPI HTMLElement2_doScroll(IHTMLElement2 *iface, VARIANT component)
static HRESULT WINAPI HTMLElement2_releaseCapture(IHTMLElement2 *iface)
HRESULT HTMLElement_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
static HRESULT WINAPI HTMLElement2_put_ondragleave(IHTMLElement2 *iface, VARIANT v)
static HRESULT WINAPI HTMLElement_get_onfilterchange(IHTMLElement *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement2_put_onlosecapture(IHTMLElement2 *iface, VARIANT v)
static HRESULT WINAPI HTMLElement_get_onafterupdate(IHTMLElement *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement2_get_canHandleChildren(IHTMLElement2 *iface, VARIANT_BOOL *p)
static HRESULT WINAPI HTMLElement2_get_clientLeft(IHTMLElement2 *iface, LONG *p)
static HRESULT WINAPI HTMLElement2_get_ondrag(IHTMLElement2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLAttributeCollection2_GetTypeInfo(IHTMLAttributeCollection2 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static ULONG WINAPI HTMLAttributeCollection3_Release(IHTMLAttributeCollection3 *iface)
static const WCHAR headW[]
static HRESULT WINAPI HTMLElement_get_ondragstart(IHTMLElement *iface, VARIANT *p)
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
static HRESULT WINAPI HTMLElement_put_innerText(IHTMLElement *iface, BSTR v)
static HRESULT WINAPI HTMLElement_put_outerHTML(IHTMLElement *iface, BSTR v)
static HRESULT WINAPI HTMLElement2_get_onbeforeeditfocus(IHTMLElement2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLRect_put_top(IHTMLRect *iface, LONG v)
static HRESULT WINAPI HTMLElement_get_onhelp(IHTMLElement *iface, VARIANT *p)
static const NodeImplVtbl HTMLElementImplVtbl
static HRESULT WINAPI HTMLElement_put_onrowenter(IHTMLElement *iface, VARIANT v)
static HRESULT WINAPI HTMLElement_insertAdjacentHTML(IHTMLElement *iface, BSTR where, BSTR html)
static HRESULT get_attr_dispid_by_idx(HTMLAttributeCollection *This, LONG *idx, DISPID *dispid)
static const WCHAR areaW[]
static HRESULT WINAPI HTMLElement_get_style(IHTMLElement *iface, IHTMLStyle **p)
static HTMLRect * impl_from_IHTMLRect(IHTMLRect *iface)
static HRESULT WINAPI HTMLElement2_getAdjacentText(IHTMLElement2 *iface, BSTR where, BSTR *text)
static HRESULT WINAPI HTMLElement_put_ondataavailable(IHTMLElement *iface, VARIANT v)
static HRESULT WINAPI HTMLElement2_mergeAttributes(IHTMLElement2 *iface, IHTMLElement *mergeThis)
static HRESULT WINAPI HTMLElement2_applyElement(IHTMLElement2 *iface, IHTMLElement *apply, BSTR where, IHTMLElement **applied)
static HRESULT WINAPI HTMLElement_get_sourceIndex(IHTMLElement *iface, LONG *p)
HRESULT create_element(HTMLDocumentNode *doc, const WCHAR *tag, HTMLElement **ret)
static HRESULT WINAPI HTMLElement_get_document(IHTMLElement *iface, IDispatch **p)
static HRESULT WINAPI HTMLElement2_setCapture(IHTMLElement2 *iface, VARIANT_BOOL containerCapture)
static ULONG WINAPI HTMLAttributeCollection2_AddRef(IHTMLAttributeCollection2 *iface)
static HRESULT WINAPI HTMLElement_get_onmouseover(IHTMLElement *iface, VARIANT *p)
static const IHTMLElementVtbl HTMLElementVtbl
static HRESULT HTMLAttributeCollection_invoke(DispatchEx *dispex, DISPID id, LCID lcid, WORD flags, DISPPARAMS *params, VARIANT *res, EXCEPINFO *ei, IServiceProvider *caller)
static HRESULT WINAPI HTMLElement_put_onafterupdate(IHTMLElement *iface, VARIANT v)
static HRESULT WINAPI HTMLElement3_put_inflateBlock(IHTMLElement3 *iface, VARIANT_BOOL v)
static HRESULT HTMLElement_get_dispid(DispatchEx *dispex, BSTR name, DWORD grfdex, DISPID *pid)
static HRESULT WINAPI HTMLElement2_addBehavior(IHTMLElement2 *iface, BSTR bstrUrl, VARIANT *pvarFactory, LONG *pCookie)
static HRESULT WINAPI HTMLElement2_get_runtimeStyle(IHTMLElement2 *iface, IHTMLStyle **p)
static const IHTMLElement4Vtbl HTMLElement4Vtbl
static const WCHAR title_tagW[]
HRESULT create_nselem(HTMLDocumentNode *doc, const WCHAR *tag, nsIDOMHTMLElement **ret)
static HRESULT WINAPI HTMLElement_get_innerText(IHTMLElement *iface, BSTR *p)
static HRESULT insert_adjacent_node(HTMLElement *This, const WCHAR *where, nsIDOMNode *nsnode, HTMLDOMNode **ret_node)
static HRESULT get_attr_dispid_by_name(HTMLAttributeCollection *This, BSTR name, DISPID *id)
static HRESULT WINAPI HTMLElement3_fireEvent(IHTMLElement3 *iface, BSTR bstrEventName, VARIANT *pvarEventObject, VARIANT_BOOL *pfCancelled)
static HRESULT WINAPI HTMLElement_get_offsetWidth(IHTMLElement *iface, LONG *p)
static const WCHAR objectW[]
HRESULT get_elem(HTMLDocumentNode *doc, nsIDOMElement *nselem, HTMLElement **ret)
static HRESULT WINAPI HTMLElement3_get_onresizestart(IHTMLElement3 *iface, VARIANT *p)
static const WCHAR bodyW[]
static HRESULT WINAPI HTMLElement2_put_scrollLeft(IHTMLElement2 *iface, LONG v)
static HRESULT WINAPI HTMLFiltersCollection_GetIDsOfNames(IHTMLFiltersCollection *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI HTMLElement3_get_onbeforedeactivate(IHTMLElement3 *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement_get_id(IHTMLElement *iface, BSTR *p)
static HTMLElement * impl_from_HTMLDOMNode(HTMLDOMNode *iface)
static HRESULT WINAPI HTMLElement3_put_onmoveend(IHTMLElement3 *iface, VARIANT v)
static HRESULT WINAPI HTMLElement2_put_ondragenter(IHTMLElement2 *iface, VARIANT v)
static HRESULT WINAPI HTMLElement_GetIDsOfNames(IHTMLElement *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI HTMLElement2_put_tabIndex(IHTMLElement2 *iface, short v)
static const WCHAR styleW[]
static HRESULT WINAPI HTMLElement2_get_scrollLeft(IHTMLElement2 *iface, LONG *p)
static HRESULT WINAPI HTMLElement3_mergeAttributes(IHTMLElement3 *iface, IHTMLElement *mergeThis, VARIANT *pvarFlags)
static HRESULT WINAPI HTMLElement2_put_scrollTop(IHTMLElement2 *iface, LONG v)
static HRESULT WINAPI HTMLElement_get_onbeforeupdate(IHTMLElement *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement_put_onkeypress(IHTMLElement *iface, VARIANT v)
static HRESULT WINAPI HTMLAttributeCollection2_getNamedItem(IHTMLAttributeCollection2 *iface, BSTR bstrName, IHTMLDOMAttribute **newretNode)
static ULONG WINAPI HTMLElement_Release(IHTMLElement *iface)
static HRESULT WINAPI HTMLElement2_getElementsByTagName(IHTMLElement2 *iface, BSTR v, IHTMLElementCollection **pelColl)
static HTMLElement * impl_from_IHTMLElement4(IHTMLElement4 *iface)
static HRESULT WINAPI HTMLElement_get_tagName(IHTMLElement *iface, BSTR *p)
static HRESULT WINAPI HTMLElement2_detachEvent(IHTMLElement2 *iface, BSTR event, IDispatch *pDisp)
static HRESULT WINAPI HTMLElement_put_id(IHTMLElement *iface, BSTR v)
static HRESULT WINAPI HTMLElement2_get_currentStyle(IHTMLElement2 *iface, IHTMLCurrentStyle **p)
static HRESULT WINAPI HTMLElement4_GetIDsOfNames(IHTMLElement4 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI HTMLElement4_Invoke(IHTMLElement4 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static const tid_t HTMLRect_iface_tids[]
static HRESULT WINAPI HTMLElement3_dragDrop(IHTMLElement3 *iface, VARIANT_BOOL *pfRet)
static HRESULT WINAPI HTMLElement_put_ondatasetchanged(IHTMLElement *iface, VARIANT v)
static HRESULT WINAPI HTMLElement3_GetTypeInfoCount(IHTMLElement3 *iface, UINT *pctinfo)
static HRESULT WINAPI HTMLAttributeCollection3_removeNamedItem(IHTMLAttributeCollection3 *iface, BSTR bstrName, IHTMLDOMAttribute **ppNodeOut)
static HRESULT WINAPI HTMLElement_get_isTextEdit(IHTMLElement *iface, VARIANT_BOOL *p)
static dispex_static_data_t HTMLRect_dispex
static const tid_t HTMLElement_iface_tids[]
static ULONG WINAPI HTMLAttributeCollection_Release(IHTMLAttributeCollection *iface)
static HRESULT HTMLAttributeCollection_get_dispid(DispatchEx *dispex, BSTR name, DWORD flags, DISPID *dispid)
static HRESULT WINAPI HTMLElement_put_onmousemove(IHTMLElement *iface, VARIANT v)
static HRESULT WINAPI HTMLElement2_addFilter(IHTMLElement2 *iface, IUnknown *pUnk)
static HRESULT WINAPI HTMLElement_get_onclick(IHTMLElement *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement_get_innerHTML(IHTMLElement *iface, BSTR *p)
static HRESULT WINAPI HTMLElement2_put_onscroll(IHTMLElement2 *iface, VARIANT v)
static HRESULT WINAPI HTMLElement3_Invoke(IHTMLElement3 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static HRESULT WINAPI HTMLElement2_get_oncellchange(IHTMLElement2 *iface, VARIANT *p)
static ULONG WINAPI HTMLElement2_AddRef(IHTMLElement2 *iface)
static HRESULT WINAPI HTMLRect_get_right(IHTMLRect *iface, LONG *p)
static HRESULT WINAPI HTMLRect_GetTypeInfo(IHTMLRect *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static HRESULT WINAPI HTMLElement2_get_onresize(IHTMLElement2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement3_get_isDisabled(IHTMLElement3 *iface, VARIANT_BOOL *p)
static HRESULT WINAPI HTMLAttributeCollection_Invoke(IHTMLAttributeCollection *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static HRESULT WINAPI HTMLElement3_get_onactivate(IHTMLElement3 *iface, VARIANT *p)
static HRESULT WINAPI HTMLRect_put_left(IHTMLRect *iface, LONG v)
static HRESULT WINAPI HTMLElement3_get_isContentEditable(IHTMLElement3 *iface, VARIANT_BOOL *p)
static const WCHAR labelW[]
static HRESULT WINAPI HTMLElement4_getAttributeNode(IHTMLElement4 *iface, BSTR bstrname, IHTMLDOMAttribute **ppAttribute)
static HRESULT WINAPI HTMLElement_get_onerrorupdate(IHTMLElement *iface, VARIANT *p)
static HRESULT WINAPI HTMLAttributeCollection2_removeNamedItem(IHTMLAttributeCollection2 *iface, BSTR bstrName, IHTMLDOMAttribute **newretNode)
static ULONG WINAPI HTMLElement2_Release(IHTMLElement2 *iface)
static HRESULT WINAPI HTMLAttributeCollection3_item(IHTMLAttributeCollection3 *iface, LONG index, IHTMLDOMAttribute **ppNodeOut)
static HRESULT WINAPI HTMLElement2_clearAttributes(IHTMLElement2 *iface)
HRESULT get_elem_source_index(HTMLElement *elem, LONG *ret)
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 HTMLEmbedElement_Create(HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, HTMLElement **elem)
void fire_event(HTMLDocumentNode *doc, eventid_t eid, BOOL set_event, nsIDOMNode *target, nsIDOMEvent *nsevent, IDispatch *script_this)
HRESULT call_fire_event(HTMLDOMNode *node, eventid_t eid)
HRESULT attach_event(EventTarget *event_target, BSTR name, IDispatch *disp, VARIANT_BOOL *res)
HRESULT dispatch_event(HTMLDOMNode *node, const WCHAR *event_name, VARIANT *event_var, VARIANT_BOOL *cancelled)
@ EVENTID_READYSTATECHANGE
static HRESULT get_node_event(HTMLDOMNode *node, eventid_t eid, VARIANT *var)
static HRESULT set_node_event(HTMLDOMNode *node, eventid_t eid, VARIANT *var)
HRESULT HTMLFrameElement_Create(HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, HTMLElement **elem)
HRESULT HTMLGenericElement_Create(HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, HTMLElement **elem)
HRESULT HTMLTitleElement_Create(HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, HTMLElement **elem)
HRESULT HTMLHeadElement_Create(HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, HTMLElement **elem)
HRESULT HTMLIFrame_Create(HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, HTMLElement **elem)
HRESULT HTMLImgElement_Create(HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, HTMLElement **elem)
HRESULT HTMLLinkElement_Create(HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, HTMLElement **elem)
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)
void HTMLDOMNode_destructor(HTMLDOMNode *This)
HRESULT HTMLObjectElement_Create(HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, HTMLElement **elem)
HRESULT HTMLOptionElement_Create(HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, HTMLElement **elem)
HRESULT HTMLScriptElement_Create(HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, HTMLElement **elem)
HRESULT HTMLSelectElement_Create(HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, HTMLElement **elem)
HRESULT HTMLStyle_Create(HTMLElement *elem, HTMLStyle **ret)
HRESULT HTMLStyleElement_Create(HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, HTMLElement **elem)
HRESULT HTMLTable_Create(HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, HTMLElement **elem)
HRESULT HTMLTableCell_Create(HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, HTMLElement **elem)
HRESULT HTMLTableRow_Create(HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, HTMLElement **elem)
HRESULT HTMLTextAreaElement_Create(HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, HTMLElement **elem)
_Check_return_ _CRTIMP double __cdecl floor(_In_ double x)
HRESULT init_dispex(jsdisp_t *dispex, script_ctx_t *ctx, const builtin_info_t *builtin_info, jsdisp_t *prototype)
static const char html_str[]
static const char * debugstr_variant(const VARIANT *var)
static VARIANTARG static DISPID
#define DISPID_IHTMLELEMENT_STYLE
HRESULT remove_attribute(DispatchEx *This, DISPID id, VARIANT_BOOL *success)
BOOL dispex_query_interface(DispatchEx *This, REFIID riid, void **ppv)
HRESULT dispex_get_dprop_ref(DispatchEx *This, const WCHAR *name, BOOL alloc, VARIANT **ret)
HRESULT nsnode_to_nsstring(nsIDOMNode *, nsAString *) DECLSPEC_HIDDEN
void nsAString_Finish(nsAString *) DECLSPEC_HIDDEN
UINT32 nsAString_GetData(const nsAString *, const PRUnichar **) DECLSPEC_HIDDEN
#define ATTRFLAG_ASSTRING
void nsAString_InitDepend(nsAString *, const PRUnichar *) DECLSPEC_HIDDEN
#define ATTRFLAG_CASESENSITIVE
HRESULT get_node_text(HTMLDOMNode *, BSTR *) DECLSPEC_HIDDEN
BOOL nsAString_Init(nsAString *, const PRUnichar *) DECLSPEC_HIDDEN
static void node_release(HTMLDOMNode *node)
#define MSHTML_DISPID_CUSTOM_MIN
#define NS_SUCCEEDED(res)
HRESULT return_nsstr(nsresult, nsAString *, BSTR *) DECLSPEC_HIDDEN
#define LOCALE_SYSTEM_DEFAULT
BSTR WINAPI SysAllocString(LPCOLESTR str)
void WINAPI DECLSPEC_HOTPATCH SysFreeString(BSTR str)
#define DISPATCH_PROPERTYPUT
#define DISPATCH_PROPERTYGET
const GUID IID_IConnectionPointContainer
#define IsEqualGUID(rguid1, rguid2)
#define strtoulW(s1, s2, b)
#define LIST_FOR_EACH_ENTRY(elem, list, type, field)
IDispatchEx IDispatchEx_iface
IHTMLAttributeCollection IHTMLAttributeCollection_iface
IHTMLAttributeCollection2 IHTMLAttributeCollection2_iface
IHTMLDOMAttribute IHTMLDOMAttribute_iface
IHTMLDOMNode IHTMLDOMNode_iface
nsIDOMHTMLDocument * nsdoc
IHTMLFiltersCollection IHTMLFiltersCollection_iface
nsIDOMClientRect * nsrect
IHTMLRect IHTMLRect_iface
const dispex_static_data_vtbl_t * vtbl
void key_event(int scancode, int pressed)
static HANDLE detach_event
#define CONTAINING_RECORD(address, type, field)
HRESULT WINAPI DECLSPEC_HOTPATCH VariantChangeType(VARIANTARG *pvargDest, VARIANTARG *pvargSrc, USHORT wFlags, VARTYPE vt)
HRESULT WINAPI DECLSPEC_HOTPATCH VariantClear(VARIANTARG *pVarg)
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
_In_ DWORD _Out_ _In_ WORD wFlags
_In_ ULONG_PTR _In_ ULONG _Out_ ULONG_PTR * pid
#define DISP_E_UNKNOWNNAME