ReactOS  0.4.12-dev-934-g9a4676f
htmlelem.c File Reference
#include "mshtml_private.h"
Include dependency graph for htmlelem.c:

Go to the source code of this file.

Classes

struct  tag_desc_t
 
struct  HTMLFiltersCollection
 
struct  HTMLRect
 

Functions

static const tag_desc_tget_tag_desc (const WCHAR *tag_name)
 
HRESULT replace_node_by_html (nsIDOMHTMLDocument *nsdoc, nsIDOMNode *nsnode, const WCHAR *html)
 
nsresult get_elem_attr_value (nsIDOMHTMLElement *nselem, const WCHAR *name, nsAString *val_str, const PRUnichar **val)
 
HRESULT elem_string_attr_getter (HTMLElement *elem, const WCHAR *name, BOOL use_null, BSTR *p)
 
HRESULT elem_string_attr_setter (HTMLElement *elem, const WCHAR *name, const WCHAR *value)
 
HRESULT get_readystate_string (READYSTATE readystate, BSTR *p)
 
static HTMLFiltersCollectionimpl_from_IHTMLFiltersCollection (IHTMLFiltersCollection *iface)
 
static IHTMLFiltersCollection * HTMLFiltersCollection_Create (void)
 
static HTMLElementimpl_from_IHTMLElement (IHTMLElement *iface)
 
HRESULT create_nselem (HTMLDocumentNode *doc, const WCHAR *tag, nsIDOMHTMLElement **ret)
 
HRESULT create_element (HTMLDocumentNode *doc, const WCHAR *tag, HTMLElement **ret)
 
static HTMLRectimpl_from_IHTMLRect (IHTMLRect *iface)
 
static HRESULT WINAPI HTMLRect_QueryInterface (IHTMLRect *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI HTMLRect_AddRef (IHTMLRect *iface)
 
static ULONG WINAPI HTMLRect_Release (IHTMLRect *iface)
 
static HRESULT WINAPI HTMLRect_GetTypeInfoCount (IHTMLRect *iface, UINT *pctinfo)
 
static HRESULT WINAPI HTMLRect_GetTypeInfo (IHTMLRect *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
 
static HRESULT WINAPI HTMLRect_GetIDsOfNames (IHTMLRect *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
 
static HRESULT WINAPI HTMLRect_Invoke (IHTMLRect *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
 
static HRESULT WINAPI HTMLRect_put_left (IHTMLRect *iface, LONG v)
 
static HRESULT WINAPI HTMLRect_get_left (IHTMLRect *iface, LONG *p)
 
static HRESULT WINAPI HTMLRect_put_top (IHTMLRect *iface, LONG v)
 
static HRESULT WINAPI HTMLRect_get_top (IHTMLRect *iface, LONG *p)
 
static HRESULT WINAPI HTMLRect_put_right (IHTMLRect *iface, LONG v)
 
static HRESULT WINAPI HTMLRect_get_right (IHTMLRect *iface, LONG *p)
 
static HRESULT WINAPI HTMLRect_put_bottom (IHTMLRect *iface, LONG v)
 
static HRESULT WINAPI HTMLRect_get_bottom (IHTMLRect *iface, LONG *p)
 
static HRESULT create_html_rect (nsIDOMClientRect *nsrect, IHTMLRect **ret)
 
static HRESULT WINAPI HTMLElement_QueryInterface (IHTMLElement *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI HTMLElement_AddRef (IHTMLElement *iface)
 
static ULONG WINAPI HTMLElement_Release (IHTMLElement *iface)
 
static HRESULT WINAPI HTMLElement_GetTypeInfoCount (IHTMLElement *iface, UINT *pctinfo)
 
static HRESULT WINAPI HTMLElement_GetTypeInfo (IHTMLElement *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
 
static HRESULT WINAPI HTMLElement_GetIDsOfNames (IHTMLElement *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
 
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_setAttribute (IHTMLElement *iface, BSTR strAttributeName, VARIANT AttributeValue, LONG lFlags)
 
HRESULT get_elem_attr_value_by_dispid (HTMLElement *elem, DISPID dispid, DWORD flags, VARIANT *ret)
 
static HRESULT WINAPI HTMLElement_getAttribute (IHTMLElement *iface, BSTR strAttributeName, LONG lFlags, VARIANT *AttributeValue)
 
static HRESULT WINAPI HTMLElement_removeAttribute (IHTMLElement *iface, BSTR strAttributeName, LONG lFlags, VARIANT_BOOL *pfSuccess)
 
static HRESULT WINAPI HTMLElement_put_className (IHTMLElement *iface, BSTR v)
 
static HRESULT WINAPI HTMLElement_get_className (IHTMLElement *iface, BSTR *p)
 
static HRESULT WINAPI HTMLElement_put_id (IHTMLElement *iface, BSTR v)
 
static HRESULT WINAPI HTMLElement_get_id (IHTMLElement *iface, BSTR *p)
 
static HRESULT WINAPI HTMLElement_get_tagName (IHTMLElement *iface, BSTR *p)
 
static HRESULT WINAPI HTMLElement_get_parentElement (IHTMLElement *iface, IHTMLElement **p)
 
static HRESULT WINAPI HTMLElement_get_style (IHTMLElement *iface, IHTMLStyle **p)
 
static HRESULT WINAPI HTMLElement_put_onhelp (IHTMLElement *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement_get_onhelp (IHTMLElement *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement_put_onclick (IHTMLElement *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement_get_onclick (IHTMLElement *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement_put_ondblclick (IHTMLElement *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement_get_ondblclick (IHTMLElement *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement_put_onkeydown (IHTMLElement *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement_get_onkeydown (IHTMLElement *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement_put_onkeyup (IHTMLElement *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement_get_onkeyup (IHTMLElement *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement_put_onkeypress (IHTMLElement *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement_get_onkeypress (IHTMLElement *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement_put_onmouseout (IHTMLElement *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement_get_onmouseout (IHTMLElement *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement_put_onmouseover (IHTMLElement *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement_get_onmouseover (IHTMLElement *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement_put_onmousemove (IHTMLElement *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement_get_onmousemove (IHTMLElement *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement_put_onmousedown (IHTMLElement *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement_get_onmousedown (IHTMLElement *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement_put_onmouseup (IHTMLElement *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement_get_onmouseup (IHTMLElement *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement_get_document (IHTMLElement *iface, IDispatch **p)
 
static HRESULT WINAPI HTMLElement_put_title (IHTMLElement *iface, BSTR v)
 
static HRESULT WINAPI HTMLElement_get_title (IHTMLElement *iface, BSTR *p)
 
static HRESULT WINAPI HTMLElement_put_language (IHTMLElement *iface, BSTR v)
 
static HRESULT WINAPI HTMLElement_get_language (IHTMLElement *iface, BSTR *p)
 
static HRESULT WINAPI HTMLElement_put_onselectstart (IHTMLElement *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement_get_onselectstart (IHTMLElement *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement_scrollIntoView (IHTMLElement *iface, VARIANT varargStart)
 
static HRESULT WINAPI HTMLElement_contains (IHTMLElement *iface, IHTMLElement *pChild, VARIANT_BOOL *pfResult)
 
static HRESULT WINAPI HTMLElement_get_sourceIndex (IHTMLElement *iface, LONG *p)
 
static HRESULT WINAPI HTMLElement_get_recordNumber (IHTMLElement *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement_put_lang (IHTMLElement *iface, BSTR v)
 
static HRESULT WINAPI HTMLElement_get_lang (IHTMLElement *iface, BSTR *p)
 
static HRESULT WINAPI HTMLElement_get_offsetLeft (IHTMLElement *iface, LONG *p)
 
static HRESULT WINAPI HTMLElement_get_offsetTop (IHTMLElement *iface, LONG *p)
 
static HRESULT WINAPI HTMLElement_get_offsetWidth (IHTMLElement *iface, LONG *p)
 
static HRESULT WINAPI HTMLElement_get_offsetHeight (IHTMLElement *iface, LONG *p)
 
static HRESULT WINAPI HTMLElement_get_offsetParent (IHTMLElement *iface, IHTMLElement **p)
 
static HRESULT WINAPI HTMLElement_put_innerHTML (IHTMLElement *iface, BSTR v)
 
static HRESULT WINAPI HTMLElement_get_innerHTML (IHTMLElement *iface, BSTR *p)
 
static HRESULT WINAPI HTMLElement_put_innerText (IHTMLElement *iface, BSTR v)
 
static HRESULT WINAPI HTMLElement_get_innerText (IHTMLElement *iface, BSTR *p)
 
static HRESULT WINAPI HTMLElement_put_outerHTML (IHTMLElement *iface, BSTR v)
 
static HRESULT WINAPI HTMLElement_get_outerHTML (IHTMLElement *iface, BSTR *p)
 
static HRESULT WINAPI HTMLElement_put_outerText (IHTMLElement *iface, BSTR v)
 
static HRESULT WINAPI HTMLElement_get_outerText (IHTMLElement *iface, BSTR *p)
 
static HRESULT insert_adjacent_node (HTMLElement *This, const WCHAR *where, nsIDOMNode *nsnode, HTMLDOMNode **ret_node)
 
static HRESULT WINAPI HTMLElement_insertAdjacentHTML (IHTMLElement *iface, BSTR where, BSTR html)
 
static HRESULT WINAPI HTMLElement_insertAdjacentText (IHTMLElement *iface, BSTR where, BSTR text)
 
static HRESULT WINAPI HTMLElement_get_parentTextEdit (IHTMLElement *iface, IHTMLElement **p)
 
static HRESULT WINAPI HTMLElement_get_isTextEdit (IHTMLElement *iface, VARIANT_BOOL *p)
 
static HRESULT WINAPI HTMLElement_click (IHTMLElement *iface)
 
static HRESULT WINAPI HTMLElement_get_filters (IHTMLElement *iface, IHTMLFiltersCollection **p)
 
static HRESULT WINAPI HTMLElement_put_ondragstart (IHTMLElement *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement_get_ondragstart (IHTMLElement *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement_toString (IHTMLElement *iface, BSTR *String)
 
static HRESULT WINAPI HTMLElement_put_onbeforeupdate (IHTMLElement *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement_get_onbeforeupdate (IHTMLElement *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement_put_onafterupdate (IHTMLElement *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement_get_onafterupdate (IHTMLElement *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement_put_onerrorupdate (IHTMLElement *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement_get_onerrorupdate (IHTMLElement *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement_put_onrowexit (IHTMLElement *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement_get_onrowexit (IHTMLElement *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement_put_onrowenter (IHTMLElement *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement_get_onrowenter (IHTMLElement *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement_put_ondatasetchanged (IHTMLElement *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement_get_ondatasetchanged (IHTMLElement *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement_put_ondataavailable (IHTMLElement *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement_get_ondataavailable (IHTMLElement *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement_put_ondatasetcomplete (IHTMLElement *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement_get_ondatasetcomplete (IHTMLElement *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement_put_onfilterchange (IHTMLElement *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement_get_onfilterchange (IHTMLElement *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement_get_children (IHTMLElement *iface, IDispatch **p)
 
static HRESULT WINAPI HTMLElement_get_all (IHTMLElement *iface, IDispatch **p)
 
HTMLElementunsafe_impl_from_IHTMLElement (IHTMLElement *iface)
 
static HTMLElementimpl_from_IHTMLElement2 (IHTMLElement2 *iface)
 
static HRESULT WINAPI HTMLElement2_QueryInterface (IHTMLElement2 *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI HTMLElement2_AddRef (IHTMLElement2 *iface)
 
static ULONG WINAPI HTMLElement2_Release (IHTMLElement2 *iface)
 
static HRESULT WINAPI HTMLElement2_GetTypeInfoCount (IHTMLElement2 *iface, UINT *pctinfo)
 
static HRESULT WINAPI HTMLElement2_GetTypeInfo (IHTMLElement2 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
 
static HRESULT WINAPI HTMLElement2_GetIDsOfNames (IHTMLElement2 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
 
static HRESULT WINAPI HTMLElement2_Invoke (IHTMLElement2 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
 
static HRESULT WINAPI HTMLElement2_get_scopeName (IHTMLElement2 *iface, BSTR *p)
 
static HRESULT WINAPI HTMLElement2_setCapture (IHTMLElement2 *iface, VARIANT_BOOL containerCapture)
 
static HRESULT WINAPI HTMLElement2_releaseCapture (IHTMLElement2 *iface)
 
static HRESULT WINAPI HTMLElement2_put_onlosecapture (IHTMLElement2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement2_get_onlosecapture (IHTMLElement2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement2_componentFromPoint (IHTMLElement2 *iface, LONG x, LONG y, BSTR *component)
 
static HRESULT WINAPI HTMLElement2_doScroll (IHTMLElement2 *iface, VARIANT component)
 
static HRESULT WINAPI HTMLElement2_put_onscroll (IHTMLElement2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement2_get_onscroll (IHTMLElement2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement2_put_ondrag (IHTMLElement2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement2_get_ondrag (IHTMLElement2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement2_put_ondragend (IHTMLElement2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement2_get_ondragend (IHTMLElement2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement2_put_ondragenter (IHTMLElement2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement2_get_ondragenter (IHTMLElement2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement2_put_ondragover (IHTMLElement2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement2_get_ondragover (IHTMLElement2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement2_put_ondragleave (IHTMLElement2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement2_get_ondragleave (IHTMLElement2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement2_put_ondrop (IHTMLElement2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement2_get_ondrop (IHTMLElement2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement2_put_onbeforecut (IHTMLElement2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement2_get_onbeforecut (IHTMLElement2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement2_put_oncut (IHTMLElement2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement2_get_oncut (IHTMLElement2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement2_put_onbeforecopy (IHTMLElement2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement2_get_onbeforecopy (IHTMLElement2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement2_put_oncopy (IHTMLElement2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement2_get_oncopy (IHTMLElement2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement2_put_onbeforepaste (IHTMLElement2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement2_get_onbeforepaste (IHTMLElement2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement2_put_onpaste (IHTMLElement2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement2_get_onpaste (IHTMLElement2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement2_get_currentStyle (IHTMLElement2 *iface, IHTMLCurrentStyle **p)
 
static HRESULT WINAPI HTMLElement2_put_onpropertychange (IHTMLElement2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement2_get_onpropertychange (IHTMLElement2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement2_getClientRects (IHTMLElement2 *iface, IHTMLRectCollection **pRectCol)
 
static HRESULT WINAPI HTMLElement2_getBoundingClientRect (IHTMLElement2 *iface, IHTMLRect **pRect)
 
static HRESULT WINAPI HTMLElement2_setExpression (IHTMLElement2 *iface, BSTR propname, BSTR expression, BSTR language)
 
static HRESULT WINAPI HTMLElement2_getExpression (IHTMLElement2 *iface, BSTR propname, VARIANT *expression)
 
static HRESULT WINAPI HTMLElement2_removeExpression (IHTMLElement2 *iface, BSTR propname, VARIANT_BOOL *pfSuccess)
 
static HRESULT WINAPI HTMLElement2_put_tabIndex (IHTMLElement2 *iface, short v)
 
static HRESULT WINAPI HTMLElement2_get_tabIndex (IHTMLElement2 *iface, short *p)
 
static HRESULT WINAPI HTMLElement2_focus (IHTMLElement2 *iface)
 
static HRESULT WINAPI HTMLElement2_put_accessKey (IHTMLElement2 *iface, BSTR v)
 
static HRESULT WINAPI HTMLElement2_get_accessKey (IHTMLElement2 *iface, BSTR *p)
 
static HRESULT WINAPI HTMLElement2_put_onblur (IHTMLElement2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement2_get_onblur (IHTMLElement2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement2_put_onfocus (IHTMLElement2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement2_get_onfocus (IHTMLElement2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement2_put_onresize (IHTMLElement2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement2_get_onresize (IHTMLElement2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement2_blur (IHTMLElement2 *iface)
 
static HRESULT WINAPI HTMLElement2_addFilter (IHTMLElement2 *iface, IUnknown *pUnk)
 
static HRESULT WINAPI HTMLElement2_removeFilter (IHTMLElement2 *iface, IUnknown *pUnk)
 
static HRESULT WINAPI HTMLElement2_get_clientHeight (IHTMLElement2 *iface, LONG *p)
 
static HRESULT WINAPI HTMLElement2_get_clientWidth (IHTMLElement2 *iface, LONG *p)
 
static HRESULT WINAPI HTMLElement2_get_clientTop (IHTMLElement2 *iface, LONG *p)
 
static HRESULT WINAPI HTMLElement2_get_clientLeft (IHTMLElement2 *iface, LONG *p)
 
static HRESULT WINAPI HTMLElement2_attachEvent (IHTMLElement2 *iface, BSTR event, IDispatch *pDisp, VARIANT_BOOL *pfResult)
 
static HRESULT WINAPI HTMLElement2_detachEvent (IHTMLElement2 *iface, BSTR event, IDispatch *pDisp)
 
static HRESULT WINAPI HTMLElement2_get_readyState (IHTMLElement2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement2_put_onreadystatechange (IHTMLElement2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement2_get_onreadystatechange (IHTMLElement2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement2_put_onrowsdelete (IHTMLElement2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement2_get_onrowsdelete (IHTMLElement2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement2_put_onrowsinserted (IHTMLElement2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement2_get_onrowsinserted (IHTMLElement2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement2_put_oncellchange (IHTMLElement2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement2_get_oncellchange (IHTMLElement2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement2_put_dir (IHTMLElement2 *iface, BSTR v)
 
static HRESULT WINAPI HTMLElement2_get_dir (IHTMLElement2 *iface, BSTR *p)
 
static HRESULT WINAPI HTMLElement2_createControlRange (IHTMLElement2 *iface, IDispatch **range)
 
static HRESULT WINAPI HTMLElement2_get_scrollHeight (IHTMLElement2 *iface, LONG *p)
 
static HRESULT WINAPI HTMLElement2_get_scrollWidth (IHTMLElement2 *iface, LONG *p)
 
static HRESULT WINAPI HTMLElement2_put_scrollTop (IHTMLElement2 *iface, LONG v)
 
static HRESULT WINAPI HTMLElement2_get_scrollTop (IHTMLElement2 *iface, LONG *p)
 
static HRESULT WINAPI HTMLElement2_put_scrollLeft (IHTMLElement2 *iface, LONG v)
 
static HRESULT WINAPI HTMLElement2_get_scrollLeft (IHTMLElement2 *iface, LONG *p)
 
static HRESULT WINAPI HTMLElement2_clearAttributes (IHTMLElement2 *iface)
 
static HRESULT WINAPI HTMLElement2_mergeAttributes (IHTMLElement2 *iface, IHTMLElement *mergeThis)
 
static HRESULT WINAPI HTMLElement2_put_oncontextmenu (IHTMLElement2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement2_get_oncontextmenu (IHTMLElement2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement2_insertAdjacentElement (IHTMLElement2 *iface, BSTR where, IHTMLElement *insertedElement, IHTMLElement **inserted)
 
static HRESULT WINAPI HTMLElement2_applyElement (IHTMLElement2 *iface, IHTMLElement *apply, BSTR where, IHTMLElement **applied)
 
static HRESULT WINAPI HTMLElement2_getAdjacentText (IHTMLElement2 *iface, BSTR where, BSTR *text)
 
static HRESULT WINAPI HTMLElement2_replaceAdjacentText (IHTMLElement2 *iface, BSTR where, BSTR newText, BSTR *oldText)
 
static HRESULT WINAPI HTMLElement2_get_canHandleChildren (IHTMLElement2 *iface, VARIANT_BOOL *p)
 
static HRESULT WINAPI HTMLElement2_addBehavior (IHTMLElement2 *iface, BSTR bstrUrl, VARIANT *pvarFactory, LONG *pCookie)
 
static HRESULT WINAPI HTMLElement2_removeBehavior (IHTMLElement2 *iface, LONG cookie, VARIANT_BOOL *pfResult)
 
static HRESULT WINAPI HTMLElement2_get_runtimeStyle (IHTMLElement2 *iface, IHTMLStyle **p)
 
static HRESULT WINAPI HTMLElement2_get_behaviorUrns (IHTMLElement2 *iface, IDispatch **p)
 
static HRESULT WINAPI HTMLElement2_put_tagUrn (IHTMLElement2 *iface, BSTR v)
 
static HRESULT WINAPI HTMLElement2_get_tagUrn (IHTMLElement2 *iface, BSTR *p)
 
static HRESULT WINAPI HTMLElement2_put_onbeforeeditfocus (IHTMLElement2 *iface, VARIANT vv)
 
static HRESULT WINAPI HTMLElement2_get_onbeforeeditfocus (IHTMLElement2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement2_get_readyStateValue (IHTMLElement2 *iface, LONG *p)
 
static HRESULT WINAPI HTMLElement2_getElementsByTagName (IHTMLElement2 *iface, BSTR v, IHTMLElementCollection **pelColl)
 
static HTMLElementimpl_from_IHTMLElement3 (IHTMLElement3 *iface)
 
static HRESULT WINAPI HTMLElement3_QueryInterface (IHTMLElement3 *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI HTMLElement3_AddRef (IHTMLElement3 *iface)
 
static ULONG WINAPI HTMLElement3_Release (IHTMLElement3 *iface)
 
static HRESULT WINAPI HTMLElement3_GetTypeInfoCount (IHTMLElement3 *iface, UINT *pctinfo)
 
static HRESULT WINAPI HTMLElement3_GetTypeInfo (IHTMLElement3 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
 
static HRESULT WINAPI HTMLElement3_GetIDsOfNames (IHTMLElement3 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
 
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 HTMLElement3_mergeAttributes (IHTMLElement3 *iface, IHTMLElement *mergeThis, VARIANT *pvarFlags)
 
static HRESULT WINAPI HTMLElement3_get_isMultiLine (IHTMLElement3 *iface, VARIANT_BOOL *p)
 
static HRESULT WINAPI HTMLElement3_get_canHaveHTML (IHTMLElement3 *iface, VARIANT_BOOL *p)
 
static HRESULT WINAPI HTMLElement3_put_onlayoutcomplete (IHTMLElement3 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement3_get_onlayoutcomplete (IHTMLElement3 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement3_put_onpage (IHTMLElement3 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement3_get_onpage (IHTMLElement3 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement3_put_inflateBlock (IHTMLElement3 *iface, VARIANT_BOOL v)
 
static HRESULT WINAPI HTMLElement3_get_inflateBlock (IHTMLElement3 *iface, VARIANT_BOOL *p)
 
static HRESULT WINAPI HTMLElement3_put_onbeforedeactivate (IHTMLElement3 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement3_get_onbeforedeactivate (IHTMLElement3 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement3_setActive (IHTMLElement3 *iface)
 
static HRESULT WINAPI HTMLElement3_put_contentEditable (IHTMLElement3 *iface, BSTR v)
 
static HRESULT WINAPI HTMLElement3_get_contentEditable (IHTMLElement3 *iface, BSTR *p)
 
static HRESULT WINAPI HTMLElement3_get_isContentEditable (IHTMLElement3 *iface, VARIANT_BOOL *p)
 
static HRESULT WINAPI HTMLElement3_put_hideFocus (IHTMLElement3 *iface, VARIANT_BOOL v)
 
static HRESULT WINAPI HTMLElement3_get_hideFocus (IHTMLElement3 *iface, VARIANT_BOOL *p)
 
static HRESULT WINAPI HTMLElement3_put_disabled (IHTMLElement3 *iface, VARIANT_BOOL v)
 
static HRESULT WINAPI HTMLElement3_get_disabled (IHTMLElement3 *iface, VARIANT_BOOL *p)
 
static HRESULT WINAPI HTMLElement3_get_isDisabled (IHTMLElement3 *iface, VARIANT_BOOL *p)
 
static HRESULT WINAPI HTMLElement3_put_onmove (IHTMLElement3 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement3_get_onmove (IHTMLElement3 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement3_put_oncontrolselect (IHTMLElement3 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement3_get_oncontrolselect (IHTMLElement3 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement3_fireEvent (IHTMLElement3 *iface, BSTR bstrEventName, VARIANT *pvarEventObject, VARIANT_BOOL *pfCancelled)
 
static HRESULT WINAPI HTMLElement3_put_onresizestart (IHTMLElement3 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement3_get_onresizestart (IHTMLElement3 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement3_put_onresizeend (IHTMLElement3 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement3_get_onresizeend (IHTMLElement3 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement3_put_onmovestart (IHTMLElement3 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement3_get_onmovestart (IHTMLElement3 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement3_put_onmoveend (IHTMLElement3 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement3_get_onmoveend (IHTMLElement3 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement3_put_onmousecenter (IHTMLElement3 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement3_get_onmousecenter (IHTMLElement3 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement3_put_onmouseleave (IHTMLElement3 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement3_get_onmouseleave (IHTMLElement3 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement3_put_onactivate (IHTMLElement3 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement3_get_onactivate (IHTMLElement3 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement3_put_ondeactivate (IHTMLElement3 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement3_get_ondeactivate (IHTMLElement3 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement3_dragDrop (IHTMLElement3 *iface, VARIANT_BOOL *pfRet)
 
static HRESULT WINAPI HTMLElement3_get_glyphMode (IHTMLElement3 *iface, LONG *p)
 
static HTMLElementimpl_from_IHTMLElement4 (IHTMLElement4 *iface)
 
static HRESULT WINAPI HTMLElement4_QueryInterface (IHTMLElement4 *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI HTMLElement4_AddRef (IHTMLElement4 *iface)
 
static ULONG WINAPI HTMLElement4_Release (IHTMLElement4 *iface)
 
static HRESULT WINAPI HTMLElement4_GetTypeInfoCount (IHTMLElement4 *iface, UINT *pctinfo)
 
static HRESULT WINAPI HTMLElement4_GetTypeInfo (IHTMLElement4 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
 
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 HRESULT WINAPI HTMLElement4_put_onmousewheel (IHTMLElement4 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement4_get_onmousewheel (IHTMLElement4 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement4_normalize (IHTMLElement4 *iface)
 
static HRESULT WINAPI HTMLElement4_getAttributeNode (IHTMLElement4 *iface, BSTR bstrname, IHTMLDOMAttribute **ppAttribute)
 
static HRESULT WINAPI HTMLElement4_setAttributeNode (IHTMLElement4 *iface, IHTMLDOMAttribute *pattr, IHTMLDOMAttribute **ppretAttribute)
 
static HRESULT WINAPI HTMLElement4_removeAttributeNode (IHTMLElement4 *iface, IHTMLDOMAttribute *pattr, IHTMLDOMAttribute **ppretAttribute)
 
static HRESULT WINAPI HTMLElement4_put_onbeforeactivate (IHTMLElement4 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement4_get_onbeforeactivate (IHTMLElement4 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement4_put_onfocusin (IHTMLElement4 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement4_get_onfocusin (IHTMLElement4 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLElement4_put_onfocusout (IHTMLElement4 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLElement4_get_onfocusout (IHTMLElement4 *iface, VARIANT *p)
 
static HTMLElementimpl_from_HTMLDOMNode (HTMLDOMNode *iface)
 
HRESULT HTMLElement_QI (HTMLDOMNode *iface, REFIID riid, void **ppv)
 
void HTMLElement_destructor (HTMLDOMNode *iface)
 
HRESULT HTMLElement_clone (HTMLDOMNode *iface, nsIDOMNode *nsnode, HTMLDOMNode **ret)
 
HRESULT HTMLElement_handle_event (HTMLDOMNode *iface, DWORD eid, nsIDOMEvent *event, BOOL *prevent_default)
 
static HTMLElementimpl_from_DispatchEx (DispatchEx *iface)
 
static HRESULT HTMLElement_get_dispid (DispatchEx *dispex, BSTR name, DWORD grfdex, DISPID *pid)
 
static HRESULT HTMLElement_invoke (DispatchEx *dispex, DISPID id, LCID lcid, WORD flags, DISPPARAMS *params, VARIANT *res, EXCEPINFO *ei, IServiceProvider *caller)
 
static HRESULT HTMLElement_populate_props (DispatchEx *dispex)
 
static event_target_t ** HTMLElement_get_event_target_ptr (DispatchEx *dispex)
 
static void HTMLElement_bind_event (DispatchEx *dispex, int eid)
 
void HTMLElement_Init (HTMLElement *This, HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, dispex_static_data_t *dispex_data)
 
HRESULT HTMLElement_Create (HTMLDocumentNode *doc, nsIDOMNode *nsnode, BOOL use_generic, HTMLElement **ret)
 
HRESULT get_elem (HTMLDocumentNode *doc, nsIDOMElement *nselem, HTMLElement **ret)
 
static HRESULT WINAPI HTMLFiltersCollection_QueryInterface (IHTMLFiltersCollection *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI HTMLFiltersCollection_AddRef (IHTMLFiltersCollection *iface)
 
static ULONG WINAPI HTMLFiltersCollection_Release (IHTMLFiltersCollection *iface)
 
static HRESULT WINAPI HTMLFiltersCollection_GetTypeInfoCount (IHTMLFiltersCollection *iface, UINT *pctinfo)
 
static HRESULT WINAPI HTMLFiltersCollection_GetTypeInfo (IHTMLFiltersCollection *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
 
static HRESULT WINAPI HTMLFiltersCollection_GetIDsOfNames (IHTMLFiltersCollection *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
 
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 HTMLFiltersCollection_get_length (IHTMLFiltersCollection *iface, LONG *p)
 
static HRESULT WINAPI HTMLFiltersCollection_get__newEnum (IHTMLFiltersCollection *iface, IUnknown **p)
 
static HRESULT WINAPI HTMLFiltersCollection_item (IHTMLFiltersCollection *iface, VARIANT *pvarIndex, VARIANT *pvarResult)
 
static HRESULT HTMLFiltersCollection_get_dispid (DispatchEx *dispex, BSTR name, DWORD flags, DISPID *dispid)
 
static HRESULT HTMLFiltersCollection_invoke (DispatchEx *dispex, DISPID id, LCID lcid, WORD flags, DISPPARAMS *params, VARIANT *res, EXCEPINFO *ei, IServiceProvider *caller)
 
static HTMLAttributeCollectionimpl_from_IHTMLAttributeCollection (IHTMLAttributeCollection *iface)
 
static HRESULT WINAPI HTMLAttributeCollection_QueryInterface (IHTMLAttributeCollection *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI HTMLAttributeCollection_AddRef (IHTMLAttributeCollection *iface)
 
static ULONG WINAPI HTMLAttributeCollection_Release (IHTMLAttributeCollection *iface)
 
static HRESULT WINAPI HTMLAttributeCollection_GetTypeInfoCount (IHTMLAttributeCollection *iface, UINT *pctinfo)
 
static HRESULT WINAPI HTMLAttributeCollection_GetTypeInfo (IHTMLAttributeCollection *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
 
static HRESULT WINAPI HTMLAttributeCollection_GetIDsOfNames (IHTMLAttributeCollection *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
 
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 get_attr_dispid_by_idx (HTMLAttributeCollection *This, LONG *idx, DISPID *dispid)
 
static HRESULT get_attr_dispid_by_name (HTMLAttributeCollection *This, BSTR name, DISPID *id)
 
static HRESULT get_domattr (HTMLAttributeCollection *This, DISPID id, LONG *list_pos, HTMLDOMAttribute **attr)
 
static HRESULT WINAPI HTMLAttributeCollection_get_length (IHTMLAttributeCollection *iface, LONG *p)
 
static HRESULT WINAPI HTMLAttributeCollection__newEnum (IHTMLAttributeCollection *iface, IUnknown **p)
 
static HRESULT WINAPI HTMLAttributeCollection_item (IHTMLAttributeCollection *iface, VARIANT *name, IDispatch **ppItem)
 
static HTMLAttributeCollectionimpl_from_IHTMLAttributeCollection2 (IHTMLAttributeCollection2 *iface)
 
static HRESULT WINAPI HTMLAttributeCollection2_QueryInterface (IHTMLAttributeCollection2 *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI HTMLAttributeCollection2_AddRef (IHTMLAttributeCollection2 *iface)
 
static ULONG WINAPI HTMLAttributeCollection2_Release (IHTMLAttributeCollection2 *iface)
 
static HRESULT WINAPI HTMLAttributeCollection2_GetTypeInfoCount (IHTMLAttributeCollection2 *iface, UINT *pctinfo)
 
static HRESULT WINAPI HTMLAttributeCollection2_GetTypeInfo (IHTMLAttributeCollection2 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
 
static HRESULT WINAPI HTMLAttributeCollection2_GetIDsOfNames (IHTMLAttributeCollection2 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
 
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 HTMLAttributeCollection2_getNamedItem (IHTMLAttributeCollection2 *iface, BSTR bstrName, IHTMLDOMAttribute **newretNode)
 
static HRESULT WINAPI HTMLAttributeCollection2_setNamedItem (IHTMLAttributeCollection2 *iface, IHTMLDOMAttribute *ppNode, IHTMLDOMAttribute **newretNode)
 
static HRESULT WINAPI HTMLAttributeCollection2_removeNamedItem (IHTMLAttributeCollection2 *iface, BSTR bstrName, IHTMLDOMAttribute **newretNode)
 
static HTMLAttributeCollectionimpl_from_IHTMLAttributeCollection3 (IHTMLAttributeCollection3 *iface)
 
static HRESULT WINAPI HTMLAttributeCollection3_QueryInterface (IHTMLAttributeCollection3 *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI HTMLAttributeCollection3_AddRef (IHTMLAttributeCollection3 *iface)
 
static ULONG WINAPI HTMLAttributeCollection3_Release (IHTMLAttributeCollection3 *iface)
 
static HRESULT WINAPI HTMLAttributeCollection3_GetTypeInfoCount (IHTMLAttributeCollection3 *iface, UINT *pctinfo)
 
static HRESULT WINAPI HTMLAttributeCollection3_GetTypeInfo (IHTMLAttributeCollection3 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
 
static HRESULT WINAPI HTMLAttributeCollection3_GetIDsOfNames (IHTMLAttributeCollection3 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
 
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 HTMLAttributeCollection3_getNamedItem (IHTMLAttributeCollection3 *iface, BSTR bstrName, IHTMLDOMAttribute **ppNodeOut)
 
static HRESULT WINAPI HTMLAttributeCollection3_setNamedItem (IHTMLAttributeCollection3 *iface, IHTMLDOMAttribute *pNodeIn, IHTMLDOMAttribute **ppNodeOut)
 
static HRESULT WINAPI HTMLAttributeCollection3_removeNamedItem (IHTMLAttributeCollection3 *iface, BSTR bstrName, IHTMLDOMAttribute **ppNodeOut)
 
static HRESULT WINAPI HTMLAttributeCollection3_item (IHTMLAttributeCollection3 *iface, LONG index, IHTMLDOMAttribute **ppNodeOut)
 
static HRESULT WINAPI HTMLAttributeCollection3_get_length (IHTMLAttributeCollection3 *iface, LONG *p)
 
static HTMLAttributeCollectionHTMLAttributeCollection_from_DispatchEx (DispatchEx *iface)
 
static HRESULT HTMLAttributeCollection_get_dispid (DispatchEx *dispex, BSTR name, DWORD flags, DISPID *dispid)
 
static HRESULT HTMLAttributeCollection_invoke (DispatchEx *dispex, DISPID id, LCID lcid, WORD flags, DISPPARAMS *params, VARIANT *res, EXCEPINFO *ei, IServiceProvider *caller)
 
HRESULT HTMLElement_get_attr_col (HTMLDOMNode *iface, HTMLAttributeCollection **ac)
 

Variables

static const WCHAR aW [] = {'A',0}
 
static const WCHAR areaW [] = {'A','R','E','A',0}
 
static const WCHAR bodyW [] = {'B','O','D','Y',0}
 
static const WCHAR buttonW [] = {'B','U','T','T','O','N',0}
 
static const WCHAR embedW [] = {'E','M','B','E','D',0}
 
static const WCHAR formW [] = {'F','O','R','M',0}
 
static const WCHAR frameW [] = {'F','R','A','M','E',0}
 
static const WCHAR headW [] = {'H','E','A','D',0}
 
static const WCHAR iframeW [] = {'I','F','R','A','M','E',0}
 
static const WCHAR imgW [] = {'I','M','G',0}
 
static const WCHAR inputW [] = {'I','N','P','U','T',0}
 
static const WCHAR labelW [] = {'L','A','B','E','L',0}
 
static const WCHAR linkW [] = {'L','I','N','K',0}
 
static const WCHAR metaW [] = {'M','E','T','A',0}
 
static const WCHAR objectW [] = {'O','B','J','E','C','T',0}
 
static const WCHAR optionW [] = {'O','P','T','I','O','N',0}
 
static const WCHAR scriptW [] = {'S','C','R','I','P','T',0}
 
static const WCHAR selectW [] = {'S','E','L','E','C','T',0}
 
static const WCHAR styleW [] = {'S','T','Y','L','E',0}
 
static const WCHAR tableW [] = {'T','A','B','L','E',0}
 
static const WCHAR tdW [] = {'T','D',0}
 
static const WCHAR textareaW [] = {'T','E','X','T','A','R','E','A',0}
 
static const WCHAR title_tagW [] = {'T','I','T','L','E',0}
 
static const WCHAR trW [] = {'T','R',0}
 
static const tag_desc_t tag_descs []
 
static const IHTMLRectVtbl HTMLRectVtbl
 
static const tid_t HTMLRect_iface_tids []
 
static dispex_static_data_t HTMLRect_dispex
 
static const WCHAR titleW [] = {'t','i','t','l','e',0}
 
static const WCHAR languageW [] = {'l','a','n','g','u','a','g','e',0}
 
static const IHTMLElementVtbl HTMLElementVtbl
 
static const IHTMLElement2Vtbl HTMLElement2Vtbl
 
static const WCHAR disabledW [] = {'d','i','s','a','b','l','e','d',0}
 
static const IHTMLElement3Vtbl HTMLElement3Vtbl
 
static const IHTMLElement4Vtbl HTMLElement4Vtbl
 
cp_static_data_t HTMLElementEvents2_data = { HTMLElementEvents2_tid, NULL , TRUE }
 
const cpc_entry_t HTMLElement_cpc []
 
static const NodeImplVtbl HTMLElementImplVtbl
 
static const tid_t HTMLElement_iface_tids []
 
static dispex_static_data_vtbl_t HTMLElement_dispex_vtbl
 
static dispex_static_data_t HTMLElement_dispex
 
static const IHTMLFiltersCollectionVtbl HTMLFiltersCollectionVtbl
 
static const dispex_static_data_vtbl_t HTMLFiltersCollection_dispex_vtbl
 
static const tid_t HTMLFiltersCollection_iface_tids []
 
static dispex_static_data_t HTMLFiltersCollection_dispex
 
static const IHTMLAttributeCollectionVtbl HTMLAttributeCollectionVtbl
 
static const IHTMLAttributeCollection2Vtbl HTMLAttributeCollection2Vtbl
 
static const IHTMLAttributeCollection3Vtbl HTMLAttributeCollection3Vtbl
 
static const dispex_static_data_vtbl_t HTMLAttributeCollection_dispex_vtbl
 
static const tid_t HTMLAttributeCollection_iface_tids []
 
static dispex_static_data_t HTMLAttributeCollection_dispex
 

Function Documentation

◆ create_element()

HRESULT create_element ( HTMLDocumentNode doc,
const WCHAR tag,
HTMLElement **  ret 
)

Definition at line 275 of file htmlelem.c.

276 {
277  nsIDOMHTMLElement *nselem;
278  HRESULT hres;
279 
280  /* Use owner doc if called on document fragment */
281  if(!doc->nsdoc)
282  doc = doc->node.doc;
283 
284  hres = create_nselem(doc, tag, &nselem);
285  if(FAILED(hres))
286  return hres;
287 
288  hres = HTMLElement_Create(doc, (nsIDOMNode*)nselem, TRUE, ret);
289  nsIDOMHTMLElement_Release(nselem);
290  return hres;
291 }
#define TRUE
Definition: types.h:120
nsIDOMHTMLDocument * nsdoc
HRESULT create_nselem(HTMLDocumentNode *doc, const WCHAR *tag, nsIDOMHTMLElement **ret)
Definition: htmlelem.c:246
Definition: ecma_167.h:138
HRESULT hres
Definition: protocol.c:465
HRESULT HTMLElement_Create(HTMLDocumentNode *doc, nsIDOMNode *nsnode, BOOL use_generic, HTMLElement **ret)
Definition: htmlelem.c:4032
LONG HRESULT
Definition: typedefs.h:77
int ret
HTMLDOMNode node
HTMLDocumentNode * doc

Referenced by HTMLDocument_createElement(), and HTMLDocument_createStyleSheet().

◆ create_html_rect()

static HRESULT create_html_rect ( nsIDOMClientRect nsrect,
IHTMLRect **  ret 
)
static

Definition at line 518 of file htmlelem.c.

519 {
520  HTMLRect *rect;
521 
522  rect = heap_alloc_zero(sizeof(HTMLRect));
523  if(!rect)
524  return E_OUTOFMEMORY;
525 
526  rect->IHTMLRect_iface.lpVtbl = &HTMLRectVtbl;
527  rect->ref = 1;
528 
529  init_dispex(&rect->dispex, (IUnknown*)&rect->IHTMLRect_iface, &HTMLRect_dispex);
530 
531  nsIDOMClientRect_AddRef(nsrect);
532  rect->nsrect = nsrect;
533 
534  *ret = &rect->IHTMLRect_iface;
535  return S_OK;
536 }
static const IHTMLRectVtbl HTMLRectVtbl
Definition: htmlelem.c:489
& rect
Definition: startmenu.cpp:1413
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
int ret
#define S_OK
Definition: intsafe.h:59
HRESULT init_dispex(jsdisp_t *dispex, script_ctx_t *ctx, const builtin_info_t *builtin_info, jsdisp_t *prototype)
Definition: dispex.c:940
static dispex_static_data_t HTMLRect_dispex
Definition: htmlelem.c:511

Referenced by HTMLElement2_getBoundingClientRect().

◆ create_nselem()

HRESULT create_nselem ( HTMLDocumentNode doc,
const WCHAR tag,
nsIDOMHTMLElement **  ret 
)

Definition at line 246 of file htmlelem.c.

247 {
248  nsIDOMElement *nselem;
249  nsAString tag_str;
250  nsresult nsres;
251 
252  if(!doc->nsdoc) {
253  WARN("NULL nsdoc\n");
254  return E_UNEXPECTED;
255  }
256 
257  nsAString_InitDepend(&tag_str, tag);
258  nsres = nsIDOMHTMLDocument_CreateElement(doc->nsdoc, &tag_str, &nselem);
259  nsAString_Finish(&tag_str);
260  if(NS_FAILED(nsres)) {
261  ERR("CreateElement failed: %08x\n", nsres);
262  return E_FAIL;
263  }
264 
265  nsres = nsIDOMElement_QueryInterface(nselem, &IID_nsIDOMHTMLElement, (void**)ret);
266  nsIDOMElement_Release(nselem);
267  if(NS_FAILED(nsres)) {
268  ERR("Could not get nsIDOMHTMLElement iface: %08x\n", nsres);
269  return E_FAIL;
270  }
271 
272  return S_OK;
273 }
nsIDOMHTMLDocument * nsdoc
#define WARN(fmt,...)
Definition: debug.h:111
Definition: ecma_167.h:138
#define E_FAIL
Definition: ddrawi.h:102
#define NS_FAILED(res)
int ret
#define ERR(fmt,...)
Definition: debug.h:109
#define S_OK
Definition: intsafe.h:59
void nsAString_InitDepend(nsAString *, const PRUnichar *) DECLSPEC_HIDDEN
Definition: nsembed.c:826
#define E_UNEXPECTED
Definition: winerror.h:2456
void nsAString_Finish(nsAString *) DECLSPEC_HIDDEN
Definition: nsembed.c:836
HRESULT nsresult
Definition: nsiface.idl:39

Referenced by create_element(), exec_hyperlink(), exec_indent(), HTMLImageElementFactory_create(), HTMLOptionElementFactory_create(), and set_font_size().

◆ elem_string_attr_getter()

HRESULT elem_string_attr_getter ( HTMLElement elem,
const WCHAR name,
BOOL  use_null,
BSTR p 
)

Definition at line 162 of file htmlelem.c.

163 {
164  const PRUnichar *val;
165  nsAString val_str;
166  nsresult nsres;
167  HRESULT hres = S_OK;
168 
169  nsres = get_elem_attr_value(elem->nselem, name, &val_str, &val);
170  if(NS_FAILED(nsres))
171  return E_FAIL;
172 
173  TRACE("%s: returning %s\n", debugstr_w(name), debugstr_w(val));
174 
175  if(*val || !use_null) {
176  *p = SysAllocString(val);
177  if(!*p)
179  }else {
180  *p = NULL;
181  }
182  nsAString_Finish(&val_str);
183  return hres;
184 }
nsresult get_elem_attr_value(nsIDOMHTMLElement *nselem, const WCHAR *name, nsAString *val_str, const PRUnichar **val)
Definition: htmlelem.c:143
#define E_FAIL
Definition: ddrawi.h:102
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
#define debugstr_w
Definition: kernel32.h:32
static size_t elem
Definition: string.c:68
smooth NULL
Definition: ftsmooth.c:416
BSTR WINAPI SysAllocString(LPCOLESTR str)
Definition: oleaut.c:241
GLuint GLfloat * val
Definition: glext.h:7180
#define NS_FAILED(res)
#define TRACE(s)
Definition: solgame.cpp:4
HRESULT hres
Definition: protocol.c:465
LONG HRESULT
Definition: typedefs.h:77
#define S_OK
Definition: intsafe.h:59
void nsAString_Finish(nsAString *) DECLSPEC_HIDDEN
Definition: nsembed.c:836
Definition: name.c:36
HRESULT nsresult
Definition: nsiface.idl:39
WCHAR PRUnichar
Definition: nsiface.idl:48
GLfloat GLfloat p
Definition: glext.h:8902

Referenced by HTMLElement_get_language(), HTMLLabelElement_get_htmlFor(), HTMLMetaElement_get_charset(), HTMLMetaElement_get_content(), HTMLMetaElement_get_httpEquiv(), and HTMLMetaElement_get_name().

◆ elem_string_attr_setter()

HRESULT elem_string_attr_setter ( HTMLElement elem,
const WCHAR name,
const WCHAR value 
)

Definition at line 186 of file htmlelem.c.

187 {
188  nsAString name_str, val_str;
189  nsresult nsres;
190 
191  nsAString_InitDepend(&name_str, name);
192  nsAString_InitDepend(&val_str, value);
193  nsres = nsIDOMHTMLElement_SetAttribute(elem->nselem, &name_str, &val_str);
194  nsAString_Finish(&name_str);
195  nsAString_Finish(&val_str);
196 
197  if(NS_FAILED(nsres)) {
198  WARN("SetAttribute failed: %08x\n", nsres);
199  return E_FAIL;
200  }
201 
202  return S_OK;
203 }
#define WARN(fmt,...)
Definition: debug.h:111
#define E_FAIL
Definition: ddrawi.h:102
static size_t elem
Definition: string.c:68
#define NS_FAILED(res)
#define S_OK
Definition: intsafe.h:59
void nsAString_InitDepend(nsAString *, const PRUnichar *) DECLSPEC_HIDDEN
Definition: nsembed.c:826
void nsAString_Finish(nsAString *) DECLSPEC_HIDDEN
Definition: nsembed.c:836
Definition: name.c:36
HRESULT nsresult
Definition: nsiface.idl:39

Referenced by HTMLElement_put_language(), HTMLMetaElement_put_charset(), and HTMLObjectElement2_put_classid().

◆ get_attr_dispid_by_idx()

static HRESULT get_attr_dispid_by_idx ( HTMLAttributeCollection This,
LONG idx,
DISPID dispid 
)
static

Definition at line 4364 of file htmlelem.c.

4365 {
4366  IDispatchEx *dispex = &This->elem->node.event_target.dispex.IDispatchEx_iface;
4367  DISPID id = DISPID_STARTENUM;
4368  LONG len = -1;
4369  HRESULT hres;
4370 
4371  FIXME("filter non-enumerable attributes out\n");
4372 
4373  while(1) {
4374  hres = IDispatchEx_GetNextDispID(dispex, fdexEnumAll, id, &id);
4375  if(FAILED(hres))
4376  return hres;
4377  else if(hres == S_FALSE)
4378  break;
4379 
4380  len++;
4381  if(len == *idx)
4382  break;
4383  }
4384 
4385  if(dispid) {
4386  *dispid = id;
4387  return *idx==len ? S_OK : DISP_E_UNKNOWNNAME;
4388  }
4389 
4390  *idx = len+1;
4391  return S_OK;
4392 }
#define DISP_E_UNKNOWNNAME
Definition: winerror.h:2515
long LONG
Definition: pedump.c:60
#define FIXME(fmt,...)
Definition: debug.h:110
unsigned int idx
Definition: utils.c:41
#define S_FALSE
Definition: winerror.h:2357
HRESULT hres
Definition: protocol.c:465
LONG HRESULT
Definition: typedefs.h:77
GLenum GLsizei len
Definition: glext.h:6722
#define S_OK
Definition: intsafe.h:59
static VARIANTARG static DISPID
Definition: ordinal.c:49
GLenum GLuint id
Definition: glext.h:5579

Referenced by get_attr_dispid_by_name(), HTMLAttributeCollection3_item(), HTMLAttributeCollection_get_length(), and HTMLAttributeCollection_item().

◆ get_attr_dispid_by_name()

static HRESULT get_attr_dispid_by_name ( HTMLAttributeCollection This,
BSTR  name,
DISPID id 
)
inlinestatic

Definition at line 4394 of file htmlelem.c.

4395 {
4396  HRESULT hres;
4397 
4398  if(name[0]>='0' && name[0]<='9') {
4399  WCHAR *end_ptr;
4400  LONG idx;
4401 
4402  idx = strtoulW(name, &end_ptr, 10);
4403  if(!*end_ptr) {
4405  if(SUCCEEDED(hres))
4406  return hres;
4407  }
4408  }
4409 
4410  if(!This->elem) {
4411  WARN("NULL elem\n");
4412  return E_UNEXPECTED;
4413  }
4414 
4415  hres = IDispatchEx_GetDispID(&This->elem->node.event_target.dispex.IDispatchEx_iface,
4416  name, fdexNameCaseInsensitive, id);
4417  return hres;
4418 }
#define WARN(fmt,...)
Definition: debug.h:111
static HRESULT get_attr_dispid_by_idx(HTMLAttributeCollection *This, LONG *idx, DISPID *dispid)
Definition: htmlelem.c:4364
long LONG
Definition: pedump.c:60
unsigned int idx
Definition: utils.c:41
HRESULT hres
Definition: protocol.c:465
__wchar_t WCHAR
Definition: xmlstorage.h:180
LONG HRESULT
Definition: typedefs.h:77
#define E_UNEXPECTED
Definition: winerror.h:2456
Definition: name.c:36
#define strtoulW(s1, s2, b)
Definition: unicode.h:41
#define SUCCEEDED(hr)
Definition: intsafe.h:57

Referenced by HTMLAttributeCollection2_getNamedItem(), HTMLAttributeCollection_get_dispid(), and HTMLAttributeCollection_item().

◆ get_domattr()

static HRESULT get_domattr ( HTMLAttributeCollection This,
DISPID  id,
LONG list_pos,
HTMLDOMAttribute **  attr 
)
inlinestatic

Definition at line 4420 of file htmlelem.c.

4421 {
4422  HTMLDOMAttribute *iter;
4423  LONG pos = 0;
4424  HRESULT hres;
4425 
4426  *attr = NULL;
4427  LIST_FOR_EACH_ENTRY(iter, &This->attrs, HTMLDOMAttribute, entry) {
4428  if(iter->dispid == id) {
4429  *attr = iter;
4430  break;
4431  }
4432  pos++;
4433  }
4434 
4435  if(!*attr) {
4436  if(!This->elem) {
4437  WARN("NULL elem\n");
4438  return E_UNEXPECTED;
4439  }
4440 
4441  hres = HTMLDOMAttribute_Create(NULL, This->elem, id, attr);
4442  if(FAILED(hres))
4443  return hres;
4444  }
4445 
4446  IHTMLDOMAttribute_AddRef(&(*attr)->IHTMLDOMAttribute_iface);
4447  if(list_pos)
4448  *list_pos = pos;
4449  return S_OK;
4450 }
uint8_t entry
Definition: isohybrid.c:63
#define WARN(fmt,...)
Definition: debug.h:111
HRESULT HTMLDOMAttribute_Create(const WCHAR *name, HTMLElement *elem, DISPID dispid, HTMLDOMAttribute **attr)
Definition: htmlattr.c:473
#define LIST_FOR_EACH_ENTRY(elem, list, type, field)
Definition: list.h:198
long LONG
Definition: pedump.c:60
smooth NULL
Definition: ftsmooth.c:416
HRESULT hres
Definition: protocol.c:465
LONG HRESULT
Definition: typedefs.h:77
Definition: cookie.c:170
#define S_OK
Definition: intsafe.h:59
#define E_UNEXPECTED
Definition: winerror.h:2456

Referenced by HTMLAttributeCollection2_getNamedItem(), HTMLAttributeCollection3_item(), HTMLAttributeCollection_get_dispid(), and HTMLAttributeCollection_item().

◆ get_elem()

HRESULT get_elem ( HTMLDocumentNode doc,
nsIDOMElement nselem,
HTMLElement **  ret 
)

Definition at line 4078 of file htmlelem.c.

4079 {
4080  HTMLDOMNode *node;
4081  HRESULT hres;
4082 
4083  hres = get_node(doc, (nsIDOMNode*)nselem, TRUE, &node);
4084  if(FAILED(hres))
4085  return hres;
4086 
4088  return S_OK;
4089 }
#define TRUE
Definition: types.h:120
struct node node
HRESULT hres
Definition: protocol.c:465
LONG HRESULT
Definition: typedefs.h:77
int ret
#define S_OK
Definition: intsafe.h:59
HRESULT get_node(HTMLDocumentNode *This, nsIDOMNode *nsnode, BOOL create, HTMLDOMNode **ret)
Definition: htmlnode.c:1339
static HTMLElement * impl_from_HTMLDOMNode(HTMLDOMNode *iface)
Definition: htmlelem.c:3733
Definition: dlist.c:348

Referenced by get_doc_elem_by_id(), and HTMLDocument_get_activeElement().

◆ get_elem_attr_value()

nsresult get_elem_attr_value ( nsIDOMHTMLElement nselem,
const WCHAR name,
nsAString val_str,
const PRUnichar **  val 
)

Definition at line 143 of file htmlelem.c.

144 {
145  nsAString name_str;
146  nsresult nsres;
147 
148  nsAString_InitDepend(&name_str, name);
149  nsAString_Init(val_str, NULL);
150  nsres = nsIDOMHTMLElement_GetAttribute(nselem, &name_str, val_str);
151  nsAString_Finish(&name_str);
152  if(NS_FAILED(nsres)) {
153  ERR("GetAttribute(%s) failed: %08x\n", debugstr_w(name), nsres);
154  nsAString_Finish(val_str);
155  return nsres;
156  }
157 
158  nsAString_GetData(val_str, val);
159  return NS_OK;
160 }
#define NS_OK
#define debugstr_w
Definition: kernel32.h:32
smooth NULL
Definition: ftsmooth.c:416
GLuint GLfloat * val
Definition: glext.h:7180
#define NS_FAILED(res)
UINT32 nsAString_GetData(const nsAString *, const PRUnichar **) DECLSPEC_HIDDEN
Definition: nsembed.c:831
#define ERR(fmt,...)
Definition: debug.h:109
void nsAString_InitDepend(nsAString *, const PRUnichar *) DECLSPEC_HIDDEN
Definition: nsembed.c:826
BOOL nsAString_Init(nsAString *, const PRUnichar *) DECLSPEC_HIDDEN
Definition: nsembed.c:817
void nsAString_Finish(nsAString *) DECLSPEC_HIDDEN
Definition: nsembed.c:836
Definition: name.c:36
HRESULT nsresult
Definition: nsiface.idl:39

Referenced by check_codebase(), check_event_attr(), elem_string_attr_getter(), fill_props(), get_elem_clsid(), get_font_size(), get_script_guid(), HTMLFormElement_get_dispid(), and is_elem_name().

◆ get_elem_attr_value_by_dispid()

HRESULT get_elem_attr_value_by_dispid ( HTMLElement elem,
DISPID  dispid,
DWORD  flags,
VARIANT ret 
)

Definition at line 621 of file htmlelem.c.

622 {
623  DISPPARAMS dispParams = {NULL, NULL, 0, 0};
624  EXCEPINFO excep;
625  HRESULT hres;
626 
627  hres = IDispatchEx_InvokeEx(&elem->node.event_target.dispex.IDispatchEx_iface, dispid, LOCALE_SYSTEM_DEFAULT,
628  DISPATCH_PROPERTYGET, &dispParams, ret, &excep, NULL);
629  if(FAILED(hres))
630  return hres;
631 
632  if(flags & ATTRFLAG_ASSTRING) {
633  switch(V_VT(ret)) {
634  case VT_BSTR:
635  break;
636  case VT_DISPATCH:
637  IDispatch_Release(V_DISPATCH(ret));
638  V_VT(ret) = VT_BSTR;
640  break;
641  default:
643  if(FAILED(hres))
644  return hres;
645  }
646  }
647 
648  return S_OK;
649 }
HRESULT WINAPI DECLSPEC_HOTPATCH VariantChangeType(VARIANTARG *pvargDest, VARIANTARG *pvargSrc, USHORT wFlags, VARTYPE vt)
Definition: variant.c:965
#define DISPATCH_PROPERTYGET
Definition: oleauto.h:1007
#define V_DISPATCH(A)
Definition: oleauto.h:239
#define ATTRFLAG_ASSTRING
static size_t elem
Definition: string.c:68
smooth NULL
Definition: ftsmooth.c:416
BSTR WINAPI SysAllocString(LPCOLESTR str)
Definition: oleaut.c:241
HRESULT hres
Definition: protocol.c:465
LONG HRESULT
Definition: typedefs.h:77
#define LOCALE_SYSTEM_DEFAULT
GLbitfield flags
Definition: glext.h:7161
int ret
#define V_VT(A)
Definition: oleauto.h:211
#define V_BSTR(A)
Definition: oleauto.h:226
struct stdole::EXCEPINFO EXCEPINFO
#define S_OK
Definition: intsafe.h:59
struct stdole::DISPPARAMS DISPPARAMS

Referenced by HTMLDOMAttribute2_get_value(), HTMLDOMAttribute_get_nodeValue(), and HTMLElement_getAttribute().

◆ get_readystate_string()

HRESULT get_readystate_string ( READYSTATE  readystate,
BSTR p 
)

Definition at line 205 of file htmlelem.c.

206 {
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};
212 
213  static const LPCWSTR readystate_strs[] = {
214  uninitializedW,
215  loadingW,
216  loadedW,
217  interactiveW,
218  completeW
219  };
220 
221  assert(readystate <= READYSTATE_COMPLETE);
222  *p = SysAllocString(readystate_strs[readystate]);
223  return *p ? S_OK : E_OUTOFMEMORY;
224 }
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
#define assert(x)
Definition: debug.h:53
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
BSTR WINAPI SysAllocString(LPCOLESTR str)
Definition: oleaut.c:241
__wchar_t WCHAR
Definition: xmlstorage.h:180
#define S_OK
Definition: intsafe.h:59
GLfloat GLfloat p
Definition: glext.h:8902

Referenced by HTMLDocument_get_readyState(), and HTMLScriptElement_get_readyState().

◆ get_tag_desc()

static const tag_desc_t* get_tag_desc ( const WCHAR tag_name)
static

Definition at line 78 of file htmlelem.c.

79 {
80  DWORD min=0, max=sizeof(tag_descs)/sizeof(*tag_descs)-1, i;
81  int r;
82 
83  while(min <= max) {
84  i = (min+max)/2;
85  r = strcmpW(tag_name, tag_descs[i].name);
86  if(!r)
87  return tag_descs+i;
88 
89  if(r < 0)
90  max = i-1;
91  else
92  min = i+1;
93  }
94 
95  return NULL;
96 }
#define max(a, b)
Definition: svc.c:63
GLdouble GLdouble GLdouble r
Definition: gl.h:2055
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
Definition: glfuncs.h:248
smooth NULL
Definition: ftsmooth.c:416
unsigned long DWORD
Definition: ntddk_ex.h:95
#define min(a, b)
Definition: monoChain.cc:55
Definition: name.c:36
WINE_UNICODE_INLINE int strcmpW(const WCHAR *str1, const WCHAR *str2)
Definition: unicode.h:229
static const tag_desc_t tag_descs[]
Definition: htmlelem.c:51

Referenced by HTMLElement_Create().

◆ HTMLAttributeCollection2_AddRef()

static ULONG WINAPI HTMLAttributeCollection2_AddRef ( IHTMLAttributeCollection2 *  iface)
static

Definition at line 4528 of file htmlelem.c.

4529 {
4531  return IHTMLAttributeCollection_AddRef(&This->IHTMLAttributeCollection_iface);
4532 }
static HTMLAttributeCollection * impl_from_IHTMLAttributeCollection2(IHTMLAttributeCollection2 *iface)
Definition: htmlelem.c:4517

◆ HTMLAttributeCollection2_GetIDsOfNames()

static HRESULT WINAPI HTMLAttributeCollection2_GetIDsOfNames ( IHTMLAttributeCollection2 *  iface,
REFIID  riid,
LPOLESTR rgszNames,
UINT  cNames,
LCID  lcid,
DISPID rgDispId 
)
static

Definition at line 4553 of file htmlelem.c.

4555 {
4557  return IDispatchEx_GetIDsOfNames(&This->dispex.IDispatchEx_iface, riid, rgszNames, cNames,
4558  lcid, rgDispId);
4559 }
REFIID riid
Definition: precomp.h:44
static HTMLAttributeCollection * impl_from_IHTMLAttributeCollection2(IHTMLAttributeCollection2 *iface)
Definition: htmlelem.c:4517

◆ HTMLAttributeCollection2_getNamedItem()

static HRESULT WINAPI HTMLAttributeCollection2_getNamedItem ( IHTMLAttributeCollection2 *  iface,
BSTR  bstrName,
IHTMLDOMAttribute **  newretNode 
)
static

Definition at line 4570 of file htmlelem.c.

4572 {
4575  DISPID id;
4576  HRESULT hres;
4577 
4578  TRACE("(%p)->(%s %p)\n", This, debugstr_w(bstrName), newretNode);
4579 
4580  hres = get_attr_dispid_by_name(This, bstrName, &id);
4581  if(hres == DISP_E_UNKNOWNNAME) {
4582  *newretNode = NULL;
4583  return S_OK;
4584  } else if(FAILED(hres)) {
4585  return hres;
4586  }
4587 
4588  hres = get_domattr(This, id, NULL, &attr);
4589  if(FAILED(hres))
4590  return hres;
4591 
4592  *newretNode = &attr->IHTMLDOMAttribute_iface;
4593  return S_OK;
4594 }
#define DISP_E_UNKNOWNNAME
Definition: winerror.h:2515
static HRESULT get_domattr(HTMLAttributeCollection *This, DISPID id, LONG *list_pos, HTMLDOMAttribute **attr)
Definition: htmlelem.c:4420
#define debugstr_w
Definition: kernel32.h:32
smooth NULL
Definition: ftsmooth.c:416
static HTMLAttributeCollection * impl_from_IHTMLAttributeCollection2(IHTMLAttributeCollection2 *iface)
Definition: htmlelem.c:4517
#define TRACE(s)
Definition: solgame.cpp:4
HRESULT hres
Definition: protocol.c:465
LONG HRESULT
Definition: typedefs.h:77
Definition: cookie.c:170
__u8 attr
Definition: mkdosfs.c:359
static HRESULT get_attr_dispid_by_name(HTMLAttributeCollection *This, BSTR name, DISPID *id)
Definition: htmlelem.c:4394
#define S_OK
Definition: intsafe.h:59
static VARIANTARG static DISPID
Definition: ordinal.c:49
GLenum GLuint id
Definition: glext.h:5579

◆ HTMLAttributeCollection2_GetTypeInfo()

static HRESULT WINAPI HTMLAttributeCollection2_GetTypeInfo ( IHTMLAttributeCollection2 *  iface,
UINT  iTInfo,
LCID  lcid,
ITypeInfo **  ppTInfo 
)
static

Definition at line 4546 of file htmlelem.c.

4548 {
4550  return IDispatchEx_GetTypeInfo(&This->dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
4551 }
static HTMLAttributeCollection * impl_from_IHTMLAttributeCollection2(IHTMLAttributeCollection2 *iface)
Definition: htmlelem.c:4517

◆ HTMLAttributeCollection2_GetTypeInfoCount()

static HRESULT WINAPI HTMLAttributeCollection2_GetTypeInfoCount ( IHTMLAttributeCollection2 *  iface,
UINT pctinfo 
)
static

Definition at line 4540 of file htmlelem.c.

4541 {
4543  return IDispatchEx_GetTypeInfoCount(&This->dispex.IDispatchEx_iface, pctinfo);
4544 }
static HTMLAttributeCollection * impl_from_IHTMLAttributeCollection2(IHTMLAttributeCollection2 *iface)
Definition: htmlelem.c:4517

◆ HTMLAttributeCollection2_Invoke()

static HRESULT WINAPI HTMLAttributeCollection2_Invoke ( IHTMLAttributeCollection2 *  iface,
DISPID  dispIdMember,
REFIID  riid,
LCID  lcid,
WORD  wFlags,
DISPPARAMS *  pDispParams,
VARIANT pVarResult,
EXCEPINFO *  pExcepInfo,
UINT puArgErr 
)
static

Definition at line 4561 of file htmlelem.c.

4564 {
4566  return IDispatchEx_Invoke(&This->dispex.IDispatchEx_iface, dispIdMember, riid, lcid,
4567  wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
4568 }
REFIID riid
Definition: precomp.h:44
static HTMLAttributeCollection * impl_from_IHTMLAttributeCollection2(IHTMLAttributeCollection2 *iface)
Definition: htmlelem.c:4517
_In_ DWORD _Out_ _In_ WORD wFlags
Definition: wincon.h:519

◆ HTMLAttributeCollection2_QueryInterface()

static HRESULT WINAPI HTMLAttributeCollection2_QueryInterface ( IHTMLAttributeCollection2 *  iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 4522 of file htmlelem.c.

4523 {
4525  return IHTMLAttributeCollection_QueryInterface(&This->IHTMLAttributeCollection_iface, riid, ppv);
4526 }
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39
static HTMLAttributeCollection * impl_from_IHTMLAttributeCollection2(IHTMLAttributeCollection2 *iface)
Definition: htmlelem.c:4517

◆ HTMLAttributeCollection2_Release()

static ULONG WINAPI HTMLAttributeCollection2_Release ( IHTMLAttributeCollection2 *  iface)
static

Definition at line 4534 of file htmlelem.c.

4535 {
4537  return IHTMLAttributeCollection_Release(&This->IHTMLAttributeCollection_iface);
4538 }
static HTMLAttributeCollection * impl_from_IHTMLAttributeCollection2(IHTMLAttributeCollection2 *iface)
Definition: htmlelem.c:4517

◆ HTMLAttributeCollection2_removeNamedItem()

static HRESULT WINAPI HTMLAttributeCollection2_removeNamedItem ( IHTMLAttributeCollection2 *  iface,
BSTR  bstrName,
IHTMLDOMAttribute **  newretNode 
)
static

Definition at line 4604 of file htmlelem.c.

4606 {
4608  FIXME("(%p)->(%s %p)\n", This, debugstr_w(bstrName), newretNode);
4609  return E_NOTIMPL;
4610 }
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
static HTMLAttributeCollection * impl_from_IHTMLAttributeCollection2(IHTMLAttributeCollection2 *iface)
Definition: htmlelem.c:4517
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ HTMLAttributeCollection2_setNamedItem()

static HRESULT WINAPI HTMLAttributeCollection2_setNamedItem ( IHTMLAttributeCollection2 *  iface,
IHTMLDOMAttribute *  ppNode,
IHTMLDOMAttribute **  newretNode 
)
static

Definition at line 4596 of file htmlelem.c.

4598 {
4600  FIXME("(%p)->(%p %p)\n", This, ppNode, newretNode);
4601  return E_NOTIMPL;
4602 }
#define FIXME(fmt,...)
Definition: debug.h:110
static HTMLAttributeCollection * impl_from_IHTMLAttributeCollection2(IHTMLAttributeCollection2 *iface)
Definition: htmlelem.c:4517
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ HTMLAttributeCollection3_AddRef()

static ULONG WINAPI HTMLAttributeCollection3_AddRef ( IHTMLAttributeCollection3 *  iface)
static

Definition at line 4636 of file htmlelem.c.

4637 {
4639  return IHTMLAttributeCollection_AddRef(&This->IHTMLAttributeCollection_iface);
4640 }
static HTMLAttributeCollection * impl_from_IHTMLAttributeCollection3(IHTMLAttributeCollection3 *iface)
Definition: htmlelem.c:4625

◆ HTMLAttributeCollection3_get_length()

static HRESULT WINAPI HTMLAttributeCollection3_get_length ( IHTMLAttributeCollection3 *  iface,
LONG p 
)
static

Definition at line 4724 of file htmlelem.c.

4725 {
4727  return IHTMLAttributeCollection_get_length(&This->IHTMLAttributeCollection_iface, p);
4728 }
static HTMLAttributeCollection * impl_from_IHTMLAttributeCollection3(IHTMLAttributeCollection3 *iface)
Definition: htmlelem.c:4625
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLAttributeCollection3_GetIDsOfNames()

static HRESULT WINAPI HTMLAttributeCollection3_GetIDsOfNames ( IHTMLAttributeCollection3 *  iface,
REFIID  riid,
LPOLESTR rgszNames,
UINT  cNames,
LCID  lcid,
DISPID rgDispId 
)
static

Definition at line 4661 of file htmlelem.c.

4663 {
4665  return IDispatchEx_GetIDsOfNames(&This->dispex.IDispatchEx_iface, riid, rgszNames, cNames,
4666  lcid, rgDispId);
4667 }
REFIID riid
Definition: precomp.h:44
static HTMLAttributeCollection * impl_from_IHTMLAttributeCollection3(IHTMLAttributeCollection3 *iface)
Definition: htmlelem.c:4625

◆ HTMLAttributeCollection3_getNamedItem()

static HRESULT WINAPI HTMLAttributeCollection3_getNamedItem ( IHTMLAttributeCollection3 *  iface,
BSTR  bstrName,
IHTMLDOMAttribute **  ppNodeOut 
)
static

Definition at line 4678 of file htmlelem.c.

4680 {
4682  return IHTMLAttributeCollection2_getNamedItem(&This->IHTMLAttributeCollection2_iface, bstrName, ppNodeOut);
4683 }
static HTMLAttributeCollection * impl_from_IHTMLAttributeCollection3(IHTMLAttributeCollection3 *iface)
Definition: htmlelem.c:4625

◆ HTMLAttributeCollection3_GetTypeInfo()

static HRESULT WINAPI HTMLAttributeCollection3_GetTypeInfo ( IHTMLAttributeCollection3 *  iface,
UINT  iTInfo,
LCID  lcid,
ITypeInfo **  ppTInfo 
)
static

Definition at line 4654 of file htmlelem.c.

4656 {
4658  return IDispatchEx_GetTypeInfo(&This->dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
4659 }
static HTMLAttributeCollection * impl_from_IHTMLAttributeCollection3(IHTMLAttributeCollection3 *iface)
Definition: htmlelem.c:4625

◆ HTMLAttributeCollection3_GetTypeInfoCount()

static HRESULT WINAPI HTMLAttributeCollection3_GetTypeInfoCount ( IHTMLAttributeCollection3 *  iface,
UINT pctinfo 
)
static

Definition at line 4648 of file htmlelem.c.

4649 {
4651  return IDispatchEx_GetTypeInfoCount(&This->dispex.IDispatchEx_iface, pctinfo);
4652 }
static HTMLAttributeCollection * impl_from_IHTMLAttributeCollection3(IHTMLAttributeCollection3 *iface)
Definition: htmlelem.c:4625

◆ HTMLAttributeCollection3_Invoke()

static HRESULT WINAPI HTMLAttributeCollection3_Invoke ( IHTMLAttributeCollection3 *  iface,
DISPID  dispIdMember,
REFIID  riid,
LCID  lcid,
WORD  wFlags,
DISPPARAMS *  pDispParams,
VARIANT pVarResult,
EXCEPINFO *  pExcepInfo,
UINT puArgErr 
)
static

Definition at line 4669 of file htmlelem.c.

4672 {
4674  return IDispatchEx_Invoke(&This->dispex.IDispatchEx_iface, dispIdMember, riid, lcid,
4675  wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
4676 }
REFIID riid
Definition: precomp.h:44
static HTMLAttributeCollection * impl_from_IHTMLAttributeCollection3(IHTMLAttributeCollection3 *iface)
Definition: htmlelem.c:4625
_In_ DWORD _Out_ _In_ WORD wFlags
Definition: wincon.h:519

◆ HTMLAttributeCollection3_item()

static HRESULT WINAPI HTMLAttributeCollection3_item ( IHTMLAttributeCollection3 *  iface,
LONG  index,
IHTMLDOMAttribute **  ppNodeOut 
)
static

Definition at line 4701 of file htmlelem.c.

4702 {
4705  DISPID id;
4706  HRESULT hres;
4707 
4708  TRACE("(%p)->(%d %p)\n", This, index, ppNodeOut);
4709 
4711  if(hres == DISP_E_UNKNOWNNAME)
4712  return E_INVALIDARG;
4713  if(FAILED(hres))
4714  return hres;
4715 
4716  hres = get_domattr(This, id, NULL, &attr);
4717  if(FAILED(hres))
4718  return hres;
4719 
4720  *ppNodeOut = &attr->IHTMLDOMAttribute_iface;
4721  return S_OK;
4722 }
#define DISP_E_UNKNOWNNAME
Definition: winerror.h:2515
static HRESULT get_domattr(HTMLAttributeCollection *This, DISPID id, LONG *list_pos, HTMLDOMAttribute **attr)
Definition: htmlelem.c:4420
static HRESULT get_attr_dispid_by_idx(HTMLAttributeCollection *This, LONG *idx, DISPID *dispid)
Definition: htmlelem.c:4364
#define E_INVALIDARG
Definition: ddrawi.h:101
smooth NULL
Definition: ftsmooth.c:416
GLuint index
Definition: glext.h:6031
#define TRACE(s)
Definition: solgame.cpp:4
HRESULT hres
Definition: protocol.c:465
LONG HRESULT
Definition: typedefs.h:77
Definition: cookie.c:170
static HTMLAttributeCollection * impl_from_IHTMLAttributeCollection3(IHTMLAttributeCollection3 *iface)
Definition: htmlelem.c:4625
__u8 attr
Definition: mkdosfs.c:359
#define S_OK
Definition: intsafe.h:59
static VARIANTARG static DISPID
Definition: ordinal.c:49
GLenum GLuint id
Definition: glext.h:5579

◆ HTMLAttributeCollection3_QueryInterface()

static HRESULT WINAPI HTMLAttributeCollection3_QueryInterface ( IHTMLAttributeCollection3 *  iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 4630 of file htmlelem.c.

4631 {
4633  return IHTMLAttributeCollection_QueryInterface(&This->IHTMLAttributeCollection_iface, riid, ppv);
4634 }
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39
static HTMLAttributeCollection * impl_from_IHTMLAttributeCollection3(IHTMLAttributeCollection3 *iface)
Definition: htmlelem.c:4625

◆ HTMLAttributeCollection3_Release()

static ULONG WINAPI HTMLAttributeCollection3_Release ( IHTMLAttributeCollection3 *  iface)
static

Definition at line 4642 of file htmlelem.c.

4643 {
4645  return IHTMLAttributeCollection_Release(&This->IHTMLAttributeCollection_iface);
4646 }
static HTMLAttributeCollection * impl_from_IHTMLAttributeCollection3(IHTMLAttributeCollection3 *iface)
Definition: htmlelem.c:4625

◆ HTMLAttributeCollection3_removeNamedItem()

static HRESULT WINAPI HTMLAttributeCollection3_removeNamedItem ( IHTMLAttributeCollection3 *  iface,
BSTR  bstrName,
IHTMLDOMAttribute **  ppNodeOut 
)
static

Definition at line 4693 of file htmlelem.c.

4695 {
4697  FIXME("(%p)->(%s %p)\n", This, debugstr_w(bstrName), ppNodeOut);
4698  return E_NOTIMPL;
4699 }
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
static HTMLAttributeCollection * impl_from_IHTMLAttributeCollection3(IHTMLAttributeCollection3 *iface)
Definition: htmlelem.c:4625
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ HTMLAttributeCollection3_setNamedItem()

static HRESULT WINAPI HTMLAttributeCollection3_setNamedItem ( IHTMLAttributeCollection3 *  iface,
IHTMLDOMAttribute *  pNodeIn,
IHTMLDOMAttribute **  ppNodeOut 
)
static

Definition at line 4685 of file htmlelem.c.

4687 {
4689  FIXME("(%p)->(%p %p)\n", This, pNodeIn, ppNodeOut);
4690  return E_NOTIMPL;
4691 }
#define FIXME(fmt,...)
Definition: debug.h:110
static HTMLAttributeCollection * impl_from_IHTMLAttributeCollection3(IHTMLAttributeCollection3 *iface)
Definition: htmlelem.c:4625
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ HTMLAttributeCollection__newEnum()

static HRESULT WINAPI HTMLAttributeCollection__newEnum ( IHTMLAttributeCollection *  iface,
IUnknown **  p 
)
static

Definition at line 4464 of file htmlelem.c.

4465 {
4467  FIXME("(%p)->(%p)\n", This, p);
4468  return E_NOTIMPL;
4469 }
static HTMLAttributeCollection * impl_from_IHTMLAttributeCollection(IHTMLAttributeCollection *iface)
Definition: htmlelem.c:4271
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLAttributeCollection_AddRef()

static ULONG WINAPI HTMLAttributeCollection_AddRef ( IHTMLAttributeCollection *  iface)
static

Definition at line 4302 of file htmlelem.c.

4303 {
4305  LONG ref = InterlockedIncrement(&This->ref);
4306 
4307  TRACE("(%p) ref=%d\n", This, ref);
4308 
4309  return ref;
4310 }
static HTMLAttributeCollection * impl_from_IHTMLAttributeCollection(IHTMLAttributeCollection *iface)
Definition: htmlelem.c:4271
Definition: send.c:47
long LONG
Definition: pedump.c:60
GLenum GLint ref
Definition: glext.h:6028
#define TRACE(s)
Definition: solgame.cpp:4
#define InterlockedIncrement
Definition: armddk.h:53

◆ HTMLAttributeCollection_from_DispatchEx()

static HTMLAttributeCollection* HTMLAttributeCollection_from_DispatchEx ( DispatchEx iface)
inlinestatic

Definition at line 4745 of file htmlelem.c.

4746 {
4747  return CONTAINING_RECORD(iface, HTMLAttributeCollection, dispex);
4748 }
PFLT_MESSAGE_WAITER_QUEUE CONTAINING_RECORD(Csq, DEVICE_EXTENSION, IrpQueue)) -> WaiterQ.mLock) _IRQL_raises_(DISPATCH_LEVEL) VOID NTAPI FltpAcquireMessageWaiterLock(_In_ PIO_CSQ Csq, _Out_ PKIRQL Irql)
Definition: Messaging.c:560

Referenced by HTMLAttributeCollection_get_dispid(), and HTMLAttributeCollection_invoke().

◆ HTMLAttributeCollection_get_dispid()

static HRESULT HTMLAttributeCollection_get_dispid ( DispatchEx dispex,
BSTR  name,
DWORD  flags,
DISPID dispid 
)
static

Definition at line 4750 of file htmlelem.c.

4751 {
4754  LONG pos;
4755  HRESULT hres;
4756 
4757  TRACE("(%p)->(%s %x %p)\n", This, debugstr_w(name), flags, dispid);
4758 
4759  hres = get_attr_dispid_by_name(This, name, dispid);
4760  if(FAILED(hres))
4761  return hres;
4762 
4763  hres = get_domattr(This, *dispid, &pos, &attr);
4764  if(FAILED(hres))
4765  return hres;
4766  IHTMLDOMAttribute_Release(&attr->IHTMLDOMAttribute_iface);
4767 
4768  *dispid = MSHTML_DISPID_CUSTOM_MIN+pos;
4769  return S_OK;
4770 }
#define MSHTML_DISPID_CUSTOM_MIN
static HRESULT get_domattr(HTMLAttributeCollection *This, DISPID id, LONG *list_pos, HTMLDOMAttribute **attr)
Definition: htmlelem.c:4420
static HTMLAttributeCollection * HTMLAttributeCollection_from_DispatchEx(DispatchEx *iface)
Definition: htmlelem.c:4745
long LONG
Definition: pedump.c:60
#define debugstr_w
Definition: kernel32.h:32
#define TRACE(s)
Definition: solgame.cpp:4
HRESULT hres
Definition: protocol.c:465
LONG HRESULT
Definition: typedefs.h:77
Definition: cookie.c:170
GLbitfield flags
Definition: glext.h:7161
__u8 attr
Definition: mkdosfs.c:359
static HRESULT get_attr_dispid_by_name(HTMLAttributeCollection *This, BSTR name, DISPID *id)
Definition: htmlelem.c:4394
#define S_OK
Definition: intsafe.h:59
Definition: name.c:36

◆ HTMLAttributeCollection_get_length()

static HRESULT WINAPI HTMLAttributeCollection_get_length ( IHTMLAttributeCollection *  iface,
LONG p 
)
static

Definition at line 4452 of file htmlelem.c.

4453 {
4455  HRESULT hres;
4456 
4457  TRACE("(%p)->(%p)\n", This, p);
4458 
4459  *p = -1;
4461  return hres;
4462 }
static HTMLAttributeCollection * impl_from_IHTMLAttributeCollection(IHTMLAttributeCollection *iface)
Definition: htmlelem.c:4271
static HRESULT get_attr_dispid_by_idx(HTMLAttributeCollection *This, LONG *idx, DISPID *dispid)
Definition: htmlelem.c:4364
smooth NULL
Definition: ftsmooth.c:416
#define TRACE(s)
Definition: solgame.cpp:4
HRESULT hres
Definition: protocol.c:465
LONG HRESULT
Definition: typedefs.h:77
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLAttributeCollection_GetIDsOfNames()

static HRESULT WINAPI HTMLAttributeCollection_GetIDsOfNames ( IHTMLAttributeCollection *  iface,
REFIID  riid,
LPOLESTR rgszNames,
UINT  cNames,
LCID  lcid,
DISPID rgDispId 
)
static

Definition at line 4347 of file htmlelem.c.

4349 {
4351  return IDispatchEx_GetIDsOfNames(&This->dispex.IDispatchEx_iface, riid, rgszNames, cNames,
4352  lcid, rgDispId);
4353 }
REFIID riid
Definition: precomp.h:44
static HTMLAttributeCollection * impl_from_IHTMLAttributeCollection(IHTMLAttributeCollection *iface)
Definition: htmlelem.c:4271

◆ HTMLAttributeCollection_GetTypeInfo()

static HRESULT WINAPI HTMLAttributeCollection_GetTypeInfo ( IHTMLAttributeCollection *  iface,
UINT  iTInfo,
LCID  lcid,
ITypeInfo **  ppTInfo 
)
static

Definition at line 4340 of file htmlelem.c.

4342 {
4344  return IDispatchEx_GetTypeInfo(&This->dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
4345 }
static HTMLAttributeCollection * impl_from_IHTMLAttributeCollection(IHTMLAttributeCollection *iface)
Definition: htmlelem.c:4271

◆ HTMLAttributeCollection_GetTypeInfoCount()

static HRESULT WINAPI HTMLAttributeCollection_GetTypeInfoCount ( IHTMLAttributeCollection *  iface,
UINT pctinfo 
)
static

Definition at line 4334 of file htmlelem.c.

4335 {
4337  return IDispatchEx_GetTypeInfoCount(&This->dispex.IDispatchEx_iface, pctinfo);
4338 }
static HTMLAttributeCollection * impl_from_IHTMLAttributeCollection(IHTMLAttributeCollection *iface)
Definition: htmlelem.c:4271

◆ HTMLAttributeCollection_Invoke()

static HRESULT WINAPI HTMLAttributeCollection_Invoke ( IHTMLAttributeCollection *  iface,
DISPID  dispIdMember,
REFIID  riid,
LCID  lcid,
WORD  wFlags,
DISPPARAMS *  pDispParams,
VARIANT pVarResult,
EXCEPINFO *  pExcepInfo,
UINT puArgErr 
)
static

Definition at line 4355 of file htmlelem.c.

4358 {
4360  return IDispatchEx_Invoke(&This->dispex.IDispatchEx_iface, dispIdMember, riid, lcid,
4361  wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
4362 }
REFIID riid
Definition: precomp.h:44
static HTMLAttributeCollection * impl_from_IHTMLAttributeCollection(IHTMLAttributeCollection *iface)
Definition: htmlelem.c:4271
_In_ DWORD _Out_ _In_ WORD wFlags
Definition: wincon.h:519

◆ HTMLAttributeCollection_invoke()

static HRESULT HTMLAttributeCollection_invoke ( DispatchEx dispex,
DISPID  id,
LCID  lcid,
WORD  flags,
DISPPARAMS *  params,
VARIANT res,
EXCEPINFO *  ei,
IServiceProvider caller 
)
static

Definition at line 4772 of file htmlelem.c.

4774 {
4776 
4777  TRACE("(%p)->(%x %x %x %p %p %p %p)\n", This, id, lcid, flags, params, res, ei, caller);
4778 
4779  switch(flags) {
4780  case DISPATCH_PROPERTYGET: {
4781  HTMLDOMAttribute *iter;
4782  DWORD pos;
4783 
4785 
4786  LIST_FOR_EACH_ENTRY(iter, &This->attrs, HTMLDOMAttribute, entry) {
4787  if(!pos) {
4788  IHTMLDOMAttribute_AddRef(&iter->IHTMLDOMAttribute_iface);
4789  V_VT(res) = VT_DISPATCH;
4791  return S_OK;
4792  }
4793  pos--;
4794  }
4795 
4796  WARN("invalid arg\n");
4797  return E_INVALIDARG;
4798  }
4799 
4800  default:
4801  FIXME("unimplemented flags %x\n", flags);
4802  return E_NOTIMPL;
4803  }
4804 }
#define DISPATCH_PROPERTYGET
Definition: oleauto.h:1007
#define MSHTML_DISPID_CUSTOM_MIN
uint8_t entry
Definition: isohybrid.c:63
#define WARN(fmt,...)
Definition: debug.h:111
static HTMLAttributeCollection * HTMLAttributeCollection_from_DispatchEx(DispatchEx *iface)
Definition: htmlelem.c:4745
#define V_DISPATCH(A)
Definition: oleauto.h:239
#define LIST_FOR_EACH_ENTRY(elem, list, type, field)
Definition: list.h:198
GLenum const GLfloat * params
Definition: glext.h:5645
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_INVALIDARG
Definition: ddrawi.h:101
#define TRACE(s)
Definition: solgame.cpp:4
unsigned long DWORD
Definition: ntddk_ex.h:95
GLbitfield flags
Definition: glext.h:7161
#define V_VT(A)
Definition: oleauto.h:211
#define S_OK
Definition: intsafe.h:59
IHTMLDOMAttribute IHTMLDOMAttribute_iface
#define E_NOTIMPL
Definition: ddrawi.h:99
GLuint res
Definition: glext.h:9613

◆ HTMLAttributeCollection_item()

static HRESULT WINAPI HTMLAttributeCollection_item ( IHTMLAttributeCollection *  iface,
VARIANT name,
IDispatch **  ppItem 
)
static

Definition at line 4471 of file htmlelem.c.

4472 {
4475  DISPID id;
4476  HRESULT hres;
4477 
4478  TRACE("(%p)->(%s %p)\n", This, debugstr_variant(name), ppItem);
4479 
4480  switch(V_VT(name)) {
4481  case VT_I4:
4483  break;
4484  case VT_BSTR:
4486  break;
4487  default:
4488  FIXME("unsupported name %s\n", debugstr_variant(name));
4489  hres = E_NOTIMPL;
4490  }
4491  if(hres == DISP_E_UNKNOWNNAME)
4492  return E_INVALIDARG;
4493  if(FAILED(hres))
4494  return hres;
4495 
4496  hres = get_domattr(This, id, NULL, &attr);
4497  if(FAILED(hres))
4498  return hres;
4499 
4500  *ppItem = (IDispatch*)&attr->IHTMLDOMAttribute_iface;
4501  return S_OK;
4502 }
#define DISP_E_UNKNOWNNAME
Definition: winerror.h:2515
Definition: compat.h:1932
static HTMLAttributeCollection * impl_from_IHTMLAttributeCollection(IHTMLAttributeCollection *iface)
Definition: htmlelem.c:4271
static HRESULT get_domattr(HTMLAttributeCollection *This, DISPID id, LONG *list_pos, HTMLDOMAttribute **attr)
Definition: htmlelem.c:4420
static HRESULT get_attr_dispid_by_idx(HTMLAttributeCollection *This, LONG *idx, DISPID *dispid)
Definition: htmlelem.c:4364
#define V_I4(A)
Definition: oleauto.h:247
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_INVALIDARG
Definition: ddrawi.h:101
smooth NULL
Definition: ftsmooth.c:416
#define TRACE(s)
Definition: solgame.cpp:4
HRESULT hres
Definition: protocol.c:465
LONG HRESULT
Definition: typedefs.h:77
Definition: cookie.c:170
__u8 attr
Definition: mkdosfs.c:359
#define V_VT(A)
Definition: oleauto.h:211
#define V_BSTR(A)
Definition: oleauto.h:226
static HRESULT get_attr_dispid_by_name(HTMLAttributeCollection *This, BSTR name, DISPID *id)
Definition: htmlelem.c:4394
static const char * debugstr_variant(const VARIANT *var)
Definition: container.c:46
#define S_OK
Definition: intsafe.h:59
static VARIANTARG static DISPID
Definition: ordinal.c:49
#define E_NOTIMPL
Definition: ddrawi.h:99
Definition: name.c:36
GLenum GLuint id
Definition: glext.h:5579

◆ HTMLAttributeCollection_QueryInterface()

static HRESULT WINAPI HTMLAttributeCollection_QueryInterface ( IHTMLAttributeCollection *  iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 4276 of file htmlelem.c.

4277 {
4279 
4280  TRACE("(%p)->(%s %p)\n", This, debugstr_mshtml_guid(riid), ppv);
4281 
4282  if(IsEqualGUID(&IID_IUnknown, riid)) {
4283  *ppv = &This->IHTMLAttributeCollection_iface;
4284  }else if(IsEqualGUID(&IID_IHTMLAttributeCollection, riid)) {
4285  *ppv = &This->IHTMLAttributeCollection_iface;
4286  }else if(IsEqualGUID(&IID_IHTMLAttributeCollection2, riid)) {
4287  *ppv = &This->IHTMLAttributeCollection2_iface;
4288  }else if(IsEqualGUID(&IID_IHTMLAttributeCollection3, riid)) {
4289  *ppv = &This->IHTMLAttributeCollection3_iface;
4290  }else if(dispex_query_interface(&This->dispex, riid, ppv)) {
4291  return *ppv ? S_OK : E_NOINTERFACE;
4292  }else {
4293  *ppv = NULL;
4294  WARN("(%p)->(%s %p)\n", This, debugstr_mshtml_guid(riid), ppv);
4295  return E_NOINTERFACE;
4296  }
4297 
4298  IUnknown_AddRef((IUnknown*)*ppv);
4299  return S_OK;
4300 }
#define E_NOINTERFACE
Definition: winerror.h:2364
REFIID riid
Definition: precomp.h:44
static HTMLAttributeCollection * impl_from_IHTMLAttributeCollection(IHTMLAttributeCollection *iface)
Definition: htmlelem.c:4271
#define WARN(fmt,...)
Definition: debug.h:111
REFIID LPVOID * ppv
Definition: atlbase.h:39
const char * debugstr_mshtml_guid(const GUID *iid)
Definition: main.c:535
smooth NULL
Definition: ftsmooth.c:416
#define TRACE(s)
Definition: solgame.cpp:4
const GUID IID_IUnknown
#define S_OK
Definition: intsafe.h:59
BOOL dispex_query_interface(DispatchEx *This, REFIID riid, void **ppv)
Definition: dispex.c:1656
BOOL WINAPI IsEqualGUID(REFGUID rguid1, REFGUID rguid2)
Definition: compobj.c:4021

◆ HTMLAttributeCollection_Release()

static ULONG WINAPI HTMLAttributeCollection_Release ( IHTMLAttributeCollection *  iface)
static

Definition at line 4312 of file htmlelem.c.

4313 {
4315  LONG ref = InterlockedDecrement(&This->ref);
4316 
4317  TRACE("(%p) ref=%d\n", This, ref);
4318 
4319  if(!ref) {
4320  while(!list_empty(&This->attrs)) {
4322 
4323  list_remove(&attr->entry);
4324  attr->elem = NULL;
4325  IHTMLDOMAttribute_Release(&attr->IHTMLDOMAttribute_iface);
4326  }
4327 
4328  heap_free(This);
4329  }
4330 
4331  return ref;
4332 }
static HTMLAttributeCollection * impl_from_IHTMLAttributeCollection(IHTMLAttributeCollection *iface)
Definition: htmlelem.c:4271
uint8_t entry
Definition: isohybrid.c:63
Definition: send.c:47
__WINE_SERVER_LIST_INLINE struct list * list_head(const struct list *list)
Definition: list.h:131
long LONG
Definition: pedump.c:60
GLenum GLint ref
Definition: glext.h:6028
smooth NULL
Definition: ftsmooth.c:416
__WINE_SERVER_LIST_INLINE void list_remove(struct list *elem)
Definition: list.h:108
#define TRACE(s)
Definition: solgame.cpp:4
Definition: cookie.c:170
#define InterlockedDecrement
Definition: armddk.h:52
__WINE_SERVER_LIST_INLINE int list_empty(const struct list *list)
Definition: list.h:143
#define LIST_ENTRY(type)
Definition: queue.h:175
static BOOL heap_free(void *mem)
Definition: appwiz.h:75

◆ HTMLElement2_addBehavior()

static HRESULT WINAPI HTMLElement2_addBehavior ( IHTMLElement2 *  iface,
BSTR  bstrUrl,
VARIANT pvarFactory,
LONG pCookie 
)
static

Definition at line 2874 of file htmlelem.c.

2876 {
2878  FIXME("(%p)->(%s %p %p)\n", This, debugstr_w(bstrUrl), pvarFactory, pCookie);
2879  return E_NOTIMPL;
2880 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ HTMLElement2_addFilter()

static HRESULT WINAPI HTMLElement2_addFilter ( IHTMLElement2 *  iface,
IUnknown pUnk 
)
static

Definition at line 2478 of file htmlelem.c.

2479 {
2481  FIXME("(%p)->(%p)\n", This, pUnk);
2482  return E_NOTIMPL;
2483 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
static void *static void *static LPDIRECTPLAY IUnknown * pUnk
Definition: dplayx.c:30

◆ HTMLElement2_AddRef()

static ULONG WINAPI HTMLElement2_AddRef ( IHTMLElement2 *  iface)
static

Definition at line 1979 of file htmlelem.c.

1980 {
1982  return IHTMLElement_AddRef(&This->IHTMLElement_iface);
1983 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967

◆ HTMLElement2_applyElement()

static HRESULT WINAPI HTMLElement2_applyElement ( IHTMLElement2 *  iface,
IHTMLElement *  apply,
BSTR  where,
IHTMLElement **  applied 
)
static

Definition at line 2844 of file htmlelem.c.

2846 {
2848  FIXME("(%p)->(%p %s %p)\n", This, apply, debugstr_w(where), applied);
2849  return E_NOTIMPL;
2850 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ HTMLElement2_attachEvent()

static HRESULT WINAPI HTMLElement2_attachEvent ( IHTMLElement2 *  iface,
BSTR  event,
IDispatch pDisp,
VARIANT_BOOL pfResult 
)
static

Definition at line 2544 of file htmlelem.c.

2546 {
2548 
2549  TRACE("(%p)->(%s %p %p)\n", This, debugstr_w(event), pDisp, pfResult);
2550 
2551  return attach_event(&This->node.event_target, event, pDisp, pfResult);
2552 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define debugstr_w
Definition: kernel32.h:32
#define TRACE(s)
Definition: solgame.cpp:4
struct _cl_event * event
Definition: glext.h:7739
HRESULT attach_event(EventTarget *event_target, BSTR name, IDispatch *disp, VARIANT_BOOL *res)
Definition: htmlevent.c:1469

◆ HTMLElement2_blur()

static HRESULT WINAPI HTMLElement2_blur ( IHTMLElement2 *  iface)
static

Definition at line 2462 of file htmlelem.c.

2463 {
2465  nsresult nsres;
2466 
2467  TRACE("(%p)\n", This);
2468 
2469  nsres = nsIDOMHTMLElement_Blur(This->nselem);
2470  if(NS_FAILED(nsres)) {
2471  ERR("Blur failed: %08x\n", nsres);
2472  return E_FAIL;
2473  }
2474 
2475  return S_OK;
2476 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define E_FAIL
Definition: ddrawi.h:102
#define NS_FAILED(res)
#define TRACE(s)
Definition: solgame.cpp:4
#define ERR(fmt,...)
Definition: debug.h:109
#define S_OK
Definition: intsafe.h:59
HRESULT nsresult
Definition: nsiface.idl:39

◆ HTMLElement2_clearAttributes()

static HRESULT WINAPI HTMLElement2_clearAttributes ( IHTMLElement2 *  iface)
static

Definition at line 2793 of file htmlelem.c.

2794 {
2796  FIXME("(%p)\n", This);
2797  return E_NOTIMPL;
2798 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ HTMLElement2_componentFromPoint()

static HRESULT WINAPI HTMLElement2_componentFromPoint ( IHTMLElement2 *  iface,
LONG  x,
LONG  y,
BSTR component 
)
static

Definition at line 2057 of file htmlelem.c.

2059 {
2061  FIXME("(%p)->(%d %d %p)\n", This, x, y, component);
2062  return E_NOTIMPL;
2063 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548

◆ HTMLElement2_createControlRange()

static HRESULT WINAPI HTMLElement2_createControlRange ( IHTMLElement2 *  iface,
IDispatch **  range 
)
static

Definition at line 2691 of file htmlelem.c.

2692 {
2694  FIXME("(%p)->(%p)\n", This, range);
2695  return E_NOTIMPL;
2696 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define FIXME(fmt,...)
Definition: debug.h:110
GLenum GLint * range
Definition: glext.h:7539
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ HTMLElement2_detachEvent()

static HRESULT WINAPI HTMLElement2_detachEvent ( IHTMLElement2 *  iface,
BSTR  event,
IDispatch pDisp 
)
static

Definition at line 2554 of file htmlelem.c.

2555 {
2557 
2558  TRACE("(%p)->(%s %p)\n", This, debugstr_w(event), pDisp);
2559 
2560  return detach_event(&This->node.event_target, event, pDisp);
2561 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define debugstr_w
Definition: kernel32.h:32
#define TRACE(s)
Definition: solgame.cpp:4
HRESULT detach_event(EventTarget *event_target, BSTR name, IDispatch *disp)
Definition: htmlevent.c:1504
struct _cl_event * event
Definition: glext.h:7739

◆ HTMLElement2_doScroll()

static HRESULT WINAPI HTMLElement2_doScroll ( IHTMLElement2 *  iface,
VARIANT  component 
)
static

Definition at line 2065 of file htmlelem.c.

2066 {
2068 
2069  TRACE("(%p)->(%s)\n", This, debugstr_variant(&component));
2070 
2071  if(!This->node.doc->content_ready
2072  || !This->node.doc->basedoc.doc_obj->in_place_active)
2073  return E_PENDING;
2074 
2075  WARN("stub\n");
2076  return S_OK;
2077 }
#define WARN(fmt,...)
Definition: debug.h:111
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define TRACE(s)
Definition: solgame.cpp:4
static const char * debugstr_variant(const VARIANT *var)
Definition: container.c:46
#define S_OK
Definition: intsafe.h:59
#define E_PENDING
Definition: dinput.h:172

◆ HTMLElement2_focus()

static HRESULT WINAPI HTMLElement2_focus ( IHTMLElement2 *  iface)
static

Definition at line 2377 of file htmlelem.c.

2378 {
2380  nsresult nsres;
2381 
2382  TRACE("(%p)\n", This);
2383 
2384  nsres = nsIDOMHTMLElement_Focus(This->nselem);
2385  if(NS_FAILED(nsres))
2386  ERR("Focus failed: %08x\n", nsres);
2387 
2388  return S_OK;
2389 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define NS_FAILED(res)
#define TRACE(s)
Definition: solgame.cpp:4
#define ERR(fmt,...)
Definition: debug.h:109
#define S_OK
Definition: intsafe.h:59
HRESULT nsresult
Definition: nsiface.idl:39

◆ HTMLElement2_get_accessKey()

static HRESULT WINAPI HTMLElement2_get_accessKey ( IHTMLElement2 *  iface,
BSTR p 
)
static

Definition at line 2405 of file htmlelem.c.

2406 {
2408  FIXME("(%p)->(%p)\n", This, p);
2409  return E_NOTIMPL;
2410 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_behaviorUrns()

static HRESULT WINAPI HTMLElement2_get_behaviorUrns ( IHTMLElement2 *  iface,
IDispatch **  p 
)
static

Definition at line 2912 of file htmlelem.c.

2913 {
2915  FIXME("(%p)->(%p)\n", This, p);
2916  return E_NOTIMPL;
2917 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_canHandleChildren()

static HRESULT WINAPI HTMLElement2_get_canHandleChildren ( IHTMLElement2 *  iface,
VARIANT_BOOL p 
)
static

Definition at line 2867 of file htmlelem.c.

2868 {
2870  FIXME("(%p)->(%p)\n", This, p);
2871  return E_NOTIMPL;
2872 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_clientHeight()

static HRESULT WINAPI HTMLElement2_get_clientHeight ( IHTMLElement2 *  iface,
LONG p 
)
static

Definition at line 2492 of file htmlelem.c.

2493 {
2495  nsresult nsres;
2496 
2497  TRACE("(%p)->(%p)\n", This, p);
2498 
2499  nsres = nsIDOMHTMLElement_GetClientHeight(This->nselem, p);
2500  assert(nsres == NS_OK);
2501  return S_OK;
2502 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define assert(x)
Definition: debug.h:53
#define NS_OK
#define TRACE(s)
Definition: solgame.cpp:4
#define S_OK
Definition: intsafe.h:59
HRESULT nsresult
Definition: nsiface.idl:39
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_clientLeft()

static HRESULT WINAPI HTMLElement2_get_clientLeft ( IHTMLElement2 *  iface,
LONG p 
)
static

Definition at line 2530 of file htmlelem.c.

2531 {
2533  nsresult nsres;
2534 
2535  TRACE("(%p)->(%p)\n", This, p);
2536 
2537  nsres = nsIDOMHTMLElement_GetClientLeft(This->nselem, p);
2538  assert(nsres == NS_OK);
2539 
2540  TRACE("*p = %d\n", *p);
2541  return S_OK;
2542 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define assert(x)
Definition: debug.h:53
#define NS_OK
#define TRACE(s)
Definition: solgame.cpp:4
#define S_OK
Definition: intsafe.h:59
HRESULT nsresult
Definition: nsiface.idl:39
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_clientTop()

static HRESULT WINAPI HTMLElement2_get_clientTop ( IHTMLElement2 *  iface,
LONG p 
)
static

Definition at line 2516 of file htmlelem.c.

2517 {
2519  nsresult nsres;
2520 
2521  TRACE("(%p)->(%p)\n", This, p);
2522 
2523  nsres = nsIDOMHTMLElement_GetClientTop(This->nselem, p);
2524  assert(nsres == NS_OK);
2525 
2526  TRACE("*p = %d\n", *p);
2527  return S_OK;
2528 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define assert(x)
Definition: debug.h:53
#define NS_OK
#define TRACE(s)
Definition: solgame.cpp:4
#define S_OK
Definition: intsafe.h:59
HRESULT nsresult
Definition: nsiface.idl:39
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_clientWidth()

static HRESULT WINAPI HTMLElement2_get_clientWidth ( IHTMLElement2 *  iface,
LONG p 
)
static

Definition at line 2504 of file htmlelem.c.

2505 {
2507  nsresult nsres;
2508 
2509  TRACE("(%p)->(%p)\n", This, p);
2510 
2511  nsres = nsIDOMHTMLElement_GetClientWidth(This->nselem, p);
2512  assert(nsres == NS_OK);
2513  return S_OK;
2514 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define assert(x)
Definition: debug.h:53
#define NS_OK
#define TRACE(s)
Definition: solgame.cpp:4
#define S_OK
Definition: intsafe.h:59
HRESULT nsresult
Definition: nsiface.idl:39
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_currentStyle()

static HRESULT WINAPI HTMLElement2_get_currentStyle ( IHTMLElement2 *  iface,
IHTMLCurrentStyle **  p 
)
static

Definition at line 2269 of file htmlelem.c.

2270 {
2272 
2273  TRACE("(%p)->(%p)\n", This, p);
2274 
2275  return HTMLCurrentStyle_Create(This, p);
2276 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define TRACE(s)
Definition: solgame.cpp:4
HRESULT HTMLCurrentStyle_Create(HTMLElement *elem, IHTMLCurrentStyle **p)
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_dir()

static HRESULT WINAPI HTMLElement2_get_dir ( IHTMLElement2 *  iface,
BSTR p 
)
static

Definition at line 2673 of file htmlelem.c.

2674 {
2676  nsAString dir_str;
2677  nsresult nsres;
2678 
2679  TRACE("(%p)->(%p)\n", This, p);
2680 
2681  if(!This->nselem) {
2682  *p = NULL;
2683  return S_OK;
2684  }
2685 
2686  nsAString_Init(&dir_str, NULL);
2687  nsres = nsIDOMHTMLElement_GetDir(This->nselem, &dir_str);
2688  return return_nsstr(nsres, &dir_str, p);
2689 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
smooth NULL
Definition: ftsmooth.c:416
HRESULT return_nsstr(nsresult, nsAString *, BSTR *) DECLSPEC_HIDDEN
Definition: nsembed.c:841
#define TRACE(s)
Definition: solgame.cpp:4
#define S_OK
Definition: intsafe.h:59
BOOL nsAString_Init(nsAString *, const PRUnichar *) DECLSPEC_HIDDEN
Definition: nsembed.c:817
HRESULT nsresult
Definition: nsiface.idl:39
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_onbeforecopy()

static HRESULT WINAPI HTMLElement2_get_onbeforecopy ( IHTMLElement2 *  iface,
VARIANT p 
)
static

Definition at line 2216 of file htmlelem.c.

2217 {
2219  FIXME("(%p)->(%p)\n", This, p);
2220  return E_NOTIMPL;
2221 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_onbeforecut()

static HRESULT WINAPI HTMLElement2_get_onbeforecut ( IHTMLElement2 *  iface,
VARIANT p 
)
static

Definition at line 2188 of file htmlelem.c.

2189 {
2191  FIXME("(%p)->(%p)\n", This, p);
2192  return E_NOTIMPL;
2193 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_onbeforeeditfocus()

static HRESULT WINAPI HTMLElement2_get_onbeforeeditfocus ( IHTMLElement2 *  iface,
VARIANT p 
)
static

Definition at line 2940 of file htmlelem.c.

2941 {
2943  FIXME("(%p)->(%p)\n", This, p);
2944  return E_NOTIMPL;
2945 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_onbeforepaste()

static HRESULT WINAPI HTMLElement2_get_onbeforepaste ( IHTMLElement2 *  iface,
VARIANT p 
)
static

Definition at line 2244 of file htmlelem.c.

2245 {
2247  FIXME("(%p)->(%p)\n", This, p);
2248  return E_NOTIMPL;
2249 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_onblur()

static HRESULT WINAPI HTMLElement2_get_onblur ( IHTMLElement2 *  iface,
VARIANT p 
)
static

Definition at line 2421 of file htmlelem.c.

2422 {
2424 
2425  TRACE("(%p)->(%p)\n", This, p);
2426 
2427  return get_node_event(&This->node, EVENTID_BLUR, p);
2428 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
static HRESULT get_node_event(HTMLDOMNode *node, eventid_t eid, VARIANT *var)
Definition: htmlevent.h:85
#define TRACE(s)
Definition: solgame.cpp:4
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_oncellchange()

static HRESULT WINAPI HTMLElement2_get_oncellchange ( IHTMLElement2 *  iface,
VARIANT p 
)
static

Definition at line 2642 of file htmlelem.c.

2643 {
2645  FIXME("(%p)->(%p)\n", This, p);
2646  return E_NOTIMPL;
2647 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_oncontextmenu()

static HRESULT WINAPI HTMLElement2_get_oncontextmenu ( IHTMLElement2 *  iface,
VARIANT p 
)
static

Definition at line 2814 of file htmlelem.c.

2815 {
2817  FIXME("(%p)->(%p)\n", This, p);
2818  return E_NOTIMPL;
2819 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_oncopy()

static HRESULT WINAPI HTMLElement2_get_oncopy ( IHTMLElement2 *  iface,
VARIANT p 
)
static

Definition at line 2230 of file htmlelem.c.

2231 {
2233  FIXME("(%p)->(%p)\n", This, p);
2234  return E_NOTIMPL;
2235 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_oncut()

static HRESULT WINAPI HTMLElement2_get_oncut ( IHTMLElement2 *  iface,
VARIANT p 
)
static

Definition at line 2202 of file htmlelem.c.

2203 {
2205  FIXME("(%p)->(%p)\n", This, p);
2206  return E_NOTIMPL;
2207 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_ondrag()

static HRESULT WINAPI HTMLElement2_get_ondrag ( IHTMLElement2 *  iface,
VARIANT p 
)
static

Definition at line 2102 of file htmlelem.c.

2103 {
2105 
2106  TRACE("(%p)->(%p)\n", This, p);
2107 
2108  return get_node_event(&This->node, EVENTID_DRAG, p);
2109 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
static HRESULT get_node_event(HTMLDOMNode *node, eventid_t eid, VARIANT *var)
Definition: htmlevent.h:85
#define TRACE(s)
Definition: solgame.cpp:4
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_ondragend()

static HRESULT WINAPI HTMLElement2_get_ondragend ( IHTMLElement2 *  iface,
VARIANT p 
)
static

Definition at line 2118 of file htmlelem.c.

2119 {
2121  FIXME("(%p)->(%p)\n", This, p);
2122  return E_NOTIMPL;
2123 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_ondragenter()

static HRESULT WINAPI HTMLElement2_get_ondragenter ( IHTMLElement2 *  iface,
VARIANT p 
)
static

Definition at line 2132 of file htmlelem.c.

2133 {
2135  FIXME("(%p)->(%p)\n", This, p);
2136  return E_NOTIMPL;
2137 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_ondragleave()

static HRESULT WINAPI HTMLElement2_get_ondragleave ( IHTMLElement2 *  iface,
VARIANT p 
)
static

Definition at line 2160 of file htmlelem.c.

2161 {
2163  FIXME("(%p)->(%p)\n", This, p);
2164  return E_NOTIMPL;
2165 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_ondragover()

static HRESULT WINAPI HTMLElement2_get_ondragover ( IHTMLElement2 *  iface,
VARIANT p 
)
static

Definition at line 2146 of file htmlelem.c.

2147 {
2149  FIXME("(%p)->(%p)\n", This, p);
2150  return E_NOTIMPL;
2151 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_ondrop()

static HRESULT WINAPI HTMLElement2_get_ondrop ( IHTMLElement2 *  iface,
VARIANT p 
)
static

Definition at line 2174 of file htmlelem.c.

2175 {
2177  FIXME("(%p)->(%p)\n", This, p);
2178  return E_NOTIMPL;
2179 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_onfocus()

static HRESULT WINAPI HTMLElement2_get_onfocus ( IHTMLElement2 *  iface,
VARIANT p 
)
static

Definition at line 2439 of file htmlelem.c.

2440 {
2442 
2443  TRACE("(%p)->(%p)\n", This, p);
2444 
2445  return get_node_event(&This->node, EVENTID_FOCUS, p);
2446 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
static HRESULT get_node_event(HTMLDOMNode *node, eventid_t eid, VARIANT *var)
Definition: htmlevent.h:85
#define TRACE(s)
Definition: solgame.cpp:4
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_onlosecapture()

static HRESULT WINAPI HTMLElement2_get_onlosecapture ( IHTMLElement2 *  iface,
VARIANT p 
)
static

Definition at line 2050 of file htmlelem.c.

2051 {
2053  FIXME("(%p)->(%p)\n", This, p);
2054  return E_NOTIMPL;
2055 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_onpaste()

static HRESULT WINAPI HTMLElement2_get_onpaste ( IHTMLElement2 *  iface,
VARIANT p 
)
static

Definition at line 2260 of file htmlelem.c.

2261 {
2263 
2264  TRACE("(%p)->(%p)\n", This, p);
2265 
2266  return get_node_event(&This->node, EVENTID_PASTE, p);
2267 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
static HRESULT get_node_event(HTMLDOMNode *node, eventid_t eid, VARIANT *var)
Definition: htmlevent.h:85
#define TRACE(s)
Definition: solgame.cpp:4
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_onpropertychange()

static HRESULT WINAPI HTMLElement2_get_onpropertychange ( IHTMLElement2 *  iface,
VARIANT p 
)
static

Definition at line 2285 of file htmlelem.c.

2286 {
2288  FIXME("(%p)->(%p)\n", This, p);
2289  return E_NOTIMPL;
2290 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_onreadystatechange()

static HRESULT WINAPI HTMLElement2_get_onreadystatechange ( IHTMLElement2 *  iface,
VARIANT p 
)
static

Definition at line 2598 of file htmlelem.c.

2599 {
2601 
2602  TRACE("(%p)->(%p)\n", This, p);
2603 
2604  return get_node_event(&This->node, EVENTID_READYSTATECHANGE, p);
2605 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
static HRESULT get_node_event(HTMLDOMNode *node, eventid_t eid, VARIANT *var)
Definition: htmlevent.h:85
#define TRACE(s)
Definition: solgame.cpp:4
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_onresize()

static HRESULT WINAPI HTMLElement2_get_onresize ( IHTMLElement2 *  iface,
VARIANT p 
)
static

Definition at line 2455 of file htmlelem.c.

2456 {
2458  FIXME("(%p)->(%p)\n", This, p);
2459  return E_NOTIMPL;
2460 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_onrowsdelete()

static HRESULT WINAPI HTMLElement2_get_onrowsdelete ( IHTMLElement2 *  iface,
VARIANT p 
)
static

Definition at line 2614 of file htmlelem.c.

2615 {
2617  FIXME("(%p)->(%p)\n", This, p);
2618  return E_NOTIMPL;
2619 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_onrowsinserted()

static HRESULT WINAPI HTMLElement2_get_onrowsinserted ( IHTMLElement2 *  iface,
VARIANT p 
)
static

Definition at line 2628 of file htmlelem.c.

2629 {
2631  FIXME("(%p)->(%p)\n", This, p);
2632  return E_NOTIMPL;
2633 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_onscroll()

static HRESULT WINAPI HTMLElement2_get_onscroll ( IHTMLElement2 *  iface,
VARIANT p 
)
static

Definition at line 2086 of file htmlelem.c.

2087 {
2089  FIXME("(%p)->(%p)\n", This, p);
2090  return E_NOTIMPL;
2091 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_readyState()

static HRESULT WINAPI HTMLElement2_get_readyState ( IHTMLElement2 *  iface,
VARIANT p 
)
static

Definition at line 2563 of file htmlelem.c.

2564 {
2566  BSTR str;
2567 
2568  TRACE("(%p)->(%p)\n", This, p);
2569 
2570  if(This->node.vtbl->get_readystate) {
2571  HRESULT hres;
2572 
2573  hres = This->node.vtbl->get_readystate(&This->node, &str);
2574  if(FAILED(hres))
2575  return hres;
2576  }else {
2577  static const WCHAR completeW[] = {'c','o','m','p','l','e','t','e',0};
2578 
2579  str = SysAllocString(completeW);
2580  if(!str)
2581  return E_OUTOFMEMORY;
2582  }
2583 
2584  V_VT(p) = VT_BSTR;
2585  V_BSTR(p) = str;
2586  return S_OK;
2587 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
OLECHAR * BSTR
Definition: compat.h:1927
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
const WCHAR * str
BSTR WINAPI SysAllocString(LPCOLESTR str)
Definition: oleaut.c:241
#define TRACE(s)
Definition: solgame.cpp:4
HRESULT hres
Definition: protocol.c:465
__wchar_t WCHAR
Definition: xmlstorage.h:180
LONG HRESULT
Definition: typedefs.h:77
#define V_VT(A)
Definition: oleauto.h:211
#define V_BSTR(A)
Definition: oleauto.h:226
#define S_OK
Definition: intsafe.h:59
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_readyStateValue()

static HRESULT WINAPI HTMLElement2_get_readyStateValue ( IHTMLElement2 *  iface,
LONG p 
)
static

Definition at line 2947 of file htmlelem.c.

2948 {
2950  FIXME("(%p)->(%p)\n", This, p);
2951  return E_NOTIMPL;
2952 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_runtimeStyle()

static HRESULT WINAPI HTMLElement2_get_runtimeStyle ( IHTMLElement2 *  iface,
IHTMLStyle **  p 
)
static

Definition at line 2890 of file htmlelem.c.

2891 {
2893 
2894  FIXME("(%p)->(%p): hack\n", This, p);
2895 
2896  /* We can't implement correct behavior on top of Gecko (although we could
2897  try a bit harder). Making runtimeStyle behave like regular style is
2898  enough for most use cases. */
2899  if(!This->runtime_style) {
2900  HRESULT hres;
2901 
2902  hres = HTMLStyle_Create(This, &This->runtime_style);
2903  if(FAILED(hres))
2904  return hres;
2905  }
2906 
2907  *p = &This->runtime_style->IHTMLStyle_iface;
2908  IHTMLStyle_AddRef(*p);
2909  return S_OK;
2910 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define FIXME(fmt,...)
Definition: debug.h:110
HRESULT hres
Definition: protocol.c:465
LONG HRESULT
Definition: typedefs.h:77
#define S_OK
Definition: intsafe.h:59
HRESULT HTMLStyle_Create(HTMLElement *elem, HTMLStyle **ret)
Definition: htmlstyle.c:3188
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_scopeName()

static HRESULT WINAPI HTMLElement2_get_scopeName ( IHTMLElement2 *  iface,
BSTR p 
)
static

Definition at line 2022 of file htmlelem.c.

2023 {
2025  FIXME("(%p)->(%p)\n", This, p);
2026  return E_NOTIMPL;
2027 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_scrollHeight()

static HRESULT WINAPI HTMLElement2_get_scrollHeight ( IHTMLElement2 *  iface,
LONG p 
)
static

Definition at line 2698 of file htmlelem.c.

2699 {
2701  nsresult nsres;
2702 
2703  TRACE("(%p)->(%p)\n", This, p);
2704 
2705  nsres = nsIDOMHTMLElement_GetScrollHeight(This->nselem, p);
2706  assert(nsres == NS_OK);
2707 
2708  TRACE("*p = %d\n", *p);
2709  return S_OK;
2710 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define assert(x)
Definition: debug.h:53
#define NS_OK
#define TRACE(s)
Definition: solgame.cpp:4
#define S_OK
Definition: intsafe.h:59
HRESULT nsresult
Definition: nsiface.idl:39
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_scrollLeft()

static HRESULT WINAPI HTMLElement2_get_scrollLeft ( IHTMLElement2 *  iface,
LONG p 
)
static

Definition at line 2770 of file htmlelem.c.

2771 {
2773  nsresult nsres;
2774 
2775  TRACE("(%p)->(%p)\n", This, p);
2776 
2777  if(!p)
2778  return E_INVALIDARG;
2779 
2780  if(!This->nselem)
2781  {
2782  FIXME("NULL nselem\n");
2783  return E_NOTIMPL;
2784  }
2785 
2786  nsres = nsIDOMHTMLElement_GetScrollLeft(This->nselem, p);
2787  assert(nsres == NS_OK);
2788 
2789  TRACE("*p = %d\n", *p);
2790  return S_OK;
2791 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define assert(x)
Definition: debug.h:53
#define NS_OK
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_INVALIDARG
Definition: ddrawi.h:101
#define TRACE(s)
Definition: solgame.cpp:4
#define S_OK
Definition: intsafe.h:59
#define E_NOTIMPL
Definition: ddrawi.h:99
HRESULT nsresult
Definition: nsiface.idl:39
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_scrollTop()

static HRESULT WINAPI HTMLElement2_get_scrollTop ( IHTMLElement2 *  iface,
LONG p 
)
static

Definition at line 2741 of file htmlelem.c.

2742 {
2744  nsresult nsres;
2745 
2746  TRACE("(%p)->(%p)\n", This, p);
2747 
2748  nsres = nsIDOMHTMLElement_GetScrollTop(This->nselem, p);
2749  assert(nsres == NS_OK);
2750 
2751  TRACE("*p = %d\n", *p);
2752  return S_OK;
2753 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define assert(x)
Definition: debug.h:53
#define NS_OK
#define TRACE(s)
Definition: solgame.cpp:4
#define S_OK
Definition: intsafe.h:59
HRESULT nsresult
Definition: nsiface.idl:39
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_scrollWidth()

static HRESULT WINAPI HTMLElement2_get_scrollWidth ( IHTMLElement2 *  iface,
LONG p 
)
static

Definition at line 2712 of file htmlelem.c.

2713 {
2715  nsresult nsres;
2716 
2717  TRACE("(%p)->(%p)\n", This, p);
2718 
2719  nsres = nsIDOMHTMLElement_GetScrollWidth(This->nselem, p);
2720  assert(nsres == NS_OK);
2721 
2722  TRACE("*p = %d\n", *p);
2723  return S_OK;
2724 }
static HTMLElement * impl_from_IHTMLElement2(IHTMLElement2 *iface)
Definition: htmlelem.c:1967
#define assert(x)
Definition: debug.h:53
#define NS_OK
#define TRACE(s)
Definition: solgame.cpp:4
#define S_OK
Definition: intsafe.h:59
HRESULT nsresult
Definition: nsiface.idl:39
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLElement2_get_tabIndex()

static HRESULT WINAPI HTMLElement2_get_tabIndex ( IHTMLElement2 *