ReactOS 0.4.15-dev-8428-g6910fa6
htmldoc.c File Reference
#include "mshtml_private.h"
Include dependency graph for htmldoc.c:

Go to the source code of this file.

Functions

static HRESULT create_document_fragment (nsIDOMNode *nsnode, HTMLDocumentNode *doc_node, HTMLDocumentNode **ret)
 
HRESULT get_doc_elem_by_id (HTMLDocumentNode *doc, const WCHAR *id, HTMLElement **ret)
 
UINT get_document_charset (HTMLDocumentNode *doc)
 
static HTMLDocumentimpl_from_IHTMLDocument2 (IHTMLDocument2 *iface)
 
static HRESULT WINAPI HTMLDocument_QueryInterface (IHTMLDocument2 *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI HTMLDocument_AddRef (IHTMLDocument2 *iface)
 
static ULONG WINAPI HTMLDocument_Release (IHTMLDocument2 *iface)
 
static HRESULT WINAPI HTMLDocument_GetTypeInfoCount (IHTMLDocument2 *iface, UINT *pctinfo)
 
static HRESULT WINAPI HTMLDocument_GetTypeInfo (IHTMLDocument2 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
 
static HRESULT WINAPI HTMLDocument_GetIDsOfNames (IHTMLDocument2 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
 
static HRESULT WINAPI HTMLDocument_Invoke (IHTMLDocument2 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
 
static HRESULT WINAPI HTMLDocument_get_Script (IHTMLDocument2 *iface, IDispatch **p)
 
static HRESULT WINAPI HTMLDocument_get_all (IHTMLDocument2 *iface, IHTMLElementCollection **p)
 
static HRESULT WINAPI HTMLDocument_get_body (IHTMLDocument2 *iface, IHTMLElement **p)
 
static HRESULT WINAPI HTMLDocument_get_activeElement (IHTMLDocument2 *iface, IHTMLElement **p)
 
static HRESULT WINAPI HTMLDocument_get_images (IHTMLDocument2 *iface, IHTMLElementCollection **p)
 
static HRESULT WINAPI HTMLDocument_get_applets (IHTMLDocument2 *iface, IHTMLElementCollection **p)
 
static HRESULT WINAPI HTMLDocument_get_links (IHTMLDocument2 *iface, IHTMLElementCollection **p)
 
static HRESULT WINAPI HTMLDocument_get_forms (IHTMLDocument2 *iface, IHTMLElementCollection **p)
 
static HRESULT WINAPI HTMLDocument_get_anchors (IHTMLDocument2 *iface, IHTMLElementCollection **p)
 
static HRESULT WINAPI HTMLDocument_put_title (IHTMLDocument2 *iface, BSTR v)
 
static HRESULT WINAPI HTMLDocument_get_title (IHTMLDocument2 *iface, BSTR *p)
 
static HRESULT WINAPI HTMLDocument_get_scripts (IHTMLDocument2 *iface, IHTMLElementCollection **p)
 
static HRESULT WINAPI HTMLDocument_put_designMode (IHTMLDocument2 *iface, BSTR v)
 
static HRESULT WINAPI HTMLDocument_get_designMode (IHTMLDocument2 *iface, BSTR *p)
 
static HRESULT WINAPI HTMLDocument_get_selection (IHTMLDocument2 *iface, IHTMLSelectionObject **p)
 
static HRESULT WINAPI HTMLDocument_get_readyState (IHTMLDocument2 *iface, BSTR *p)
 
static HRESULT WINAPI HTMLDocument_get_frames (IHTMLDocument2 *iface, IHTMLFramesCollection2 **p)
 
static HRESULT WINAPI HTMLDocument_get_embeds (IHTMLDocument2 *iface, IHTMLElementCollection **p)
 
static HRESULT WINAPI HTMLDocument_get_plugins (IHTMLDocument2 *iface, IHTMLElementCollection **p)
 
static HRESULT WINAPI HTMLDocument_put_alinkColor (IHTMLDocument2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument_get_alinkColor (IHTMLDocument2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument_put_bgColor (IHTMLDocument2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument_get_bgColor (IHTMLDocument2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument_put_fgColor (IHTMLDocument2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument_get_fgColor (IHTMLDocument2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument_put_linkColor (IHTMLDocument2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument_get_linkColor (IHTMLDocument2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument_put_vlinkColor (IHTMLDocument2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument_get_vlinkColor (IHTMLDocument2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument_get_referrer (IHTMLDocument2 *iface, BSTR *p)
 
static HRESULT WINAPI HTMLDocument_get_location (IHTMLDocument2 *iface, IHTMLLocation **p)
 
static HRESULT WINAPI HTMLDocument_get_lastModified (IHTMLDocument2 *iface, BSTR *p)
 
static HRESULT WINAPI HTMLDocument_put_URL (IHTMLDocument2 *iface, BSTR v)
 
static HRESULT WINAPI HTMLDocument_get_URL (IHTMLDocument2 *iface, BSTR *p)
 
static HRESULT WINAPI HTMLDocument_put_domain (IHTMLDocument2 *iface, BSTR v)
 
static HRESULT WINAPI HTMLDocument_get_domain (IHTMLDocument2 *iface, BSTR *p)
 
static HRESULT WINAPI HTMLDocument_put_cookie (IHTMLDocument2 *iface, BSTR v)
 
static HRESULT WINAPI HTMLDocument_get_cookie (IHTMLDocument2 *iface, BSTR *p)
 
static HRESULT WINAPI HTMLDocument_put_expando (IHTMLDocument2 *iface, VARIANT_BOOL v)
 
static HRESULT WINAPI HTMLDocument_get_expando (IHTMLDocument2 *iface, VARIANT_BOOL *p)
 
static HRESULT WINAPI HTMLDocument_put_charset (IHTMLDocument2 *iface, BSTR v)
 
static HRESULT WINAPI HTMLDocument_get_charset (IHTMLDocument2 *iface, BSTR *p)
 
static HRESULT WINAPI HTMLDocument_put_defaultCharset (IHTMLDocument2 *iface, BSTR v)
 
static HRESULT WINAPI HTMLDocument_get_defaultCharset (IHTMLDocument2 *iface, BSTR *p)
 
static HRESULT WINAPI HTMLDocument_get_mimeType (IHTMLDocument2 *iface, BSTR *p)
 
static HRESULT WINAPI HTMLDocument_get_fileSize (IHTMLDocument2 *iface, BSTR *p)
 
static HRESULT WINAPI HTMLDocument_get_fileCreatedDate (IHTMLDocument2 *iface, BSTR *p)
 
static HRESULT WINAPI HTMLDocument_get_fileModifiedDate (IHTMLDocument2 *iface, BSTR *p)
 
static HRESULT WINAPI HTMLDocument_get_fileUpdatedDate (IHTMLDocument2 *iface, BSTR *p)
 
static HRESULT WINAPI HTMLDocument_get_security (IHTMLDocument2 *iface, BSTR *p)
 
static HRESULT WINAPI HTMLDocument_get_protocol (IHTMLDocument2 *iface, BSTR *p)
 
static HRESULT WINAPI HTMLDocument_get_nameProp (IHTMLDocument2 *iface, BSTR *p)
 
static HRESULT document_write (HTMLDocument *This, SAFEARRAY *psarray, BOOL ln)
 
static HRESULT WINAPI HTMLDocument_write (IHTMLDocument2 *iface, SAFEARRAY *psarray)
 
static HRESULT WINAPI HTMLDocument_writeln (IHTMLDocument2 *iface, SAFEARRAY *psarray)
 
static HRESULT WINAPI HTMLDocument_open (IHTMLDocument2 *iface, BSTR url, VARIANT name, VARIANT features, VARIANT replace, IDispatch **pomWindowResult)
 
static HRESULT WINAPI HTMLDocument_close (IHTMLDocument2 *iface)
 
static HRESULT WINAPI HTMLDocument_clear (IHTMLDocument2 *iface)
 
static BOOL cmdid_from_string (const WCHAR *str, OLECMDID *cmdid)
 
static HRESULT WINAPI HTMLDocument_queryCommandSupported (IHTMLDocument2 *iface, BSTR cmdID, VARIANT_BOOL *pfRet)
 
static HRESULT WINAPI HTMLDocument_queryCommandEnabled (IHTMLDocument2 *iface, BSTR cmdID, VARIANT_BOOL *pfRet)
 
static HRESULT WINAPI HTMLDocument_queryCommandState (IHTMLDocument2 *iface, BSTR cmdID, VARIANT_BOOL *pfRet)
 
static HRESULT WINAPI HTMLDocument_queryCommandIndeterm (IHTMLDocument2 *iface, BSTR cmdID, VARIANT_BOOL *pfRet)
 
static HRESULT WINAPI HTMLDocument_queryCommandText (IHTMLDocument2 *iface, BSTR cmdID, BSTR *pfRet)
 
static HRESULT WINAPI HTMLDocument_queryCommandValue (IHTMLDocument2 *iface, BSTR cmdID, VARIANT *pfRet)
 
static HRESULT WINAPI HTMLDocument_execCommand (IHTMLDocument2 *iface, BSTR cmdID, VARIANT_BOOL showUI, VARIANT value, VARIANT_BOOL *pfRet)
 
static HRESULT WINAPI HTMLDocument_execCommandShowHelp (IHTMLDocument2 *iface, BSTR cmdID, VARIANT_BOOL *pfRet)
 
static HRESULT WINAPI HTMLDocument_createElement (IHTMLDocument2 *iface, BSTR eTag, IHTMLElement **newElem)
 
static HRESULT WINAPI HTMLDocument_put_onhelp (IHTMLDocument2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument_get_onhelp (IHTMLDocument2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument_put_onclick (IHTMLDocument2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument_get_onclick (IHTMLDocument2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument_put_ondblclick (IHTMLDocument2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument_get_ondblclick (IHTMLDocument2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument_put_onkeyup (IHTMLDocument2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument_get_onkeyup (IHTMLDocument2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument_put_onkeydown (IHTMLDocument2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument_get_onkeydown (IHTMLDocument2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument_put_onkeypress (IHTMLDocument2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument_get_onkeypress (IHTMLDocument2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument_put_onmouseup (IHTMLDocument2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument_get_onmouseup (IHTMLDocument2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument_put_onmousedown (IHTMLDocument2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument_get_onmousedown (IHTMLDocument2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument_put_onmousemove (IHTMLDocument2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument_get_onmousemove (IHTMLDocument2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument_put_onmouseout (IHTMLDocument2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument_get_onmouseout (IHTMLDocument2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument_put_onmouseover (IHTMLDocument2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument_get_onmouseover (IHTMLDocument2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument_put_onreadystatechange (IHTMLDocument2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument_get_onreadystatechange (IHTMLDocument2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument_put_onafterupdate (IHTMLDocument2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument_get_onafterupdate (IHTMLDocument2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument_put_onrowexit (IHTMLDocument2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument_get_onrowexit (IHTMLDocument2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument_put_onrowenter (IHTMLDocument2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument_get_onrowenter (IHTMLDocument2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument_put_ondragstart (IHTMLDocument2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument_get_ondragstart (IHTMLDocument2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument_put_onselectstart (IHTMLDocument2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument_get_onselectstart (IHTMLDocument2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument_elementFromPoint (IHTMLDocument2 *iface, LONG x, LONG y, IHTMLElement **elementHit)
 
static HRESULT WINAPI HTMLDocument_get_parentWindow (IHTMLDocument2 *iface, IHTMLWindow2 **p)
 
static HRESULT WINAPI HTMLDocument_get_styleSheets (IHTMLDocument2 *iface, IHTMLStyleSheetsCollection **p)
 
static HRESULT WINAPI HTMLDocument_put_onbeforeupdate (IHTMLDocument2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument_get_onbeforeupdate (IHTMLDocument2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument_put_onerrorupdate (IHTMLDocument2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument_get_onerrorupdate (IHTMLDocument2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument_toString (IHTMLDocument2 *iface, BSTR *String)
 
static HRESULT WINAPI HTMLDocument_createStyleSheet (IHTMLDocument2 *iface, BSTR bstrHref, LONG lIndex, IHTMLStyleSheet **ppnewStyleSheet)
 
static HTMLDocumentimpl_from_IHTMLDocument3 (IHTMLDocument3 *iface)
 
static HRESULT WINAPI HTMLDocument3_QueryInterface (IHTMLDocument3 *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI HTMLDocument3_AddRef (IHTMLDocument3 *iface)
 
static ULONG WINAPI HTMLDocument3_Release (IHTMLDocument3 *iface)
 
static HRESULT WINAPI HTMLDocument3_GetTypeInfoCount (IHTMLDocument3 *iface, UINT *pctinfo)
 
static HRESULT WINAPI HTMLDocument3_GetTypeInfo (IHTMLDocument3 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
 
static HRESULT WINAPI HTMLDocument3_GetIDsOfNames (IHTMLDocument3 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
 
static HRESULT WINAPI HTMLDocument3_Invoke (IHTMLDocument3 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
 
static HRESULT WINAPI HTMLDocument3_releaseCapture (IHTMLDocument3 *iface)
 
static HRESULT WINAPI HTMLDocument3_recalc (IHTMLDocument3 *iface, VARIANT_BOOL fForce)
 
static HRESULT WINAPI HTMLDocument3_createTextNode (IHTMLDocument3 *iface, BSTR text, IHTMLDOMNode **newTextNode)
 
static HRESULT WINAPI HTMLDocument3_get_documentElement (IHTMLDocument3 *iface, IHTMLElement **p)
 
static HRESULT WINAPI HTMLDocument3_uniqueID (IHTMLDocument3 *iface, BSTR *p)
 
static HRESULT WINAPI HTMLDocument3_attachEvent (IHTMLDocument3 *iface, BSTR event, IDispatch *pDisp, VARIANT_BOOL *pfResult)
 
static HRESULT WINAPI HTMLDocument3_detachEvent (IHTMLDocument3 *iface, BSTR event, IDispatch *pDisp)
 
static HRESULT WINAPI HTMLDocument3_put_onrowsdelete (IHTMLDocument3 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument3_get_onrowsdelete (IHTMLDocument3 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument3_put_onrowsinserted (IHTMLDocument3 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument3_get_onrowsinserted (IHTMLDocument3 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument3_put_oncellchange (IHTMLDocument3 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument3_get_oncellchange (IHTMLDocument3 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument3_put_ondatasetchanged (IHTMLDocument3 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument3_get_ondatasetchanged (IHTMLDocument3 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument3_put_ondataavailable (IHTMLDocument3 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument3_get_ondataavailable (IHTMLDocument3 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument3_put_ondatasetcomplete (IHTMLDocument3 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument3_get_ondatasetcomplete (IHTMLDocument3 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument3_put_onpropertychange (IHTMLDocument3 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument3_get_onpropertychange (IHTMLDocument3 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument3_put_dir (IHTMLDocument3 *iface, BSTR v)
 
static HRESULT WINAPI HTMLDocument3_get_dir (IHTMLDocument3 *iface, BSTR *p)
 
static HRESULT WINAPI HTMLDocument3_put_oncontextmenu (IHTMLDocument3 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument3_get_oncontextmenu (IHTMLDocument3 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument3_put_onstop (IHTMLDocument3 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument3_get_onstop (IHTMLDocument3 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument3_createDocumentFragment (IHTMLDocument3 *iface, IHTMLDocument2 **ppNewDoc)
 
static HRESULT WINAPI HTMLDocument3_get_parentDocument (IHTMLDocument3 *iface, IHTMLDocument2 **p)
 
static HRESULT WINAPI HTMLDocument3_put_enableDownload (IHTMLDocument3 *iface, VARIANT_BOOL v)
 
static HRESULT WINAPI HTMLDocument3_get_enableDownload (IHTMLDocument3 *iface, VARIANT_BOOL *p)
 
static HRESULT WINAPI HTMLDocument3_put_baseUrl (IHTMLDocument3 *iface, BSTR v)
 
static HRESULT WINAPI HTMLDocument3_get_baseUrl (IHTMLDocument3 *iface, BSTR *p)
 
static HRESULT WINAPI HTMLDocument3_get_childNodes (IHTMLDocument3 *iface, IDispatch **p)
 
static HRESULT WINAPI HTMLDocument3_put_inheritStyleSheets (IHTMLDocument3 *iface, VARIANT_BOOL v)
 
static HRESULT WINAPI HTMLDocument3_get_inheritStyleSheets (IHTMLDocument3 *iface, VARIANT_BOOL *p)
 
static HRESULT WINAPI HTMLDocument3_put_onbeforeeditfocus (IHTMLDocument3 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument3_get_onbeforeeditfocus (IHTMLDocument3 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument3_getElementsByName (IHTMLDocument3 *iface, BSTR v, IHTMLElementCollection **ppelColl)
 
static HRESULT WINAPI HTMLDocument3_getElementById (IHTMLDocument3 *iface, BSTR v, IHTMLElement **pel)
 
static HRESULT WINAPI HTMLDocument3_getElementsByTagName (IHTMLDocument3 *iface, BSTR v, IHTMLElementCollection **pelColl)
 
static HTMLDocumentimpl_from_IHTMLDocument4 (IHTMLDocument4 *iface)
 
static HRESULT WINAPI HTMLDocument4_QueryInterface (IHTMLDocument4 *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI HTMLDocument4_AddRef (IHTMLDocument4 *iface)
 
static ULONG WINAPI HTMLDocument4_Release (IHTMLDocument4 *iface)
 
static HRESULT WINAPI HTMLDocument4_GetTypeInfoCount (IHTMLDocument4 *iface, UINT *pctinfo)
 
static HRESULT WINAPI HTMLDocument4_GetTypeInfo (IHTMLDocument4 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
 
static HRESULT WINAPI HTMLDocument4_GetIDsOfNames (IHTMLDocument4 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
 
static HRESULT WINAPI HTMLDocument4_Invoke (IHTMLDocument4 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
 
static HRESULT WINAPI HTMLDocument4_focus (IHTMLDocument4 *iface)
 
static HRESULT WINAPI HTMLDocument4_hasFocus (IHTMLDocument4 *iface, VARIANT_BOOL *pfFocus)
 
static HRESULT WINAPI HTMLDocument4_put_onselectionchange (IHTMLDocument4 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument4_get_onselectionchange (IHTMLDocument4 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument4_get_namespace (IHTMLDocument4 *iface, IDispatch **p)
 
static HRESULT WINAPI HTMLDocument4_createDocumentFromUrl (IHTMLDocument4 *iface, BSTR bstrUrl, BSTR bstrOptions, IHTMLDocument2 **newDoc)
 
static HRESULT WINAPI HTMLDocument4_put_media (IHTMLDocument4 *iface, BSTR v)
 
static HRESULT WINAPI HTMLDocument4_get_media (IHTMLDocument4 *iface, BSTR *p)
 
static HRESULT WINAPI HTMLDocument4_createEventObject (IHTMLDocument4 *iface, VARIANT *pvarEventObject, IHTMLEventObj **ppEventObj)
 
static HRESULT WINAPI HTMLDocument4_fireEvent (IHTMLDocument4 *iface, BSTR bstrEventName, VARIANT *pvarEventObject, VARIANT_BOOL *pfCanceled)
 
static HRESULT WINAPI HTMLDocument4_createRenderStyle (IHTMLDocument4 *iface, BSTR v, IHTMLRenderStyle **ppIHTMLRenderStyle)
 
static HRESULT WINAPI HTMLDocument4_put_oncontrolselect (IHTMLDocument4 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument4_get_oncontrolselect (IHTMLDocument4 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument4_get_URLEncoded (IHTMLDocument4 *iface, BSTR *p)
 
static HTMLDocumentimpl_from_IHTMLDocument5 (IHTMLDocument5 *iface)
 
static HRESULT WINAPI HTMLDocument5_QueryInterface (IHTMLDocument5 *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI HTMLDocument5_AddRef (IHTMLDocument5 *iface)
 
static ULONG WINAPI HTMLDocument5_Release (IHTMLDocument5 *iface)
 
static HRESULT WINAPI HTMLDocument5_GetTypeInfoCount (IHTMLDocument5 *iface, UINT *pctinfo)
 
static HRESULT WINAPI HTMLDocument5_GetTypeInfo (IHTMLDocument5 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
 
static HRESULT WINAPI HTMLDocument5_GetIDsOfNames (IHTMLDocument5 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
 
static HRESULT WINAPI HTMLDocument5_Invoke (IHTMLDocument5 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
 
static HRESULT WINAPI HTMLDocument5_put_onmousewheel (IHTMLDocument5 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument5_get_onmousewheel (IHTMLDocument5 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument5_get_doctype (IHTMLDocument5 *iface, IHTMLDOMNode **p)
 
static HRESULT WINAPI HTMLDocument5_get_implementation (IHTMLDocument5 *iface, IHTMLDOMImplementation **p)
 
static HRESULT WINAPI HTMLDocument5_createAttribute (IHTMLDocument5 *iface, BSTR bstrattrName, IHTMLDOMAttribute **ppattribute)
 
static HRESULT WINAPI HTMLDocument5_createComment (IHTMLDocument5 *iface, BSTR bstrdata, IHTMLDOMNode **ppRetNode)
 
static HRESULT WINAPI HTMLDocument5_put_onfocusin (IHTMLDocument5 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument5_get_onfocusin (IHTMLDocument5 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument5_put_onfocusout (IHTMLDocument5 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument5_get_onfocusout (IHTMLDocument5 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument5_put_onactivate (IHTMLDocument5 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument5_get_onactivate (IHTMLDocument5 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument5_put_ondeactivate (IHTMLDocument5 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument5_get_ondeactivate (IHTMLDocument5 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument5_put_onbeforeactivate (IHTMLDocument5 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument5_get_onbeforeactivate (IHTMLDocument5 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument5_put_onbeforedeactivate (IHTMLDocument5 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument5_get_onbeforedeactivate (IHTMLDocument5 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument5_get_compatMode (IHTMLDocument5 *iface, BSTR *p)
 
static HTMLDocumentimpl_from_IHTMLDocument6 (IHTMLDocument6 *iface)
 
static HRESULT WINAPI HTMLDocument6_QueryInterface (IHTMLDocument6 *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI HTMLDocument6_AddRef (IHTMLDocument6 *iface)
 
static ULONG WINAPI HTMLDocument6_Release (IHTMLDocument6 *iface)
 
static HRESULT WINAPI HTMLDocument6_GetTypeInfoCount (IHTMLDocument6 *iface, UINT *pctinfo)
 
static HRESULT WINAPI HTMLDocument6_GetTypeInfo (IHTMLDocument6 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
 
static HRESULT WINAPI HTMLDocument6_GetIDsOfNames (IHTMLDocument6 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
 
static HRESULT WINAPI HTMLDocument6_Invoke (IHTMLDocument6 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
 
static HRESULT WINAPI HTMLDocument6_get_compatible (IHTMLDocument6 *iface, IHTMLDocumentCompatibleInfoCollection **p)
 
static HRESULT WINAPI HTMLDocument6_get_documentMode (IHTMLDocument6 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument6_get_onstorage (IHTMLDocument6 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument6_put_onstorage (IHTMLDocument6 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument6_get_onstoragecommit (IHTMLDocument6 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument6_put_onstoragecommit (IHTMLDocument6 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument6_getElementById (IHTMLDocument6 *iface, BSTR bstrId, IHTMLElement2 **p)
 
static HRESULT WINAPI HTMLDocument6_updateSettings (IHTMLDocument6 *iface)
 
static HTMLDocumentimpl_from_IHTMLDocument7 (IHTMLDocument7 *iface)
 
static HRESULT WINAPI HTMLDocument7_QueryInterface (IHTMLDocument7 *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI HTMLDocument7_AddRef (IHTMLDocument7 *iface)
 
static ULONG WINAPI HTMLDocument7_Release (IHTMLDocument7 *iface)
 
static HRESULT WINAPI HTMLDocument7_GetTypeInfoCount (IHTMLDocument7 *iface, UINT *pctinfo)
 
static HRESULT WINAPI HTMLDocument7_GetTypeInfo (IHTMLDocument7 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
 
static HRESULT WINAPI HTMLDocument7_GetIDsOfNames (IHTMLDocument7 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
 
static HRESULT WINAPI HTMLDocument7_Invoke (IHTMLDocument7 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
 
static HRESULT WINAPI HTMLDocument7_get_defaultView (IHTMLDocument7 *iface, IHTMLWindow2 **p)
 
static HRESULT WINAPI HTMLDocument7_createCDATASection (IHTMLDocument7 *iface, BSTR text, IHTMLDOMNode **newCDATASectionNode)
 
static HRESULT WINAPI HTMLDocument7_getSelection (IHTMLDocument7 *iface, IHTMLSelection **ppIHTMLSelection)
 
static HRESULT WINAPI HTMLDocument7_getElementsByTagNameNS (IHTMLDocument7 *iface, VARIANT *pvarNS, BSTR bstrLocalName, IHTMLElementCollection **pelColl)
 
static HRESULT WINAPI HTMLDocument7_createElementNS (IHTMLDocument7 *iface, VARIANT *pvarNS, BSTR bstrTag, IHTMLElement **newElem)
 
static HRESULT WINAPI HTMLDocument7_createAttributeNS (IHTMLDocument7 *iface, VARIANT *pvarNS, BSTR bstrAttrName, IHTMLDOMAttribute **ppAttribute)
 
static HRESULT WINAPI HTMLDocument7_put_onmsthumbnailclick (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_onmsthumbnailclick (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_get_characterSet (IHTMLDocument7 *iface, BSTR *p)
 
static HRESULT WINAPI HTMLDocument7_createElement (IHTMLDocument7 *iface, BSTR bstrTag, IHTMLElement **newElem)
 
static HRESULT WINAPI HTMLDocument7_createAttribute (IHTMLDocument7 *iface, BSTR bstrAttrName, IHTMLDOMAttribute **ppAttribute)
 
static HRESULT WINAPI HTMLDocument7_getElementByClassName (IHTMLDocument7 *iface, BSTR v, IHTMLElementCollection **pel)
 
static HRESULT WINAPI HTMLDocument7_createProcessingInstruction (IHTMLDocument7 *iface, BSTR target, BSTR data, IDOMProcessingInstruction **newProcessingInstruction)
 
static HRESULT WINAPI HTMLDocument7_adoptNode (IHTMLDocument7 *iface, IHTMLDOMNode *pNodeSource, IHTMLDOMNode3 **ppNodeDest)
 
static HRESULT WINAPI HTMLDocument7_put_onmssitemodejumplistitemremoved (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_onmssitemodejumplistitemremoved (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_get_all (IHTMLDocument7 *iface, IHTMLElementCollection **p)
 
static HRESULT WINAPI HTMLDocument7_get_inputEncoding (IHTMLDocument7 *iface, BSTR *p)
 
static HRESULT WINAPI HTMLDocument7_get_xmlEncoding (IHTMLDocument7 *iface, BSTR *p)
 
static HRESULT WINAPI HTMLDocument7_put_xmlStandalone (IHTMLDocument7 *iface, VARIANT_BOOL v)
 
static HRESULT WINAPI HTMLDocument7_get_xmlStandalone (IHTMLDocument7 *iface, VARIANT_BOOL *p)
 
static HRESULT WINAPI HTMLDocument7_put_xmlVersion (IHTMLDocument7 *iface, BSTR v)
 
static HRESULT WINAPI HTMLDocument7_get_xmlVersion (IHTMLDocument7 *iface, BSTR *p)
 
static HRESULT WINAPI HTMLDocument7_hasAttributes (IHTMLDocument7 *iface, VARIANT_BOOL *pfHasAttributes)
 
static HRESULT WINAPI HTMLDocument7_put_onabort (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_onabort (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_put_onblur (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_onblur (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_put_oncanplay (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_oncanplay (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_put_oncanplaythrough (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_oncanplaythrough (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_put_onchange (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_onchange (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_put_ondrag (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_ondrag (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_put_ondragend (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_ondragend (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_put_ondragenter (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_ondragenter (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_put_ondragleave (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_ondragleave (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_put_ondragover (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_ondragover (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_put_ondrop (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_ondrop (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_put_ondurationchange (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_ondurationchange (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_put_onemptied (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_onemptied (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_put_onended (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_onended (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_put_onerror (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_onerror (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_put_onfocus (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_onfocus (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_put_oninput (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_oninput (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_put_onload (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_onload (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_put_onloadeddata (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_onloadeddata (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_put_onloadedmetadata (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_onloadedmetadata (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_put_onloadstart (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_onloadstart (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_put_onpause (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_onpause (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_put_onplay (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_onplay (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_put_onplaying (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_onplaying (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_put_onprogress (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_onprogress (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_put_onratechange (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_onratechange (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_put_onreset (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_onreset (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_put_onscroll (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_onscroll (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_put_onseekend (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_onseekend (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_put_onseeking (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_onseeking (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_put_onselect (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_onselect (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_put_onstalled (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_onstalled (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_put_onsubmit (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_onsubmit (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_put_onsuspend (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_onsuspend (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_put_ontimeupdate (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_ontimeupdate (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_put_onvolumechange (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_onvolumechange (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_put_onwaiting (IHTMLDocument7 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLDocument7_get_onwaiting (IHTMLDocument7 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLDocument7_normalize (IHTMLDocument7 *iface)
 
static HRESULT WINAPI HTMLDocument7_importNode (IHTMLDocument7 *iface, IHTMLDOMNode *pNodeSource, VARIANT_BOOL fDeep, IHTMLDOMNode3 **ppNodeDest)
 
static HRESULT WINAPI HTMLDocument7_get_parentWindow (IHTMLDocument7 *iface, IHTMLWindow2 **p)
 
static HRESULT WINAPI HTMLDocument7_put_body (IHTMLDocument7 *iface, IHTMLElement *v)
 
static HRESULT WINAPI HTMLDocument7_get_body (IHTMLDocument7 *iface, IHTMLElement **p)
 
static HRESULT WINAPI HTMLDocument7_get_head (IHTMLDocument7 *iface, IHTMLElement **p)
 
static void HTMLDocument_on_advise (IUnknown *iface, cp_static_data_t *cp)
 
static HTMLDocumentimpl_from_ISupportErrorInfo (ISupportErrorInfo *iface)
 
static HRESULT WINAPI SupportErrorInfo_QueryInterface (ISupportErrorInfo *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI SupportErrorInfo_AddRef (ISupportErrorInfo *iface)
 
static ULONG WINAPI SupportErrorInfo_Release (ISupportErrorInfo *iface)
 
static HRESULT WINAPI SupportErrorInfo_InterfaceSupportsErrorInfo (ISupportErrorInfo *iface, REFIID riid)
 
static HTMLDocumentimpl_from_IDispatchEx (IDispatchEx *iface)
 
static HRESULT dispid_from_elem_name (HTMLDocumentNode *This, BSTR name, DISPID *dispid)
 
static HRESULT WINAPI DocDispatchEx_QueryInterface (IDispatchEx *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI DocDispatchEx_AddRef (IDispatchEx *iface)
 
static ULONG WINAPI DocDispatchEx_Release (IDispatchEx *iface)
 
static HRESULT WINAPI DocDispatchEx_GetTypeInfoCount (IDispatchEx *iface, UINT *pctinfo)
 
static HRESULT WINAPI DocDispatchEx_GetTypeInfo (IDispatchEx *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
 
static HRESULT WINAPI DocDispatchEx_GetIDsOfNames (IDispatchEx *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
 
static HRESULT WINAPI DocDispatchEx_Invoke (IDispatchEx *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
 
static HRESULT WINAPI DocDispatchEx_GetDispID (IDispatchEx *iface, BSTR bstrName, DWORD grfdex, DISPID *pid)
 
static HRESULT WINAPI DocDispatchEx_InvokeEx (IDispatchEx *iface, DISPID id, LCID lcid, WORD wFlags, DISPPARAMS *pdp, VARIANT *pvarRes, EXCEPINFO *pei, IServiceProvider *pspCaller)
 
static HRESULT WINAPI DocDispatchEx_DeleteMemberByName (IDispatchEx *iface, BSTR bstrName, DWORD grfdex)
 
static HRESULT WINAPI DocDispatchEx_DeleteMemberByDispID (IDispatchEx *iface, DISPID id)
 
static HRESULT WINAPI DocDispatchEx_GetMemberProperties (IDispatchEx *iface, DISPID id, DWORD grfdexFetch, DWORD *pgrfdex)
 
static HRESULT WINAPI DocDispatchEx_GetMemberName (IDispatchEx *iface, DISPID id, BSTR *pbstrName)
 
static HRESULT WINAPI DocDispatchEx_GetNextDispID (IDispatchEx *iface, DWORD grfdex, DISPID id, DISPID *pid)
 
static HRESULT WINAPI DocDispatchEx_GetNameSpaceParent (IDispatchEx *iface, IUnknown **ppunk)
 
static HTMLDocumentimpl_from_IProvideClassInfo (IProvideClassInfo *iface)
 
static HRESULT WINAPI ProvideClassInfo_QueryInterface (IProvideClassInfo *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI ProvideClassInfo_AddRef (IProvideClassInfo *iface)
 
static ULONG WINAPI ProvideClassInfo_Release (IProvideClassInfo *iface)
 
static HRESULT WINAPI ProvideClassInfo_GetClassInfo (IProvideClassInfo *iface, ITypeInfo **ppTI)
 
static BOOL htmldoc_qi (HTMLDocument *This, REFIID riid, void **ppv)
 
static void init_doc (HTMLDocument *doc, IUnknown *unk_impl, IDispatchEx *dispex)
 
static void destroy_htmldoc (HTMLDocument *This)
 
static HTMLDocumentNodeimpl_from_HTMLDOMNode (HTMLDOMNode *iface)
 
static HRESULT HTMLDocumentNode_QI (HTMLDOMNode *iface, REFIID riid, void **ppv)
 
static void HTMLDocumentNode_destructor (HTMLDOMNode *iface)
 
static HRESULT HTMLDocumentNode_clone (HTMLDOMNode *iface, nsIDOMNode *nsnode, HTMLDOMNode **ret)
 
static void HTMLDocumentNode_traverse (HTMLDOMNode *iface, nsCycleCollectionTraversalCallback *cb)
 
static void HTMLDocumentNode_unlink (HTMLDOMNode *iface)
 
static HRESULT HTMLDocumentFragment_clone (HTMLDOMNode *iface, nsIDOMNode *nsnode, HTMLDOMNode **ret)
 
static HTMLDocumentNodeimpl_from_DispatchEx (DispatchEx *iface)
 
static HRESULT HTMLDocumentNode_invoke (DispatchEx *dispex, DISPID id, LCID lcid, WORD flags, DISPPARAMS *params, VARIANT *res, EXCEPINFO *ei, IServiceProvider *caller)
 
static void HTMLDocumentNode_bind_event (DispatchEx *dispex, int eid)
 
static HTMLDocumentNodealloc_doc_node (HTMLDocumentObj *doc_obj, HTMLInnerWindow *window)
 
HRESULT create_doc_from_nsdoc (nsIDOMHTMLDocument *nsdoc, HTMLDocumentObj *doc_obj, HTMLInnerWindow *window, HTMLDocumentNode **ret)
 
static HTMLDocumentObjimpl_from_ICustomDoc (ICustomDoc *iface)
 
static HRESULT WINAPI CustomDoc_QueryInterface (ICustomDoc *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI CustomDoc_AddRef (ICustomDoc *iface)
 
static ULONG WINAPI CustomDoc_Release (ICustomDoc *iface)
 
static HRESULT WINAPI CustomDoc_SetUIHandler (ICustomDoc *iface, IDocHostUIHandler *pUIHandler)
 
HRESULT HTMLDocument_Create (IUnknown *pUnkOuter, REFIID riid, void **ppvObject)
 

Variables

static const WCHAR copyW []
 
static const WCHAR cutW []
 
static const WCHAR fontnameW []
 
static const WCHAR fontsizeW []
 
static const WCHAR indentW []
 
static const WCHAR insertorderedlistW []
 
static const WCHAR insertunorderedlistW []
 
static const WCHAR outdentW []
 
static const WCHAR pasteW []
 
static const WCHAR respectvisibilityindesignW []
 
struct {
   const WCHAR *   name
 
   OLECMDID   id
 
command_names []
 
static const IHTMLDocument2Vtbl HTMLDocumentVtbl
 
static const IHTMLDocument3Vtbl HTMLDocument3Vtbl
 
static const IHTMLDocument4Vtbl HTMLDocument4Vtbl
 
static const IHTMLDocument5Vtbl HTMLDocument5Vtbl
 
static const IHTMLDocument6Vtbl HTMLDocument6Vtbl
 
static const IHTMLDocument7Vtbl HTMLDocument7Vtbl
 
static const ISupportErrorInfoVtbl SupportErrorInfoVtbl
 
static const IDispatchExVtbl DocDispatchExVtbl
 
static const IProvideClassInfoVtbl ProvideClassInfoVtbl
 
static cp_static_data_t HTMLDocumentEvents_data = { HTMLDocumentEvents_tid, HTMLDocument_on_advise }
 
static const cpc_entry_t HTMLDocument_cpc []
 
static const NodeImplVtbl HTMLDocumentNodeImplVtbl
 
static const dispex_static_data_vtbl_t HTMLDocumentNode_dispex_vtbl
 
static const NodeImplVtbl HTMLDocumentFragmentImplVtbl
 
static const tid_t HTMLDocumentNode_iface_tids []
 
static dispex_static_data_t HTMLDocumentNode_dispex
 
static const ICustomDocVtbl CustomDocVtbl
 
static const tid_t HTMLDocumentObj_iface_tids []
 
static dispex_static_data_t HTMLDocumentObj_dispex
 

Function Documentation

◆ alloc_doc_node()

static HTMLDocumentNode * alloc_doc_node ( HTMLDocumentObj doc_obj,
HTMLInnerWindow window 
)
static

Definition at line 4593 of file htmldoc.c.

4594{
4595 HTMLDocumentNode *doc;
4596
4597 doc = heap_alloc_zero(sizeof(HTMLDocumentNode));
4598 if(!doc)
4599 return NULL;
4600
4601 doc->ref = 1;
4602 doc->basedoc.doc_node = doc;
4603 doc->basedoc.doc_obj = doc_obj;
4604 doc->basedoc.window = window->base.outer_window;
4605 doc->window = window;
4606
4612
4614 list_init(&doc->range_list);
4615 list_init(&doc->plugin_hosts);
4616
4617 return doc;
4618}
static void list_init(struct list_entry *head)
Definition: list.h:51
#define NULL
Definition: types.h:112
static void init_doc(HTMLDocument *doc, IUnknown *unk_impl, IDispatchEx *dispex)
Definition: htmldoc.c:4356
static dispex_static_data_t HTMLDocumentNode_dispex
Definition: htmldoc.c:4586
HRESULT init_dispex(jsdisp_t *dispex, script_ctx_t *ctx, const builtin_info_t *builtin_info, jsdisp_t *prototype)
Definition: dispex.c:919
static IHTMLWindow2 * window
Definition: events.c:77
void HTMLDocumentNode_SecMgr_Init(HTMLDocumentNode *) DECLSPEC_HIDDEN
Definition: secmgr.c:230
IDispatchEx IDispatchEx_iface
DispatchEx dispex
EventTarget event_target
IHTMLDOMNode IHTMLDOMNode_iface
struct list plugin_hosts
HTMLDOMNode node
struct list selection_list
HTMLDocument basedoc
HTMLInnerWindow * window
struct list range_list
HTMLOuterWindow * window
HTMLDocumentNode * doc_node
HTMLDocumentObj * doc_obj

Referenced by create_doc_from_nsdoc(), and create_document_fragment().

◆ cmdid_from_string()

static BOOL cmdid_from_string ( const WCHAR str,
OLECMDID *  cmdid 
)
static

Definition at line 1155 of file htmldoc.c.

1156{
1157 int i;
1158
1159 for(i = 0; i < sizeof(command_names)/sizeof(*command_names); i++) {
1160 if(!strcmpiW(command_names[i].name, str)) {
1161 *cmdid = command_names[i].id;
1162 return TRUE;
1163 }
1164 }
1165
1166 FIXME("Unknown command %s\n", debugstr_w(str));
1167 return FALSE;
1168}
#define FIXME(fmt,...)
Definition: precomp.h:53
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
static const struct @486 command_names[]
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
#define debugstr_w
Definition: kernel32.h:32
#define strcmpiW(s1, s2)
Definition: unicode.h:45
const WCHAR * str
Definition: name.c:39

Referenced by HTMLDocument_execCommand().

◆ create_doc_from_nsdoc()

HRESULT create_doc_from_nsdoc ( nsIDOMHTMLDocument nsdoc,
HTMLDocumentObj doc_obj,
HTMLInnerWindow window,
HTMLDocumentNode **  ret 
)

Definition at line 4620 of file htmldoc.c.

4621{
4622 HTMLDocumentNode *doc;
4623
4624 doc = alloc_doc_node(doc_obj, window);
4625 if(!doc)
4626 return E_OUTOFMEMORY;
4627
4628 if(!doc_obj->basedoc.window || window->base.outer_window == doc_obj->basedoc.window)
4630
4631 HTMLDOMNode_Init(doc, &doc->node, (nsIDOMNode*)nsdoc);
4632
4633 nsIDOMHTMLDocument_AddRef(nsdoc);
4634 doc->nsdoc = nsdoc;
4635
4637 doc_init_events(doc);
4638
4641
4642 *ret = doc;
4643 return S_OK;
4644}
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
static const NodeImplVtbl HTMLDocumentNodeImplVtbl
Definition: htmldoc.c:4473
static HTMLDocumentNode * alloc_doc_node(HTMLDocumentObj *doc_obj, HTMLInnerWindow *window)
Definition: htmldoc.c:4593
HRESULT doc_init_events(HTMLDocumentNode *doc)
Definition: htmlevent.c:1591
void HTMLDOMNode_Init(HTMLDocumentNode *doc, HTMLDOMNode *node, nsIDOMNode *nsnode)
Definition: htmlnode.c:1196
#define S_OK
Definition: intsafe.h:52
void init_document_mutation(HTMLDocumentNode *) DECLSPEC_HIDDEN
Definition: mutation.c:726
struct ConnectionPointContainer * forward_container
ConnectionPointContainer * cp_container
const NodeImplVtbl * vtbl
nsIDOMHTMLDocument * nsdoc
HTMLDocument basedoc
ConnectionPointContainer cp_container
int ret

Referenced by update_window_doc().

◆ create_document_fragment()

static HRESULT create_document_fragment ( nsIDOMNode nsnode,
HTMLDocumentNode doc_node,
HTMLDocumentNode **  ret 
)
static

Definition at line 4646 of file htmldoc.c.

4647{
4648 HTMLDocumentNode *doc_frag;
4649
4650 doc_frag = alloc_doc_node(doc_node->basedoc.doc_obj, doc_node->window);
4651 if(!doc_frag)
4652 return E_OUTOFMEMORY;
4653
4654 IHTMLWindow2_AddRef(&doc_frag->window->base.IHTMLWindow2_iface);
4655
4656 HTMLDOMNode_Init(doc_node, &doc_frag->node, nsnode);
4658 doc_frag->node.cp_container = &doc_frag->basedoc.cp_container;
4659
4660 *ret = doc_frag;
4661 return S_OK;
4662}
static const NodeImplVtbl HTMLDocumentFragmentImplVtbl
Definition: htmldoc.c:4569
IHTMLWindow2 IHTMLWindow2_iface

Referenced by HTMLDocument3_createDocumentFragment(), and HTMLDocumentFragment_clone().

◆ CustomDoc_AddRef()

static ULONG WINAPI CustomDoc_AddRef ( ICustomDoc iface)
static

Definition at line 4698 of file htmldoc.c.

4699{
4702
4703 TRACE("(%p) ref = %u\n", This, ref);
4704
4705 return ref;
4706}
#define InterlockedIncrement
Definition: armddk.h:53
static HTMLDocumentObj * impl_from_ICustomDoc(ICustomDoc *iface)
Definition: htmldoc.c:4668
#define TRACE(s)
Definition: solgame.cpp:4
Definition: send.c:48
uint32_t ULONG
Definition: typedefs.h:59

◆ CustomDoc_QueryInterface()

static HRESULT WINAPI CustomDoc_QueryInterface ( ICustomDoc iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 4673 of file htmldoc.c.

4674{
4676
4677 TRACE("(%p)->(%s %p)\n", This, debugstr_mshtml_guid(riid), ppv);
4678
4679 if(htmldoc_qi(&This->basedoc, riid, ppv))
4680 return *ppv ? S_OK : E_NOINTERFACE;
4681
4682 if(IsEqualGUID(&IID_ICustomDoc, riid)) {
4683 *ppv = &This->ICustomDoc_iface;
4684 }else if(IsEqualGUID(&IID_ITargetContainer, riid)) {
4685 *ppv = &This->ITargetContainer_iface;
4686 }else if(dispex_query_interface(&This->dispex, riid, ppv)) {
4687 return *ppv ? S_OK : E_NOINTERFACE;
4688 }else {
4689 FIXME("Unimplemented interface %s\n", debugstr_mshtml_guid(riid));
4690 *ppv = NULL;
4691 return E_NOINTERFACE;
4692 }
4693
4694 IUnknown_AddRef((IUnknown*)*ppv);
4695 return S_OK;
4696}
static BOOL htmldoc_qi(HTMLDocument *This, REFIID riid, void **ppv)
Definition: htmldoc.c:4241
const char * debugstr_mshtml_guid(const GUID *iid)
Definition: main.c:542
REFIID riid
Definition: atlbase.h:39
REFIID LPVOID * ppv
Definition: atlbase.h:39
BOOL dispex_query_interface(DispatchEx *This, REFIID riid, void **ppv)
Definition: dispex.c:1656
#define IsEqualGUID(rguid1, rguid2)
Definition: guiddef.h:147
#define E_NOINTERFACE
Definition: winerror.h:2364

◆ CustomDoc_Release()

static ULONG WINAPI CustomDoc_Release ( ICustomDoc iface)
static

Definition at line 4708 of file htmldoc.c.

4709{
4712
4713 TRACE("(%p) ref = %u\n", This, ref);
4714
4715 if(!ref) {
4716 nsIDOMWindowUtils *window_utils = NULL;
4717
4718 if(This->basedoc.window && This->basedoc.window->nswindow)
4719 get_nsinterface((nsISupports*)This->basedoc.window->nswindow, &IID_nsIDOMWindowUtils, (void**)&window_utils);
4720
4721 if(This->basedoc.doc_node) {
4722 This->basedoc.doc_node->basedoc.doc_obj = NULL;
4723 htmldoc_release(&This->basedoc.doc_node->basedoc);
4724 }
4725 if(This->basedoc.window) {
4726 This->basedoc.window->doc_obj = NULL;
4727 IHTMLWindow2_Release(&This->basedoc.window->base.IHTMLWindow2_iface);
4728 }
4729 if(This->basedoc.advise_holder)
4730 IOleAdviseHolder_Release(This->basedoc.advise_holder);
4731
4732 if(This->view_sink)
4733 IAdviseSink_Release(This->view_sink);
4734 if(This->client)
4735 IOleObject_SetClientSite(&This->basedoc.IOleObject_iface, NULL);
4736 if(This->hostui)
4737 ICustomDoc_SetUIHandler(&This->ICustomDoc_iface, NULL);
4738 if(This->in_place_active)
4739 IOleInPlaceObjectWindowless_InPlaceDeactivate(&This->basedoc.IOleInPlaceObjectWindowless_iface);
4740 if(This->ipsite)
4741 IOleDocumentView_SetInPlaceSite(&This->basedoc.IOleDocumentView_iface, NULL);
4742 if(This->undomgr)
4743 IOleUndoManager_Release(This->undomgr);
4744 if(This->editsvcs)
4745 IHTMLEditServices_Release(This->editsvcs);
4746 if(This->tooltips_hwnd)
4747 DestroyWindow(This->tooltips_hwnd);
4748
4749 if(This->hwnd)
4750 DestroyWindow(This->hwnd);
4751 heap_free(This->mime);
4752
4753 destroy_htmldoc(&This->basedoc);
4754 release_dispex(&This->dispex);
4755
4756 if(This->nscontainer)
4757 NSContainer_Release(This->nscontainer);
4758 heap_free(This);
4759
4760 /* Force cycle collection */
4761 if(window_utils) {
4762 nsIDOMWindowUtils_CycleCollect(window_utils, NULL, 0);
4763 nsIDOMWindowUtils_Release(window_utils);
4764 }
4765 }
4766
4767 return ref;
4768}
static BOOL heap_free(void *mem)
Definition: appwiz.h:76
#define InterlockedDecrement
Definition: armddk.h:52
static void destroy_htmldoc(HTMLDocument *This)
Definition: htmldoc.c:4383
void release_dispex(DispatchEx *This)
Definition: dispex.c:1706
void NSContainer_Release(NSContainer *) DECLSPEC_HIDDEN
Definition: nsembed.c:2107
nsresult get_nsinterface(nsISupports *, REFIID, void **) DECLSPEC_HIDDEN
Definition: nsembed.c:907
static ULONG htmldoc_release(HTMLDocument *This)
BOOL WINAPI DestroyWindow(_In_ HWND)

◆ CustomDoc_SetUIHandler()

static HRESULT WINAPI CustomDoc_SetUIHandler ( ICustomDoc iface,
IDocHostUIHandler pUIHandler 
)
static

Definition at line 4770 of file htmldoc.c.

4771{
4773 IOleCommandTarget *cmdtrg;
4774 HRESULT hres;
4775
4776 TRACE("(%p)->(%p)\n", This, pUIHandler);
4777
4778 if(This->custom_hostui && This->hostui == pUIHandler)
4779 return S_OK;
4780
4781 This->custom_hostui = TRUE;
4782
4783 if(This->hostui)
4784 IDocHostUIHandler_Release(This->hostui);
4785 if(pUIHandler)
4786 IDocHostUIHandler_AddRef(pUIHandler);
4787 This->hostui = pUIHandler;
4788 if(!pUIHandler)
4789 return S_OK;
4790
4791 hres = IDocHostUIHandler_QueryInterface(pUIHandler, &IID_IOleCommandTarget, (void**)&cmdtrg);
4792 if(SUCCEEDED(hres)) {
4793 FIXME("custom UI handler supports IOleCommandTarget\n");
4794 IOleCommandTarget_Release(cmdtrg);
4795 }
4796
4797 return S_OK;
4798}
#define SUCCEEDED(hr)
Definition: intsafe.h:50
HRESULT hres
Definition: protocol.c:465

◆ destroy_htmldoc()

static void destroy_htmldoc ( HTMLDocument This)
static

Definition at line 4383 of file htmldoc.c.

4384{
4385 remove_target_tasks(This->task_magic);
4386
4387 ConnectionPointContainer_Destroy(&This->cp_container);
4388}
void ConnectionPointContainer_Destroy(ConnectionPointContainer *This)
Definition: events.c:442
void remove_target_tasks(LONG) DECLSPEC_HIDDEN
Definition: task.c:107

Referenced by CustomDoc_Release(), and HTMLDocumentNode_destructor().

◆ dispid_from_elem_name()

static HRESULT dispid_from_elem_name ( HTMLDocumentNode This,
BSTR  name,
DISPID dispid 
)
static

Definition at line 3989 of file htmldoc.c.

3990{
3991 nsIDOMNodeList *node_list;
3992 nsAString name_str;
3993 UINT32 len;
3994 unsigned i;
3995 nsresult nsres;
3996
3997 if(!This->nsdoc)
3998 return DISP_E_UNKNOWNNAME;
3999
4000 nsAString_InitDepend(&name_str, name);
4001 nsres = nsIDOMHTMLDocument_GetElementsByName(This->nsdoc, &name_str, &node_list);
4002 nsAString_Finish(&name_str);
4003 if(NS_FAILED(nsres))
4004 return E_FAIL;
4005
4006 nsres = nsIDOMNodeList_GetLength(node_list, &len);
4007 nsIDOMNodeList_Release(node_list);
4008 if(NS_FAILED(nsres))
4009 return E_FAIL;
4010
4011 if(!len)
4012 return DISP_E_UNKNOWNNAME;
4013
4014 for(i=0; i < This->elem_vars_cnt; i++) {
4015 if(!strcmpW(name, This->elem_vars[i])) {
4016 *dispid = MSHTML_DISPID_CUSTOM_MIN+i;
4017 return S_OK;
4018 }
4019 }
4020
4021 if(This->elem_vars_cnt == This->elem_vars_size) {
4022 WCHAR **new_vars;
4023
4024 if(This->elem_vars_size) {
4025 new_vars = heap_realloc(This->elem_vars, This->elem_vars_size*2*sizeof(WCHAR*));
4026 if(!new_vars)
4027 return E_OUTOFMEMORY;
4028 This->elem_vars_size *= 2;
4029 }else {
4030 new_vars = heap_alloc(16*sizeof(WCHAR*));
4031 if(!new_vars)
4032 return E_OUTOFMEMORY;
4033 This->elem_vars_size = 16;
4034 }
4035
4036 This->elem_vars = new_vars;
4037 }
4038
4039 This->elem_vars[This->elem_vars_cnt] = heap_strdupW(name);
4040 if(!This->elem_vars[This->elem_vars_cnt])
4041 return E_OUTOFMEMORY;
4042
4043 *dispid = MSHTML_DISPID_CUSTOM_MIN+This->elem_vars_cnt++;
4044 return S_OK;
4045}
unsigned int UINT32
static void * heap_alloc(size_t len)
Definition: appwiz.h:66
static void * heap_realloc(void *mem, size_t len)
Definition: appwiz.h:71
#define E_FAIL
Definition: ddrawi.h:102
static WCHAR * heap_strdupW(const WCHAR *str)
Definition: propsheet.c:178
GLenum GLsizei len
Definition: glext.h:6722
void nsAString_Finish(nsAString *) DECLSPEC_HIDDEN
Definition: nsembed.c:836
void nsAString_InitDepend(nsAString *, const PRUnichar *) DECLSPEC_HIDDEN
Definition: nsembed.c:826
#define MSHTML_DISPID_CUSTOM_MIN
#define NS_FAILED(res)
#define strcmpW(s1, s2)
Definition: unicode.h:44
#define DISP_E_UNKNOWNNAME
Definition: winerror.h:2515
__wchar_t WCHAR
Definition: xmlstorage.h:180

Referenced by DocDispatchEx_GetDispID().

◆ DocDispatchEx_AddRef()

static ULONG WINAPI DocDispatchEx_AddRef ( IDispatchEx iface)
static

Definition at line 4054 of file htmldoc.c.

4055{
4057
4058 return htmldoc_addref(This);
4059}
static HTMLDocument * impl_from_IDispatchEx(IDispatchEx *iface)
Definition: htmldoc.c:3984
static ULONG htmldoc_addref(HTMLDocument *This)

◆ DocDispatchEx_DeleteMemberByDispID()

static HRESULT WINAPI DocDispatchEx_DeleteMemberByDispID ( IDispatchEx iface,
DISPID  id 
)
static

Definition at line 4149 of file htmldoc.c.

4150{
4152
4153 return IDispatchEx_DeleteMemberByDispID(This->dispex, id);
4154}

◆ DocDispatchEx_DeleteMemberByName()

static HRESULT WINAPI DocDispatchEx_DeleteMemberByName ( IDispatchEx iface,
BSTR  bstrName,
DWORD  grfdex 
)
static

Definition at line 4142 of file htmldoc.c.

4143{
4145
4146 return IDispatchEx_DeleteMemberByName(This->dispex, bstrName, grfdex);
4147}

◆ DocDispatchEx_GetDispID()

static HRESULT WINAPI DocDispatchEx_GetDispID ( IDispatchEx iface,
BSTR  bstrName,
DWORD  grfdex,
DISPID pid 
)
static

Definition at line 4117 of file htmldoc.c.

4118{
4120 HRESULT hres;
4121
4122 hres = IDispatchEx_GetDispID(This->dispex, bstrName, grfdex, pid);
4124 return hres;
4125
4126 return dispid_from_elem_name(This->doc_node, bstrName, pid);
4127}
static HRESULT dispid_from_elem_name(HTMLDocumentNode *This, BSTR name, DISPID *dispid)
Definition: htmldoc.c:3989
_In_ ULONG_PTR _In_ ULONG _Out_ ULONG_PTR * pid
Definition: winddi.h:3837

◆ DocDispatchEx_GetIDsOfNames()

static HRESULT WINAPI DocDispatchEx_GetIDsOfNames ( IDispatchEx iface,
REFIID  riid,
LPOLESTR rgszNames,
UINT  cNames,
LCID  lcid,
DISPID rgDispId 
)
static

Definition at line 4083 of file htmldoc.c.

4086{
4088
4089 return IDispatchEx_GetIDsOfNames(This->dispex, riid, rgszNames, cNames, lcid, rgDispId);
4090}

◆ DocDispatchEx_GetMemberName()

static HRESULT WINAPI DocDispatchEx_GetMemberName ( IDispatchEx iface,
DISPID  id,
BSTR pbstrName 
)
static

Definition at line 4163 of file htmldoc.c.

4164{
4166
4167 return IDispatchEx_GetMemberName(This->dispex, id, pbstrName);
4168}

◆ DocDispatchEx_GetMemberProperties()

static HRESULT WINAPI DocDispatchEx_GetMemberProperties ( IDispatchEx iface,
DISPID  id,
DWORD  grfdexFetch,
DWORD pgrfdex 
)
static

Definition at line 4156 of file htmldoc.c.

4157{
4159
4160 return IDispatchEx_GetMemberProperties(This->dispex, id, grfdexFetch, pgrfdex);
4161}

◆ DocDispatchEx_GetNameSpaceParent()

static HRESULT WINAPI DocDispatchEx_GetNameSpaceParent ( IDispatchEx iface,
IUnknown **  ppunk 
)
static

Definition at line 4177 of file htmldoc.c.

4178{
4180
4181 return IDispatchEx_GetNameSpaceParent(This->dispex, ppunk);
4182}

◆ DocDispatchEx_GetNextDispID()

static HRESULT WINAPI DocDispatchEx_GetNextDispID ( IDispatchEx iface,
DWORD  grfdex,
DISPID  id,
DISPID pid 
)
static

Definition at line 4170 of file htmldoc.c.

4171{
4173
4174 return IDispatchEx_GetNextDispID(This->dispex, grfdex, id, pid);
4175}

◆ DocDispatchEx_GetTypeInfo()

static HRESULT WINAPI DocDispatchEx_GetTypeInfo ( IDispatchEx iface,
UINT  iTInfo,
LCID  lcid,
ITypeInfo **  ppTInfo 
)
static

Definition at line 4075 of file htmldoc.c.

4077{
4079
4080 return IDispatchEx_GetTypeInfo(This->dispex, iTInfo, lcid, ppTInfo);
4081}

◆ DocDispatchEx_GetTypeInfoCount()

static HRESULT WINAPI DocDispatchEx_GetTypeInfoCount ( IDispatchEx iface,
UINT pctinfo 
)
static

Definition at line 4068 of file htmldoc.c.

4069{
4071
4072 return IDispatchEx_GetTypeInfoCount(This->dispex, pctinfo);
4073}

◆ DocDispatchEx_Invoke()

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

Definition at line 4092 of file htmldoc.c.

4095{
4097
4098 TRACE("(%p)->(%d %s %d %d %p %p %p %p)\n", This, dispIdMember, debugstr_guid(riid),
4099 lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
4100
4101 switch(dispIdMember) {
4102 case DISPID_READYSTATE:
4103 TRACE("DISPID_READYSTATE\n");
4104
4106 return E_INVALIDARG;
4107
4108 V_VT(pVarResult) = VT_I4;
4109 V_I4(pVarResult) = This->window->readystate;
4110 return S_OK;
4111 }
4112
4113 return IDispatchEx_Invoke(This->dispex, dispIdMember, riid, lcid, wFlags, pDispParams,
4114 pVarResult, pExcepInfo, puArgErr);
4115}
#define E_INVALIDARG
Definition: ddrawi.h:101
@ VT_I4
Definition: compat.h:2298
#define DISPID_READYSTATE
Definition: idispids.h:22
#define debugstr_guid
Definition: kernel32.h:35
#define V_VT(A)
Definition: oleauto.h:211
#define V_I4(A)
Definition: oleauto.h:247
#define DISPATCH_PROPERTYGET
Definition: oleauto.h:1007
_In_ DWORD _Out_ _In_ WORD wFlags
Definition: wincon.h:531

◆ DocDispatchEx_InvokeEx()

static HRESULT WINAPI DocDispatchEx_InvokeEx ( IDispatchEx iface,
DISPID  id,
LCID  lcid,
WORD  wFlags,
DISPPARAMS *  pdp,
VARIANT pvarRes,
EXCEPINFO *  pei,
IServiceProvider pspCaller 
)
static

Definition at line 4129 of file htmldoc.c.

4131{
4133
4135 return IDispatchEx_InvokeEx(&This->window->base.IDispatchEx_iface, DISPID_IHTMLWINDOW2_LOCATION,
4136 lcid, wFlags, pdp, pvarRes, pei, pspCaller);
4137
4138
4139 return IDispatchEx_InvokeEx(This->dispex, id, lcid, wFlags, pdp, pvarRes, pei, pspCaller);
4140}
#define DISPID_IHTMLWINDOW2_LOCATION
Definition: mshtmdid.h:1845
#define DISPID_IHTMLDOCUMENT2_LOCATION
Definition: mshtmdid.h:962
#define DISPATCH_PROPERTYPUT
Definition: oleauto.h:1008

◆ DocDispatchEx_QueryInterface()

static HRESULT WINAPI DocDispatchEx_QueryInterface ( IDispatchEx iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 4047 of file htmldoc.c.

4048{
4050
4052}
static HRESULT htmldoc_query_interface(HTMLDocument *This, REFIID riid, void **ppv)

◆ DocDispatchEx_Release()

static ULONG WINAPI DocDispatchEx_Release ( IDispatchEx iface)
static

Definition at line 4061 of file htmldoc.c.

4062{
4064
4065 return htmldoc_release(This);
4066}

◆ document_write()

static HRESULT document_write ( HTMLDocument This,
SAFEARRAY psarray,
BOOL  ln 
)
static

Definition at line 964 of file htmldoc.c.

965{
966 VARIANT *var, tmp;
967 JSContext *jsctx;
968 nsAString nsstr;
969 ULONG i, argc;
970 nsresult nsres;
972
973 if(!This->doc_node->nsdoc) {
974 WARN("NULL nsdoc\n");
975 return E_UNEXPECTED;
976 }
977
978 if (!psarray)
979 return S_OK;
980
981 if(psarray->cDims != 1) {
982 FIXME("cDims=%d\n", psarray->cDims);
983 return E_INVALIDARG;
984 }
985
986 hres = SafeArrayAccessData(psarray, (void**)&var);
987 if(FAILED(hres)) {
988 WARN("SafeArrayAccessData failed: %08x\n", hres);
989 return hres;
990 }
991
992 V_VT(&tmp) = VT_EMPTY;
993
994 jsctx = get_context_from_document(This->doc_node->nsdoc);
995 argc = psarray->rgsabound[0].cElements;
996 for(i=0; i < argc; i++) {
997 if(V_VT(var+i) == VT_BSTR) {
999 }else {
1001 if(FAILED(hres)) {
1002 WARN("Could not convert %s to string\n", debugstr_variant(var+i));
1003 break;
1004 }
1005 nsAString_InitDepend(&nsstr, V_BSTR(&tmp));
1006 }
1007
1008 if(!ln || i != argc-1)
1009 nsres = nsIDOMHTMLDocument_Write(This->doc_node->nsdoc, &nsstr, jsctx);
1010 else
1011 nsres = nsIDOMHTMLDocument_Writeln(This->doc_node->nsdoc, &nsstr, jsctx);
1012 nsAString_Finish(&nsstr);
1013 if(V_VT(var+i) != VT_BSTR)
1014 VariantClear(&tmp);
1015 if(NS_FAILED(nsres)) {
1016 ERR("Write failed: %08x\n", nsres);
1017 hres = E_FAIL;
1018 break;
1019 }
1020 }
1021
1022 SafeArrayUnaccessData(psarray);
1023
1024 return hres;
1025}
static int argc
Definition: ServiceArgs.c:12
#define WARN(fmt,...)
Definition: precomp.h:61
#define ERR(fmt,...)
Definition: precomp.h:57
@ VT_BSTR
Definition: compat.h:2303
@ VT_EMPTY
Definition: compat.h:2295
HRESULT WINAPI SafeArrayAccessData(SAFEARRAY *psa, void **ppvData)
Definition: safearray.c:1137
HRESULT WINAPI SafeArrayUnaccessData(SAFEARRAY *psa)
Definition: safearray.c:1168
#define FAILED(hr)
Definition: intsafe.h:51
const char * var
Definition: shader.c:5666
static const char * debugstr_variant(const VARIANT *var)
Definition: container.c:46
JSContext * get_context_from_document(nsIDOMHTMLDocument *) DECLSPEC_HIDDEN
Definition: mutation.c:758
#define SORT_DEFAULT
#define MAKELCID(lgid, srtid)
#define V_BSTR(A)
Definition: oleauto.h:226
#define MAKELANGID(p, s)
Definition: nls.h:15
#define LANG_ENGLISH
Definition: nls.h:52
#define SUBLANG_ENGLISH_US
Definition: nls.h:222
SAFEARRAYBOUND rgsabound[1]
Definition: compat.h:2360
USHORT cDims
Definition: compat.h:2355
HRESULT WINAPI VariantChangeTypeEx(VARIANTARG *pvargDest, VARIANTARG *pvargSrc, LCID lcid, USHORT wFlags, VARTYPE vt)
Definition: variant.c:988
HRESULT WINAPI DECLSPEC_HOTPATCH VariantClear(VARIANTARG *pVarg)
Definition: variant.c:648
#define E_UNEXPECTED
Definition: winerror.h:2456

Referenced by HTMLDocument_write(), and HTMLDocument_writeln().

◆ get_doc_elem_by_id()

HRESULT get_doc_elem_by_id ( HTMLDocumentNode doc,
const WCHAR id,
HTMLElement **  ret 
)

Definition at line 23 of file htmldoc.c.

24{
25 nsIDOMNodeList *nsnode_list;
26 nsIDOMElement *nselem;
27 nsIDOMNode *nsnode;
28 nsAString id_str;
29 nsresult nsres;
31
32 if(!doc->nsdoc) {
33 WARN("NULL nsdoc\n");
34 return E_UNEXPECTED;
35 }
36
37 nsAString_InitDepend(&id_str, id);
38 /* get element by id attribute */
39 nsres = nsIDOMHTMLDocument_GetElementById(doc->nsdoc, &id_str, &nselem);
40 if(FAILED(nsres)) {
41 ERR("GetElementById failed: %08x\n", nsres);
42 nsAString_Finish(&id_str);
43 return E_FAIL;
44 }
45
46 /* get first element by name attribute */
47 nsres = nsIDOMHTMLDocument_GetElementsByName(doc->nsdoc, &id_str, &nsnode_list);
48 nsAString_Finish(&id_str);
49 if(FAILED(nsres)) {
50 ERR("getElementsByName failed: %08x\n", nsres);
51 if(nselem)
52 nsIDOMElement_Release(nselem);
53 return E_FAIL;
54 }
55
56 nsres = nsIDOMNodeList_Item(nsnode_list, 0, &nsnode);
57 nsIDOMNodeList_Release(nsnode_list);
58 assert(nsres == NS_OK);
59
60 if(nsnode && nselem) {
61 UINT16 pos;
62
63 nsres = nsIDOMNode_CompareDocumentPosition(nsnode, (nsIDOMNode*)nselem, &pos);
64 if(NS_FAILED(nsres)) {
65 FIXME("CompareDocumentPosition failed: 0x%08x\n", nsres);
66 nsIDOMNode_Release(nsnode);
67 nsIDOMElement_Release(nselem);
68 return E_FAIL;
69 }
70
71 TRACE("CompareDocumentPosition gave: 0x%x\n", pos);
72 if(!(pos & (DOCUMENT_POSITION_PRECEDING | DOCUMENT_POSITION_CONTAINS))) {
73 nsIDOMElement_Release(nselem);
74 nselem = NULL;
75 }
76 }
77
78 if(nsnode) {
79 if(!nselem) {
80 nsres = nsIDOMNode_QueryInterface(nsnode, &IID_nsIDOMElement, (void**)&nselem);
81 assert(nsres == NS_OK);
82 }
83 nsIDOMNode_Release(nsnode);
84 }
85
86 if(!nselem) {
87 *ret = NULL;
88 return S_OK;
89 }
90
91 hres = get_elem(doc, nselem, ret);
92 nsIDOMElement_Release(nselem);
93 return hres;
94}
unsigned short UINT16
#define assert(x)
Definition: debug.h:53
HRESULT get_elem(HTMLDocumentNode *doc, nsIDOMElement *nselem, HTMLElement **ret)
Definition: htmlelem.c:4078
#define NS_OK

Referenced by find_event_target(), HTMLDocument3_getElementById(), test_elems(), test_elems2(), and test_frameset().

◆ get_document_charset()

UINT get_document_charset ( HTMLDocumentNode doc)

Definition at line 96 of file htmldoc.c.

97{
98 nsAString charset_str;
99 UINT ret = 0;
100 nsresult nsres;
101
102 if(doc->charset)
103 return doc->charset;
104
105 nsAString_Init(&charset_str, NULL);
106 nsres = nsIDOMHTMLDocument_GetCharacterSet(doc->nsdoc, &charset_str);
107 if(NS_SUCCEEDED(nsres)) {
108 const PRUnichar *charset;
109
110 nsAString_GetData(&charset_str, &charset);
111
112 if(*charset) {
116 }
117 }else {
118 ERR("GetCharset failed: %08x\n", nsres);
119 }
120 nsAString_Finish(&charset_str);
121
122 if(!ret)
123 return CP_UTF8;
124
125 return doc->charset = ret;
126}
CFF_Charset charset
Definition: cffcmap.c:138
OLECHAR * BSTR
Definition: compat.h:2293
UINT cp_from_charset_string(BSTR charset)
Definition: main.c:45
UINT32 nsAString_GetData(const nsAString *, const PRUnichar **) DECLSPEC_HIDDEN
Definition: nsembed.c:831
BOOL nsAString_Init(nsAString *, const PRUnichar *) DECLSPEC_HIDDEN
Definition: nsembed.c:817
#define NS_SUCCEEDED(res)
unsigned int UINT
Definition: ndis.h:50
WCHAR PRUnichar
Definition: nsiface.idl:48
BSTR WINAPI SysAllocString(LPCOLESTR str)
Definition: oleaut.c:238
void WINAPI DECLSPEC_HOTPATCH SysFreeString(BSTR str)
Definition: oleaut.c:271
#define CP_UTF8
Definition: nls.h:20

Referenced by bind_script_to_text().

◆ htmldoc_qi()

static BOOL htmldoc_qi ( HTMLDocument This,
REFIID  riid,
void **  ppv 
)
static

Definition at line 4241 of file htmldoc.c.

4242{
4243 *ppv = NULL;
4244
4246 *ppv = &This->IHTMLDocument2_iface;
4247 else if(IsEqualGUID(&IID_IDispatch, riid))
4248 *ppv = &This->IDispatchEx_iface;
4249 else if(IsEqualGUID(&IID_IDispatchEx, riid))
4250 *ppv = &This->IDispatchEx_iface;
4251 else if(IsEqualGUID(&IID_IHTMLDocument, riid))
4252 *ppv = &This->IHTMLDocument2_iface;
4253 else if(IsEqualGUID(&IID_IHTMLDocument2, riid))
4254 *ppv = &This->IHTMLDocument2_iface;
4255 else if(IsEqualGUID(&IID_IHTMLDocument3, riid))
4256 *ppv = &This->IHTMLDocument3_iface;
4257 else if(IsEqualGUID(&IID_IHTMLDocument4, riid))
4258 *ppv = &This->IHTMLDocument4_iface;
4259 else if(IsEqualGUID(&IID_IHTMLDocument5, riid))
4260 *ppv = &This->IHTMLDocument5_iface;
4261 else if(IsEqualGUID(&IID_IHTMLDocument6, riid))
4262 *ppv = &This->IHTMLDocument6_iface;
4263 else if(IsEqualGUID(&IID_IHTMLDocument7, riid))
4264 *ppv = &This->IHTMLDocument7_iface;
4265 else if(IsEqualGUID(&IID_IPersist, riid))
4266 *ppv = &This->IPersistFile_iface;
4267 else if(IsEqualGUID(&IID_IPersistMoniker, riid))
4268 *ppv = &This->IPersistMoniker_iface;
4270 *ppv = &This->IPersistFile_iface;
4271 else if(IsEqualGUID(&IID_IMonikerProp, riid))
4272 *ppv = &This->IMonikerProp_iface;
4273 else if(IsEqualGUID(&IID_IOleObject, riid))
4274 *ppv = &This->IOleObject_iface;
4275 else if(IsEqualGUID(&IID_IOleDocument, riid))
4276 *ppv = &This->IOleDocument_iface;
4277 else if(IsEqualGUID(&IID_IOleDocumentView, riid))
4278 *ppv = &This->IOleDocumentView_iface;
4280 *ppv = &This->IOleInPlaceActiveObject_iface;
4281 else if(IsEqualGUID(&IID_IViewObject, riid))
4282 *ppv = &This->IViewObjectEx_iface;
4284 *ppv = &This->IViewObjectEx_iface;
4285 else if(IsEqualGUID(&IID_IViewObjectEx, riid))
4286 *ppv = &This->IViewObjectEx_iface;
4287 else if(IsEqualGUID(&IID_IOleWindow, riid))
4288 *ppv = &This->IOleInPlaceActiveObject_iface;
4290 *ppv = &This->IOleInPlaceObjectWindowless_iface;
4291 else if(IsEqualGUID(&IID_IOleInPlaceObjectWindowless, riid))
4292 *ppv = &This->IOleInPlaceObjectWindowless_iface;
4293 else if(IsEqualGUID(&IID_IServiceProvider, riid))
4294 *ppv = &This->IServiceProvider_iface;
4295 else if(IsEqualGUID(&IID_IOleCommandTarget, riid))
4296 *ppv = &This->IOleCommandTarget_iface;
4297 else if(IsEqualGUID(&IID_IOleControl, riid))
4298 *ppv = &This->IOleControl_iface;
4299 else if(IsEqualGUID(&IID_IHlinkTarget, riid))
4300 *ppv = &This->IHlinkTarget_iface;
4302 *ppv = &This->cp_container.IConnectionPointContainer_iface;
4304 *ppv = &This->IPersistStreamInit_iface;
4305 else if(IsEqualGUID(&DIID_DispHTMLDocument, riid))
4306 *ppv = &This->IHTMLDocument2_iface;
4307 else if(IsEqualGUID(&IID_ISupportErrorInfo, riid))
4308 *ppv = &This->ISupportErrorInfo_iface;
4309 else if(IsEqualGUID(&IID_IPersistHistory, riid))
4310 *ppv = &This->IPersistHistory_iface;
4312 *ppv = &This->IObjectWithSite_iface;
4314 *ppv = &This->IOleContainer_iface;
4315 else if(IsEqualGUID(&IID_IObjectSafety, riid))
4316 *ppv = &This->IObjectSafety_iface;
4318 *ppv = &This->IProvideClassInfo_iface;
4319 else if(IsEqualGUID(&CLSID_CMarkup, riid)) {
4320 FIXME("(%p)->(CLSID_CMarkup %p)\n", This, ppv);
4321 *ppv = NULL;
4322 }else if(IsEqualGUID(&IID_IRunnableObject, riid)) {
4323 TRACE("(%p)->(IID_IRunnableObject %p) returning NULL\n", This, ppv);
4324 *ppv = NULL;
4326 TRACE("(%p)->(IID_IPersistPropertyBag %p) returning NULL\n", This, ppv);
4327 *ppv = NULL;
4328 }else if(IsEqualGUID(&IID_IMarshal, riid)) {
4329 TRACE("(%p)->(IID_IMarshal %p) returning NULL\n", This, ppv);
4330 *ppv = NULL;
4331 }else if(IsEqualGUID(&IID_IExternalConnection, riid)) {
4332 TRACE("(%p)->(IID_IExternalConnection %p) returning NULL\n", This, ppv);
4333 *ppv = NULL;
4334 }else if(IsEqualGUID(&IID_IStdMarshalInfo, riid)) {
4335 TRACE("(%p)->(IID_IStdMarshalInfo %p) returning NULL\n", This, ppv);
4336 *ppv = NULL;
4337 }else {
4338 return FALSE;
4339 }
4340
4341 if(*ppv)
4342 IUnknown_AddRef((IUnknown*)*ppv);
4343 return TRUE;
4344}
const GUID IID_IUnknown
const IID IID_IObjectWithSite
const GUID IID_IOleInPlaceActiveObject
const GUID IID_IViewObject
const GUID IID_IOleContainer
const GUID IID_IConnectionPointContainer
const GUID IID_IProvideClassInfo
const GUID IID_IOleWindow
const GUID IID_IViewObject2
const GUID IID_IRunnableObject
const GUID IID_IDispatch
const GUID IID_IOleInPlaceObject
const GUID IID_IOleObject
const GUID IID_IOleControl
const GUID IID_IPersistStreamInit
const GUID IID_IPersistFile
const GUID IID_IPersist
Definition: proxy.cpp:14
const GUID IID_IPersistPropertyBag
Definition: proxy.cpp:11

Referenced by CustomDoc_QueryInterface(), and HTMLDocumentNode_QI().

◆ HTMLDocument3_AddRef()

static ULONG WINAPI HTMLDocument3_AddRef ( IHTMLDocument3 *  iface)
static

Definition at line 1866 of file htmldoc.c.

1867{
1869 return htmldoc_addref(This);
1870}
static HTMLDocument * impl_from_IHTMLDocument3(IHTMLDocument3 *iface)
Definition: htmldoc.c:1854

◆ HTMLDocument3_attachEvent()

static HRESULT WINAPI HTMLDocument3_attachEvent ( IHTMLDocument3 *  iface,
BSTR  event,
IDispatch pDisp,
VARIANT_BOOL pfResult 
)
static

Definition at line 2008 of file htmldoc.c.

2010{
2012
2013 TRACE("(%p)->(%s %p %p)\n", This, debugstr_w(event), pDisp, pfResult);
2014
2015 return attach_event(&This->doc_node->node.event_target, event, pDisp, pfResult);
2016}
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

◆ HTMLDocument3_createDocumentFragment()

static HRESULT WINAPI HTMLDocument3_createDocumentFragment ( IHTMLDocument3 *  iface,
IHTMLDocument2 **  ppNewDoc 
)
static

Definition at line 2172 of file htmldoc.c.

2174{
2176 nsIDOMDocumentFragment *doc_frag;
2177 HTMLDocumentNode *docnode;
2178 nsresult nsres;
2179 HRESULT hres;
2180
2181 TRACE("(%p)->(%p)\n", This, ppNewDoc);
2182
2183 if(!This->doc_node->nsdoc) {
2184 FIXME("NULL nsdoc\n");
2185 return E_NOTIMPL;
2186 }
2187
2188 nsres = nsIDOMHTMLDocument_CreateDocumentFragment(This->doc_node->nsdoc, &doc_frag);
2189 if(NS_FAILED(nsres)) {
2190 ERR("CreateDocumentFragment failed: %08x\n", nsres);
2191 return E_FAIL;
2192 }
2193
2194 hres = create_document_fragment((nsIDOMNode*)doc_frag, This->doc_node, &docnode);
2195 nsIDOMDocumentFragment_Release(doc_frag);
2196 if(FAILED(hres))
2197 return hres;
2198
2199 *ppNewDoc = &docnode->basedoc.IHTMLDocument2_iface;
2200 return S_OK;
2201}
#define E_NOTIMPL
Definition: ddrawi.h:99
static HRESULT create_document_fragment(nsIDOMNode *nsnode, HTMLDocumentNode *doc_node, HTMLDocumentNode **ret)
Definition: htmldoc.c:4646
IHTMLDocument2 IHTMLDocument2_iface

◆ HTMLDocument3_createTextNode()

static HRESULT WINAPI HTMLDocument3_createTextNode ( IHTMLDocument3 *  iface,
BSTR  text,
IHTMLDOMNode **  newTextNode 
)
static

Definition at line 1926 of file htmldoc.c.

1928{
1930 nsIDOMText *nstext;
1932 nsAString text_str;
1933 nsresult nsres;
1934 HRESULT hres;
1935
1936 TRACE("(%p)->(%s %p)\n", This, debugstr_w(text), newTextNode);
1937
1938 if(!This->doc_node->nsdoc) {
1939 WARN("NULL nsdoc\n");
1940 return E_UNEXPECTED;
1941 }
1942
1943 nsAString_InitDepend(&text_str, text);
1944 nsres = nsIDOMHTMLDocument_CreateTextNode(This->doc_node->nsdoc, &text_str, &nstext);
1945 nsAString_Finish(&text_str);
1946 if(NS_FAILED(nsres)) {
1947 ERR("CreateTextNode failed: %08x\n", nsres);
1948 return E_FAIL;
1949 }
1950
1951 hres = HTMLDOMTextNode_Create(This->doc_node, (nsIDOMNode*)nstext, &node);
1952 nsIDOMText_Release(nstext);
1953 if(FAILED(hres))
1954 return hres;
1955
1956 *newTextNode = &node->IHTMLDOMNode_iface;
1957 return S_OK;
1958}
const WCHAR * text
Definition: package.c:1799
HRESULT HTMLDOMTextNode_Create(HTMLDocumentNode *doc, nsIDOMNode *nsnode, HTMLDOMNode **node)
Definition: htmltextnode.c:352
Definition: dlist.c:348

◆ HTMLDocument3_detachEvent()

static HRESULT WINAPI HTMLDocument3_detachEvent ( IHTMLDocument3 *  iface,
BSTR  event,
IDispatch pDisp 
)
static

Definition at line 2018 of file htmldoc.c.

2020{
2022
2023 TRACE("(%p)->(%s %p)\n", This, debugstr_w(event), pDisp);
2024
2025 return detach_event(&This->doc_node->node.event_target, event, pDisp);
2026}
HRESULT detach_event(EventTarget *event_target, BSTR name, IDispatch *disp)
Definition: htmlevent.c:1504

◆ HTMLDocument3_get_baseUrl()

static HRESULT WINAPI HTMLDocument3_get_baseUrl ( IHTMLDocument3 *  iface,
BSTR p 
)
static

Definition at line 2234 of file htmldoc.c.

2235{
2237 FIXME("(%p)->(%p)\n", This, p);
2238 return E_NOTIMPL;
2239}
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLDocument3_get_childNodes()

static HRESULT WINAPI HTMLDocument3_get_childNodes ( IHTMLDocument3 *  iface,
IDispatch **  p 
)
static

Definition at line 2241 of file htmldoc.c.

2242{
2244
2245 TRACE("(%p)->(%p)\n", This, p);
2246
2247 return IHTMLDOMNode_get_childNodes(&This->doc_node->node.IHTMLDOMNode_iface, p);
2248}

◆ HTMLDocument3_get_dir()

static HRESULT WINAPI HTMLDocument3_get_dir ( IHTMLDocument3 *  iface,
BSTR p 
)
static

Definition at line 2133 of file htmldoc.c.

2134{
2136 FIXME("(%p)->(%p)\n", This, p);
2137 return E_NOTIMPL;
2138}

◆ HTMLDocument3_get_documentElement()

static HRESULT WINAPI HTMLDocument3_get_documentElement ( IHTMLDocument3 *  iface,
IHTMLElement **  p 
)
static

Definition at line 1960 of file htmldoc.c.

1961{
1963 nsIDOMElement *nselem = NULL;
1965 nsresult nsres;
1966 HRESULT hres;
1967
1968 TRACE("(%p)->(%p)\n", This, p);
1969
1970 if(This->window->readystate == READYSTATE_UNINITIALIZED) {
1971 *p = NULL;
1972 return S_OK;
1973 }
1974
1975 if(!This->doc_node->nsdoc) {
1976 WARN("NULL nsdoc\n");
1977 return E_UNEXPECTED;
1978 }
1979
1980 nsres = nsIDOMHTMLDocument_GetDocumentElement(This->doc_node->nsdoc, &nselem);
1981 if(NS_FAILED(nsres)) {
1982 ERR("GetDocumentElement failed: %08x\n", nsres);
1983 return E_FAIL;
1984 }
1985
1986 if(!nselem) {
1987 *p = NULL;
1988 return S_OK;
1989 }
1990
1991 hres = get_node(This->doc_node, (nsIDOMNode *)nselem, TRUE, &node);
1992 nsIDOMElement_Release(nselem);
1993 if(FAILED(hres))
1994 return hres;
1995
1996 hres = IHTMLDOMNode_QueryInterface(&node->IHTMLDOMNode_iface, &IID_IHTMLElement, (void**)p);
1998 return hres;
1999}
HRESULT get_node(HTMLDocumentNode *This, nsIDOMNode *nsnode, BOOL create, HTMLDOMNode **ret)
Definition: htmlnode.c:1339
static void node_release(HTMLDOMNode *node)

◆ HTMLDocument3_get_enableDownload()

static HRESULT WINAPI HTMLDocument3_get_enableDownload ( IHTMLDocument3 *  iface,
VARIANT_BOOL p 
)
static

Definition at line 2219 of file htmldoc.c.

2221{
2223 FIXME("(%p)->(%p)\n", This, p);
2224 return E_NOTIMPL;
2225}

◆ HTMLDocument3_get_inheritStyleSheets()

static HRESULT WINAPI HTMLDocument3_get_inheritStyleSheets ( IHTMLDocument3 *  iface,
VARIANT_BOOL p 
)
static

Definition at line 2258 of file htmldoc.c.

2260{
2262 FIXME("(%p)->(%p)\n", This, p);
2263 return E_NOTIMPL;
2264}

◆ HTMLDocument3_get_onbeforeeditfocus()

static HRESULT WINAPI HTMLDocument3_get_onbeforeeditfocus ( IHTMLDocument3 *  iface,
VARIANT p 
)
static

Definition at line 2273 of file htmldoc.c.

2274{
2276 FIXME("(%p)->(%p)\n", This, p);
2277 return E_NOTIMPL;
2278}

◆ HTMLDocument3_get_oncellchange()

static HRESULT WINAPI HTMLDocument3_get_oncellchange ( IHTMLDocument3 *  iface,
VARIANT p 
)
static

Definition at line 2063 of file htmldoc.c.

2064{
2066 FIXME("(%p)->(%p)\n", This, p);
2067 return E_NOTIMPL;
2068}

◆ HTMLDocument3_get_oncontextmenu()

static HRESULT WINAPI HTMLDocument3_get_oncontextmenu ( IHTMLDocument3 *  iface,
VARIANT p 
)
static

Definition at line 2149 of file htmldoc.c.

2150{
2152
2153 TRACE("(%p)->(%p)\n", This, p);
2154
2156}
@ EVENTID_CONTEXTMENU
Definition: htmlevent.h:27
static HRESULT get_doc_event(HTMLDocument *doc, eventid_t eid, VARIANT *var)
Definition: htmlevent.h:95

◆ HTMLDocument3_get_ondataavailable()

static HRESULT WINAPI HTMLDocument3_get_ondataavailable ( IHTMLDocument3 *  iface,
VARIANT p 
)
static

Definition at line 2091 of file htmldoc.c.

2092{
2094 FIXME("(%p)->(%p)\n", This, p);
2095 return E_NOTIMPL;
2096}

◆ HTMLDocument3_get_ondatasetchanged()

static HRESULT WINAPI HTMLDocument3_get_ondatasetchanged ( IHTMLDocument3 *  iface,
VARIANT p 
)
static

Definition at line 2077 of file htmldoc.c.

2078{
2080 FIXME("(%p)->(%p)\n", This, p);
2081 return E_NOTIMPL;
2082}

◆ HTMLDocument3_get_ondatasetcomplete()

static HRESULT WINAPI HTMLDocument3_get_ondatasetcomplete ( IHTMLDocument3 *  iface,
VARIANT p 
)
static

Definition at line 2105 of file htmldoc.c.

2106{
2108 FIXME("(%p)->(%p)\n", This, p);
2109 return E_NOTIMPL;
2110}

◆ HTMLDocument3_get_onpropertychange()

static HRESULT WINAPI HTMLDocument3_get_onpropertychange ( IHTMLDocument3 *  iface,
VARIANT p 
)
static

Definition at line 2119 of file htmldoc.c.

2120{
2122 FIXME("(%p)->(%p)\n", This, p);
2123 return E_NOTIMPL;
2124}

◆ HTMLDocument3_get_onrowsdelete()

static HRESULT WINAPI HTMLDocument3_get_onrowsdelete ( IHTMLDocument3 *  iface,
VARIANT p 
)
static

Definition at line 2035 of file htmldoc.c.

2036{
2038 FIXME("(%p)->(%p)\n", This, p);
2039 return E_NOTIMPL;
2040}

◆ HTMLDocument3_get_onrowsinserted()

static HRESULT WINAPI HTMLDocument3_get_onrowsinserted ( IHTMLDocument3 *  iface,
VARIANT p 
)
static

Definition at line 2049 of file htmldoc.c.

2050{
2052 FIXME("(%p)->(%p)\n", This, p);
2053 return E_NOTIMPL;
2054}

◆ HTMLDocument3_get_onstop()

static HRESULT WINAPI HTMLDocument3_get_onstop ( IHTMLDocument3 *  iface,
VARIANT p 
)
static

Definition at line 2165 of file htmldoc.c.

2166{
2168 FIXME("(%p)->(%p)\n", This, p);
2169 return E_NOTIMPL;
2170}

◆ HTMLDocument3_get_parentDocument()

static HRESULT WINAPI HTMLDocument3_get_parentDocument ( IHTMLDocument3 *  iface,
IHTMLDocument2 **  p 
)
static

Definition at line 2203 of file htmldoc.c.

2205{
2207 FIXME("(%p)->(%p)\n", This, p);
2208 return E_NOTIMPL;
2209}

◆ HTMLDocument3_getElementById()

static HRESULT WINAPI HTMLDocument3_getElementById ( IHTMLDocument3 *  iface,
BSTR  v,
IHTMLElement **  pel 
)
static

Definition at line 2324 of file htmldoc.c.

2326{
2329 HRESULT hres;
2330
2331 TRACE("(%p)->(%s %p)\n", This, debugstr_w(v), pel);
2332
2333 hres = get_doc_elem_by_id(This->doc_node, v, &elem);
2334 if(FAILED(hres) || !elem) {
2335 *pel = NULL;
2336 return hres;
2337 }
2338
2339 *pel = &elem->IHTMLElement_iface;
2340 return S_OK;
2341}
HRESULT get_doc_elem_by_id(HTMLDocumentNode *doc, const WCHAR *id, HTMLElement **ret)
Definition: htmldoc.c:23
const GLdouble * v
Definition: gl.h:2040
static size_t elem
Definition: string.c:68

◆ HTMLDocument3_getElementsByName()

static HRESULT WINAPI HTMLDocument3_getElementsByName ( IHTMLDocument3 *  iface,
BSTR  v,
IHTMLElementCollection **  ppelColl 
)
static

Definition at line 2280 of file htmldoc.c.

2282{
2284 nsIDOMNodeList *node_list;
2285 nsAString selector_str;
2286 WCHAR *selector;
2287 nsresult nsres;
2288
2289 static const WCHAR formatW[] = {'*','[','i','d','=','%','s',']',',','*','[','n','a','m','e','=','%','s',']',0};
2290
2291 TRACE("(%p)->(%s %p)\n", This, debugstr_w(v), ppelColl);
2292
2293 if(!This->doc_node || !This->doc_node->nsdoc) {
2294 /* We should probably return an empty collection. */
2295 FIXME("No nsdoc\n");
2296 return E_NOTIMPL;
2297 }
2298
2299 selector = heap_alloc(2*SysStringLen(v)*sizeof(WCHAR) + sizeof(formatW));
2300 if(!selector)
2301 return E_OUTOFMEMORY;
2302 sprintfW(selector, formatW, v, v);
2303
2304 /*
2305 * NOTE: IE getElementsByName implementation differs from Gecko. It searches both name and id attributes.
2306 * That's why we use CSS selector instead. We should also use name only when it applies to given element
2307 * types and search should be case insensitive. Those are currently not supported properly.
2308 */
2309 nsAString_InitDepend(&selector_str, selector);
2310 nsres = nsIDOMHTMLDocument_QuerySelectorAll(This->doc_node->nsdoc, &selector_str, &node_list);
2311 nsAString_Finish(&selector_str);
2312 heap_free(selector);
2313 if(NS_FAILED(nsres)) {
2314 ERR("QuerySelectorAll failed: %08x\n", nsres);
2315 return E_FAIL;
2316 }
2317
2318 *ppelColl = create_collection_from_nodelist(This->doc_node, node_list);
2319 nsIDOMNodeList_Release(node_list);
2320 return S_OK;
2321}
IHTMLElementCollection * create_collection_from_nodelist(HTMLDocumentNode *doc, nsIDOMNodeList *nslist)
Definition: htmlelemcol.c:670
UINT WINAPI SysStringLen(BSTR str)
Definition: oleaut.c:196
#define sprintfW
Definition: unicode.h:64

◆ HTMLDocument3_getElementsByTagName()

static HRESULT WINAPI HTMLDocument3_getElementsByTagName ( IHTMLDocument3 *  iface,
BSTR  v,
IHTMLElementCollection **  pelColl 
)
static

Definition at line 2344 of file htmldoc.c.

2346{
2348 nsIDOMNodeList *nslist;
2349 nsAString id_str;
2350 nsresult nsres;
2351
2352 TRACE("(%p)->(%s %p)\n", This, debugstr_w(v), pelColl);
2353
2354 if(!This->doc_node->nsdoc) {
2355 WARN("NULL nsdoc\n");
2356 return E_UNEXPECTED;
2357 }
2358
2359 nsAString_InitDepend(&id_str, v);
2360 nsres = nsIDOMHTMLDocument_GetElementsByTagName(This->doc_node->nsdoc, &id_str, &nslist);
2361 nsAString_Finish(&id_str);
2362 if(FAILED(nsres)) {
2363 ERR("GetElementByName failed: %08x\n", nsres);
2364 return E_FAIL;
2365 }
2366
2367 *pelColl = create_collection_from_nodelist(This->doc_node, nslist);
2368 nsIDOMNodeList_Release(nslist);
2369
2370 return S_OK;
2371}

◆ HTMLDocument3_GetIDsOfNames()

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

Definition at line 1891 of file htmldoc.c.

1894{
1896 return IDispatchEx_GetIDsOfNames(&This->IDispatchEx_iface, riid, rgszNames, cNames, lcid,
1897 rgDispId);
1898}

◆ HTMLDocument3_GetTypeInfo()

static HRESULT WINAPI HTMLDocument3_GetTypeInfo ( IHTMLDocument3 *  iface,
UINT  iTInfo,
LCID  lcid,
ITypeInfo **  ppTInfo 
)
static

Definition at line 1884 of file htmldoc.c.

1886{
1888 return IDispatchEx_GetTypeInfo(&This->IDispatchEx_iface, iTInfo, lcid, ppTInfo);
1889}

◆ HTMLDocument3_GetTypeInfoCount()

static HRESULT WINAPI HTMLDocument3_GetTypeInfoCount ( IHTMLDocument3 *  iface,
UINT pctinfo 
)
static

Definition at line 1878 of file htmldoc.c.

1879{
1881 return IDispatchEx_GetTypeInfoCount(&This->IDispatchEx_iface, pctinfo);
1882}

◆ HTMLDocument3_Invoke()

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

Definition at line 1900 of file htmldoc.c.

1903{
1905 return IDispatchEx_Invoke(&This->IDispatchEx_iface, dispIdMember, riid, lcid, wFlags,
1906 pDispParams, pVarResult, pExcepInfo, puArgErr);
1907}

◆ HTMLDocument3_put_baseUrl()

static HRESULT WINAPI HTMLDocument3_put_baseUrl ( IHTMLDocument3 *  iface,
BSTR  v 
)
static

Definition at line 2227 of file htmldoc.c.

2228{
2230 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
2231 return E_NOTIMPL;
2232}

◆ HTMLDocument3_put_dir()

static HRESULT WINAPI HTMLDocument3_put_dir ( IHTMLDocument3 *  iface,
BSTR  v 
)
static

Definition at line 2126 of file htmldoc.c.

2127{
2129 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
2130 return E_NOTIMPL;
2131}

◆ HTMLDocument3_put_enableDownload()

static HRESULT WINAPI HTMLDocument3_put_enableDownload ( IHTMLDocument3 *  iface,
VARIANT_BOOL  v 
)
static

Definition at line 2211 of file htmldoc.c.

2213{
2215 FIXME("(%p)->(%x)\n", This, v);
2216 return E_NOTIMPL;
2217}

◆ HTMLDocument3_put_inheritStyleSheets()

static HRESULT WINAPI HTMLDocument3_put_inheritStyleSheets ( IHTMLDocument3 *  iface,
VARIANT_BOOL  v 
)
static

Definition at line 2250 of file htmldoc.c.

2252{
2254 FIXME("(%p)->()\n", This);
2255 return E_NOTIMPL;
2256}

◆ HTMLDocument3_put_onbeforeeditfocus()

static HRESULT WINAPI HTMLDocument3_put_onbeforeeditfocus ( IHTMLDocument3 *  iface,
VARIANT  v 
)
static

Definition at line 2266 of file htmldoc.c.

2267{
2269 FIXME("(%p)->()\n", This);
2270 return E_NOTIMPL;
2271}

◆ HTMLDocument3_put_oncellchange()

static HRESULT WINAPI HTMLDocument3_put_oncellchange ( IHTMLDocument3 *  iface,
VARIANT  v 
)
static

Definition at line 2056 of file htmldoc.c.

2057{
2059 FIXME("(%p)->()\n", This);
2060 return E_NOTIMPL;
2061}

◆ HTMLDocument3_put_oncontextmenu()

static HRESULT WINAPI HTMLDocument3_put_oncontextmenu ( IHTMLDocument3 *  iface,
VARIANT  v 
)
static

Definition at line 2140 of file htmldoc.c.

2141{
2143
2144 TRACE("(%p)->()\n", This);
2145
2147}
static HRESULT set_doc_event(HTMLDocument *doc, eventid_t eid, VARIANT *var)
Definition: htmlevent.h:90

◆ HTMLDocument3_put_ondataavailable()

static HRESULT WINAPI HTMLDocument3_put_ondataavailable ( IHTMLDocument3 *  iface,
VARIANT  v 
)
static

Definition at line 2084 of file htmldoc.c.

2085{
2087 FIXME("(%p)->()\n", This);
2088 return E_NOTIMPL;
2089}

◆ HTMLDocument3_put_ondatasetchanged()

static HRESULT WINAPI HTMLDocument3_put_ondatasetchanged ( IHTMLDocument3 *  iface,
VARIANT  v 
)
static

Definition at line 2070 of file htmldoc.c.

2071{
2073 FIXME("(%p)->()\n", This);
2074 return E_NOTIMPL;
2075}

◆ HTMLDocument3_put_ondatasetcomplete()

static HRESULT WINAPI HTMLDocument3_put_ondatasetcomplete ( IHTMLDocument3 *  iface,
VARIANT  v 
)
static

Definition at line 2098 of file htmldoc.c.

2099{
2101 FIXME("(%p)->()\n", This);
2102 return E_NOTIMPL;
2103}

◆ HTMLDocument3_put_onpropertychange()

static HRESULT WINAPI HTMLDocument3_put_onpropertychange ( IHTMLDocument3 *  iface,
VARIANT  v 
)
static

Definition at line 2112 of file htmldoc.c.

2113{
2115 FIXME("(%p)->()\n", This);
2116 return E_NOTIMPL;
2117}

◆ HTMLDocument3_put_onrowsdelete()

static HRESULT WINAPI HTMLDocument3_put_onrowsdelete ( IHTMLDocument3 *  iface,
VARIANT  v 
)
static

Definition at line 2028 of file htmldoc.c.

2029{
2031 FIXME("(%p)->()\n", This);
2032 return E_NOTIMPL;
2033}

◆ HTMLDocument3_put_onrowsinserted()

static HRESULT WINAPI HTMLDocument3_put_onrowsinserted ( IHTMLDocument3 *  iface,
VARIANT  v 
)
static

Definition at line 2042 of file htmldoc.c.

2043{
2045 FIXME("(%p)->()\n", This);
2046 return E_NOTIMPL;
2047}

◆ HTMLDocument3_put_onstop()

static HRESULT WINAPI HTMLDocument3_put_onstop ( IHTMLDocument3 *  iface,
VARIANT  v 
)
static

Definition at line 2158 of file htmldoc.c.

2159{
2161 FIXME("(%p)->()\n", This);
2162 return E_NOTIMPL;
2163}

◆ HTMLDocument3_QueryInterface()

static HRESULT WINAPI HTMLDocument3_QueryInterface ( IHTMLDocument3 *  iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 1859 of file htmldoc.c.

1861{
1864}

◆ HTMLDocument3_recalc()

static HRESULT WINAPI HTMLDocument3_recalc ( IHTMLDocument3 *  iface,
VARIANT_BOOL  fForce 
)
static

Definition at line 1916 of file htmldoc.c.

1917{
1919
1920 WARN("(%p)->(%x)\n", This, fForce);
1921
1922 /* Doing nothing here should be fine for us. */
1923 return S_OK;
1924}

◆ HTMLDocument3_Release()

static ULONG WINAPI HTMLDocument3_Release ( IHTMLDocument3 *  iface)
static

Definition at line 1872 of file htmldoc.c.

1873{
1875 return htmldoc_release(This);
1876}

◆ HTMLDocument3_releaseCapture()

static HRESULT WINAPI HTMLDocument3_releaseCapture ( IHTMLDocument3 *  iface)
static

Definition at line 1909 of file htmldoc.c.

1910{
1912 FIXME("(%p)\n", This);
1913 return E_NOTIMPL;
1914}

◆ HTMLDocument3_uniqueID()

static HRESULT WINAPI HTMLDocument3_uniqueID ( IHTMLDocument3 *  iface,
BSTR p 
)
static

Definition at line 2001 of file htmldoc.c.

2002{
2004 FIXME("(%p)->(%p)\n", This, p);
2005 return E_NOTIMPL;
2006}

◆ HTMLDocument4_AddRef()

static ULONG WINAPI HTMLDocument4_AddRef ( IHTMLDocument4 *  iface)
static

Definition at line 2436 of file htmldoc.c.

2437{
2439 return htmldoc_addref(This);
2440}
static HTMLDocument * impl_from_IHTMLDocument4(IHTMLDocument4 *iface)
Definition: htmldoc.c:2424

◆ HTMLDocument4_createDocumentFromUrl()

static HRESULT WINAPI HTMLDocument4_createDocumentFromUrl ( IHTMLDocument4 *  iface,
BSTR  bstrUrl,
BSTR  bstrOptions,
IHTMLDocument2 **  newDoc 
)
static

Definition at line 2531 of file htmldoc.c.

2533{
2535 FIXME("(%p)->(%s %s %p)\n", This, debugstr_w(bstrUrl), debugstr_w(bstrOptions), newDoc);
2536 return E_NOTIMPL;
2537}

◆ HTMLDocument4_createEventObject()

static HRESULT WINAPI HTMLDocument4_createEventObject ( IHTMLDocument4 *  iface,
VARIANT pvarEventObject,
IHTMLEventObj **  ppEventObj 
)
static

Definition at line 2553 of file htmldoc.c.

2555{
2557
2558 TRACE("(%p)->(%s %p)\n", This, debugstr_variant(pvarEventObject), ppEventObj);
2559
2560 if(pvarEventObject && V_VT(pvarEventObject) != VT_ERROR && V_VT(pvarEventObject) != VT_EMPTY) {
2561 FIXME("unsupported pvarEventObject %s\n", debugstr_variant(pvarEventObject));
2562 return E_NOTIMPL;
2563 }
2564
2565 return create_event_obj(ppEventObj);
2566}
@ VT_ERROR
Definition: compat.h:2305
HRESULT create_event_obj(IHTMLEventObj **ret)
Definition: htmlevent.c:858

◆ HTMLDocument4_createRenderStyle()

static HRESULT WINAPI HTMLDocument4_createRenderStyle ( IHTMLDocument4 *  iface,
BSTR  v,
IHTMLRenderStyle **  ppIHTMLRenderStyle 
)
static

Definition at line 2578 of file htmldoc.c.

2580{
2582 FIXME("(%p)->(%s %p)\n", This, debugstr_w(v), ppIHTMLRenderStyle);
2583 return E_NOTIMPL;
2584}

◆ HTMLDocument4_fireEvent()

static HRESULT WINAPI HTMLDocument4_fireEvent ( IHTMLDocument4 *  iface,
BSTR  bstrEventName,
VARIANT pvarEventObject,
VARIANT_BOOL pfCanceled 
)
static

Definition at line 2568 of file htmldoc.c.

2570{
2572
2573 TRACE("(%p)->(%s %p %p)\n", This, debugstr_w(bstrEventName), pvarEventObject, pfCanceled);
2574
2575 return dispatch_event(&This->doc_node->node, bstrEventName, pvarEventObject, pfCanceled);
2576}
HRESULT dispatch_event(HTMLDOMNode *node, const WCHAR *event_name, VARIANT *event_var, VARIANT_BOOL *cancelled)
Definition: htmlevent.c:1225

◆ HTMLDocument4_focus()

static HRESULT WINAPI HTMLDocument4_focus ( IHTMLDocument4 *  iface)
static

Definition at line 2479 of file htmldoc.c.

2480{
2482 nsIDOMHTMLElement *nsbody;
2483 nsresult nsres;
2484
2485 TRACE("(%p)->()\n", This);
2486
2487 nsres = nsIDOMHTMLDocument_GetBody(This->doc_node->nsdoc, &nsbody);
2488 if(NS_FAILED(nsres) || !nsbody) {
2489 ERR("GetBody failed: %08x\n", nsres);
2490 return E_FAIL;
2491 }
2492
2493 nsres = nsIDOMHTMLElement_Focus(nsbody);
2494 nsIDOMHTMLElement_Release(nsbody);
2495 if(NS_FAILED(nsres)) {
2496 ERR("Focus failed: %08x\n", nsres);
2497 return E_FAIL;
2498 }
2499
2500 return S_OK;
2501}

◆ HTMLDocument4_get_media()

static HRESULT WINAPI HTMLDocument4_get_media ( IHTMLDocument4 *  iface,
BSTR p 
)
static

Definition at line 2546 of file htmldoc.c.

2547{
2549 FIXME("(%p)->(%p)\n", This, p);
2550 return E_NOTIMPL;
2551}

◆ HTMLDocument4_get_namespace()

static HRESULT WINAPI HTMLDocument4_get_namespace ( IHTMLDocument4 *  iface,
IDispatch **  p 
)
static

Definition at line 2524 of file htmldoc.c.

2525{
2527 FIXME("(%p)->(%p)\n", This, p);
2528 return E_NOTIMPL;
2529}

◆ HTMLDocument4_get_oncontrolselect()

static HRESULT WINAPI HTMLDocument4_get_oncontrolselect ( IHTMLDocument4 *  iface,
VARIANT p 
)
static

Definition at line 2593 of file htmldoc.c.

2594{
2596 FIXME("(%p)->(%p)\n", This, p);
2597 return E_NOTIMPL;
2598}

◆ HTMLDocument4_get_onselectionchange()

static HRESULT WINAPI HTMLDocument4_get_onselectionchange ( IHTMLDocument4 *  iface,
VARIANT p 
)
static

Definition at line 2517 of file htmldoc.c.

2518{
2520 FIXME("(%p)->(%p)\n", This, p);
2521 return E_NOTIMPL;
2522}

◆ HTMLDocument4_get_URLEncoded()

static HRESULT WINAPI HTMLDocument4_get_URLEncoded ( IHTMLDocument4 *  iface,
BSTR p 
)
static

Definition at line 2600 of file htmldoc.c.

2601{
2603 FIXME("(%p)->(%p)\n", This, p);
2604 return E_NOTIMPL;
2605}

◆ HTMLDocument4_GetIDsOfNames()

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

Definition at line 2461 of file htmldoc.c.

2464{
2466 return IDispatchEx_GetIDsOfNames(&This->IDispatchEx_iface, riid, rgszNames, cNames, lcid,
2467 rgDispId);
2468}

◆ HTMLDocument4_GetTypeInfo()

static HRESULT WINAPI HTMLDocument4_GetTypeInfo ( IHTMLDocument4 *  iface,
UINT  iTInfo,
LCID  lcid,
ITypeInfo **  ppTInfo 
)
static

Definition at line 2454 of file htmldoc.c.

2456{
2458 return IDispatchEx_GetTypeInfo(&This->IDispatchEx_iface, iTInfo, lcid, ppTInfo);
2459}

◆ HTMLDocument4_GetTypeInfoCount()

static HRESULT WINAPI HTMLDocument4_GetTypeInfoCount ( IHTMLDocument4 *  iface,
UINT pctinfo 
)
static

Definition at line 2448 of file htmldoc.c.

2449{
2451 return IDispatchEx_GetTypeInfoCount(&This->IDispatchEx_iface, pctinfo);
2452}

◆ HTMLDocument4_hasFocus()

static HRESULT WINAPI HTMLDocument4_hasFocus ( IHTMLDocument4 *  iface,
VARIANT_BOOL pfFocus 
)
static

Definition at line 2503 of file htmldoc.c.

2504{
2506 FIXME("(%p)->(%p)\n", This, pfFocus);
2507 return E_NOTIMPL;
2508}

◆ HTMLDocument4_Invoke()

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

Definition at line 2470 of file htmldoc.c.

2473{
2475 return IDispatchEx_Invoke(&This->IDispatchEx_iface, dispIdMember, riid, lcid, wFlags,
2476 pDispParams, pVarResult, pExcepInfo, puArgErr);
2477}

◆ HTMLDocument4_put_media()

static HRESULT WINAPI HTMLDocument4_put_media ( IHTMLDocument4 *  iface,
BSTR  v 
)
static

Definition at line 2539 of file htmldoc.c.

2540{
2542 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
2543 return E_NOTIMPL;
2544}

◆ HTMLDocument4_put_oncontrolselect()

static HRESULT WINAPI HTMLDocument4_put_oncontrolselect ( IHTMLDocument4 *  iface,
VARIANT  v 
)
static

Definition at line 2586 of file htmldoc.c.

2587{
2589 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
2590 return E_NOTIMPL;
2591}

◆ HTMLDocument4_put_onselectionchange()

static HRESULT WINAPI HTMLDocument4_put_onselectionchange ( IHTMLDocument4 *  iface,
VARIANT  v 
)
static

Definition at line 2510 of file htmldoc.c.

2511{
2513 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
2514 return E_NOTIMPL;
2515}

◆ HTMLDocument4_QueryInterface()

static HRESULT WINAPI HTMLDocument4_QueryInterface ( IHTMLDocument4 *  iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 2429 of file htmldoc.c.

2431{
2434}

◆ HTMLDocument4_Release()

static ULONG WINAPI HTMLDocument4_Release ( IHTMLDocument4 *  iface)
static

Definition at line 2442 of file htmldoc.c.

2443{
2445 return htmldoc_release(This);
2446}

◆ HTMLDocument5_AddRef()

static ULONG WINAPI HTMLDocument5_AddRef ( IHTMLDocument5 *  iface)
static

Definition at line 2643 of file htmldoc.c.

2644{
2646 return htmldoc_addref(This);
2647}
static HTMLDocument * impl_from_IHTMLDocument5(IHTMLDocument5 *iface)
Definition: htmldoc.c:2631

◆ HTMLDocument5_createAttribute()

static HRESULT WINAPI HTMLDocument5_createAttribute ( IHTMLDocument5 *  iface,
BSTR  bstrattrName,
IHTMLDOMAttribute **  ppattribute 
)
static

Definition at line 2726 of file htmldoc.c.

2728{
2731 HRESULT hres;
2732
2733 TRACE("(%p)->(%s %p)\n", This, debugstr_w(bstrattrName), ppattribute);
2734
2735 hres = HTMLDOMAttribute_Create(bstrattrName, NULL, 0, &attr);
2736 if(FAILED(hres))
2737 return hres;
2738
2739 *ppattribute = &attr->IHTMLDOMAttribute_iface;
2740 return S_OK;
2741}
HRESULT HTMLDOMAttribute_Create(const WCHAR *name, HTMLElement *elem, DISPID dispid, HTMLDOMAttribute **attr)
Definition: htmlattr.c:473
Definition: cookie.c:202

◆ HTMLDocument5_createComment()

static HRESULT WINAPI HTMLDocument5_createComment ( IHTMLDocument5 *  iface,
BSTR  bstrdata,
IHTMLDOMNode **  ppRetNode 
)
static

Definition at line 2743 of file htmldoc.c.

2745{
2747 nsIDOMComment *nscomment;
2749 nsAString str;
2750 nsresult nsres;
2751 HRESULT hres;
2752
2753 TRACE("(%p)->(%s %p)\n", This, debugstr_w(bstrdata), ppRetNode);
2754
2755 if(!This->doc_node->nsdoc) {
2756 WARN("NULL nsdoc\n");
2757 return E_UNEXPECTED;
2758 }
2759
2760 nsAString_InitDepend(&str, bstrdata);
2761 nsres = nsIDOMHTMLDocument_CreateComment(This->doc_node->nsdoc, &str, &nscomment);
2763 if(NS_FAILED(nsres)) {
2764 ERR("CreateTextNode failed: %08x\n", nsres);
2765 return E_FAIL;
2766 }
2767
2768 hres = HTMLCommentElement_Create(This->doc_node, (nsIDOMNode*)nscomment, &elem);
2769 nsIDOMComment_Release(nscomment);
2770 if(FAILED(hres))
2771 return hres;
2772
2773 *ppRetNode = &elem->node.IHTMLDOMNode_iface;
2774 return S_OK;
2775}
HRESULT HTMLCommentElement_Create(HTMLDocumentNode *doc, nsIDOMNode *nsnode, HTMLElement **elem)
Definition: htmlcomment.c:179

◆ HTMLDocument5_get_compatMode()

static HRESULT WINAPI HTMLDocument5_get_compatMode ( IHTMLDocument5 *  iface,
BSTR p 
)
static

Definition at line 2861 of file htmldoc.c.

2862{
2864 nsAString mode_str;
2865 nsresult nsres;
2866
2867 TRACE("(%p)->(%p)\n", This, p);
2868
2869 if(!This->doc_node->nsdoc) {
2870 WARN("NULL nsdoc\n");
2871 return E_UNEXPECTED;
2872 }
2873
2874 nsAString_Init(&mode_str, NULL);
2875 nsres = nsIDOMHTMLDocument_GetCompatMode(This->doc_node->nsdoc, &mode_str);
2876 return return_nsstr(nsres, &mode_str, p);
2877}
HRESULT return_nsstr(nsresult, nsAString *, BSTR *) DECLSPEC_HIDDEN
Definition: nsembed.c:841

◆ HTMLDocument5_get_doctype()

static HRESULT WINAPI HTMLDocument5_get_doctype ( IHTMLDocument5 *  iface,
IHTMLDOMNode **  p 
)
static

Definition at line 2699 of file htmldoc.c.

2700{
2702 FIXME("(%p)->(%p)\n", This, p);
2703 return E_NOTIMPL;
2704}

◆ HTMLDocument5_get_implementation()

static HRESULT WINAPI HTMLDocument5_get_implementation ( IHTMLDocument5 *  iface,
IHTMLDOMImplementation **  p 
)
static

Definition at line 2706 of file htmldoc.c.

2707{
2709 HTMLDocumentNode *doc_node = This->doc_node;
2710
2711 TRACE("(%p)->(%p)\n", This, p);
2712
2713 if(!doc_node->dom_implementation) {
2714 HRESULT hres;
2715
2717 if(FAILED(hres))
2718 return hres;
2719 }
2720
2721 IHTMLDOMImplementation_AddRef(doc_node->dom_implementation);
2722 *p = doc_node->dom_implementation;
2723 return S_OK;
2724}
HRESULT create_dom_implementation(IHTMLDOMImplementation **) DECLSPEC_HIDDEN
Definition: omnavigator.c:168
IHTMLDOMImplementation * dom_implementation

◆ HTMLDocument5_get_onactivate()

static HRESULT WINAPI HTMLDocument5_get_onactivate ( IHTMLDocument5 *  iface,
VARIANT p 
)
static

Definition at line 2812 of file htmldoc.c.

2813{
2815 FIXME("(%p)->(%p)\n", This, p);
2816 return E_NOTIMPL;
2817}

◆ HTMLDocument5_get_onbeforeactivate()

static HRESULT WINAPI HTMLDocument5_get_onbeforeactivate ( IHTMLDocument5 *  iface,
VARIANT p 
)
static

Definition at line 2840 of file htmldoc.c.

2841{
2843 FIXME("(%p)->(%p)\n", This, p);
2844 return E_NOTIMPL;
2845}

◆ HTMLDocument5_get_onbeforedeactivate()

static HRESULT WINAPI HTMLDocument5_get_onbeforedeactivate ( IHTMLDocument5 *  iface,
VARIANT p 
)
static

Definition at line 2854 of file htmldoc.c.

2855{
2857 FIXME("(%p)->(%p)\n", This, p);
2858 return E_NOTIMPL;
2859}

◆ HTMLDocument5_get_ondeactivate()

static HRESULT WINAPI HTMLDocument5_get_ondeactivate ( IHTMLDocument5 *  iface,
VARIANT p 
)
static

Definition at line 2826 of file htmldoc.c.

2827{
2829 FIXME("(%p)->(%p)\n", This, p);
2830 return E_NOTIMPL;
2831}

◆ HTMLDocument5_get_onfocusin()

static HRESULT WINAPI HTMLDocument5_get_onfocusin ( IHTMLDocument5 *  iface,
VARIANT p 
)
static

Definition at line 2784 of file htmldoc.c.

2785{
2787 FIXME("(%p)->(%p)\n", This, p);
2788 return E_NOTIMPL;
2789}

◆ HTMLDocument5_get_onfocusout()

static HRESULT WINAPI HTMLDocument5_get_onfocusout ( IHTMLDocument5 *  iface,
VARIANT p 
)
static

Definition at line 2798 of file htmldoc.c.

2799{
2801 FIXME("(%p)->(%p)\n", This, p);
2802 return E_NOTIMPL;
2803}

◆ HTMLDocument5_get_onmousewheel()

static HRESULT WINAPI HTMLDocument5_get_onmousewheel ( IHTMLDocument5 *  iface,
VARIANT p 
)
static

Definition at line 2692 of file htmldoc.c.

2693{
2695 FIXME("(%p)->(%p)\n", This, p);
2696 return E_NOTIMPL;
2697}

◆ HTMLDocument5_GetIDsOfNames()

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

Definition at line 2668 of file htmldoc.c.

2670{
2672 return IDispatchEx_GetIDsOfNames(&This->IDispatchEx_iface, riid, rgszNames, cNames, lcid,
2673 rgDispId);
2674}

◆ HTMLDocument5_GetTypeInfo()

static HRESULT WINAPI HTMLDocument5_GetTypeInfo ( IHTMLDocument5 *  iface,
UINT  iTInfo,
LCID  lcid,
ITypeInfo **  ppTInfo 
)
static

Definition at line 2661 of file htmldoc.c.

2663{
2665 return IDispatchEx_GetTypeInfo(&This->IDispatchEx_iface, iTInfo, lcid, ppTInfo);
2666}

◆ HTMLDocument5_GetTypeInfoCount()

static HRESULT WINAPI HTMLDocument5_GetTypeInfoCount ( IHTMLDocument5 *  iface,
UINT pctinfo 
)
static

Definition at line 2655 of file htmldoc.c.

2656{
2658 return IDispatchEx_GetTypeInfoCount(&This->IDispatchEx_iface, pctinfo);
2659}

◆ HTMLDocument5_Invoke()

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

Definition at line 2676 of file htmldoc.c.

2679{
2681 return IDispatchEx_Invoke(&This->IDispatchEx_iface, dispIdMember, riid, lcid, wFlags,
2682 pDispParams, pVarResult, pExcepInfo, puArgErr);
2683}

◆ HTMLDocument5_put_onactivate()

static HRESULT WINAPI HTMLDocument5_put_onactivate ( IHTMLDocument5 *  iface,
VARIANT  v 
)
static

Definition at line 2805 of file htmldoc.c.

2806{
2808 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
2809 return E_NOTIMPL;
2810}

◆ HTMLDocument5_put_onbeforeactivate()

static HRESULT WINAPI HTMLDocument5_put_onbeforeactivate ( IHTMLDocument5 *  iface,
VARIANT  v 
)
static

Definition at line 2833 of file htmldoc.c.

2834{
2836 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
2837 return E_NOTIMPL;
2838}

◆ HTMLDocument5_put_onbeforedeactivate()

static HRESULT WINAPI HTMLDocument5_put_onbeforedeactivate ( IHTMLDocument5 *  iface,
VARIANT  v 
)
static

Definition at line 2847 of file htmldoc.c.

2848{
2850 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
2851 return E_NOTIMPL;
2852}

◆ HTMLDocument5_put_ondeactivate()

static HRESULT WINAPI HTMLDocument5_put_ondeactivate ( IHTMLDocument5 *  iface,
VARIANT  v 
)
static

Definition at line 2819 of file htmldoc.c.

2820{
2822 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
2823 return E_NOTIMPL;
2824}

◆ HTMLDocument5_put_onfocusin()

static HRESULT WINAPI HTMLDocument5_put_onfocusin ( IHTMLDocument5 *  iface,
VARIANT  v 
)
static

Definition at line 2777 of file htmldoc.c.

2778{
2780 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
2781 return E_NOTIMPL;
2782}

◆ HTMLDocument5_put_onfocusout()

static HRESULT WINAPI HTMLDocument5_put_onfocusout ( IHTMLDocument5 *  iface,
VARIANT  v 
)
static

Definition at line 2791 of file htmldoc.c.

2792{
2794 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
2795 return E_NOTIMPL;
2796}

◆ HTMLDocument5_put_onmousewheel()

static HRESULT WINAPI HTMLDocument5_put_onmousewheel ( IHTMLDocument5 *  iface,
VARIANT  v 
)
static

Definition at line 2685 of file htmldoc.c.

2686{
2688 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
2689 return E_NOTIMPL;
2690}

◆ HTMLDocument5_QueryInterface()

static HRESULT WINAPI HTMLDocument5_QueryInterface ( IHTMLDocument5 *  iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 2636 of file htmldoc.c.

2638{
2641}

◆ HTMLDocument5_Release()

static ULONG WINAPI HTMLDocument5_Release ( IHTMLDocument5 *  iface)
static

Definition at line 2649 of file htmldoc.c.

2650{
2652 return htmldoc_release(This);
2653}

◆ HTMLDocument6_AddRef()

static ULONG WINAPI HTMLDocument6_AddRef ( IHTMLDocument6 *  iface)
static

Definition at line 2920 of file htmldoc.c.

2921{
2923 return htmldoc_addref(This);
2924}
static HTMLDocument * impl_from_IHTMLDocument6(IHTMLDocument6 *iface)
Definition: htmldoc.c:2908

◆ HTMLDocument6_get_compatible()

static HRESULT WINAPI HTMLDocument6_get_compatible ( IHTMLDocument6 *  iface,
IHTMLDocumentCompatibleInfoCollection **  p 
)
static

Definition at line 2962 of file htmldoc.c.

2964{
2966 FIXME("(%p)->(%p)\n", This, p);
2967 return E_NOTIMPL;
2968}

◆ HTMLDocument6_get_documentMode()

static HRESULT WINAPI HTMLDocument6_get_documentMode ( IHTMLDocument6 *  iface,
VARIANT p 
)
static

Definition at line 2970 of file htmldoc.c.

2972{
2974 FIXME("(%p)->(%p)\n", This, p);
2975 return E_NOTIMPL;
2976}

◆ HTMLDocument6_get_onstorage()

static HRESULT WINAPI HTMLDocument6_get_onstorage ( IHTMLDocument6 *  iface,
VARIANT p 
)
static

Definition at line 2978 of file htmldoc.c.

2980{
2982 FIXME("(%p)->(%p)\n", This, p);
2983 return E_NOTIMPL;
2984}

◆ HTMLDocument6_get_onstoragecommit()

static HRESULT WINAPI HTMLDocument6_get_onstoragecommit ( IHTMLDocument6 *  iface,
VARIANT p 
)
static

Definition at line 2993 of file htmldoc.c.

2995{
2997 FIXME("(%p)->(%p)\n", This, p);
2998 return E_NOTIMPL;
2999}

◆ HTMLDocument6_getElementById()

static HRESULT WINAPI HTMLDocument6_getElementById ( IHTMLDocument6 *  iface,
BSTR  bstrId,
IHTMLElement2 **  p 
)
static

Definition at line 3008 of file htmldoc.c.

3010{
3012 FIXME("(%p)->(%s %p)\n", This, debugstr_w(bstrId), p);
3013 return E_NOTIMPL;
3014}

◆ HTMLDocument6_GetIDsOfNames()

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

Definition at line 2945 of file htmldoc.c.

2947{
2949 return IDispatchEx_GetIDsOfNames(&This->IDispatchEx_iface, riid, rgszNames, cNames, lcid,
2950 rgDispId);
2951}

◆ HTMLDocument6_GetTypeInfo()

static HRESULT WINAPI HTMLDocument6_GetTypeInfo ( IHTMLDocument6 *  iface,
UINT  iTInfo,
LCID  lcid,
ITypeInfo **  ppTInfo 
)
static

Definition at line 2938 of file htmldoc.c.

2940{
2942 return IDispatchEx_GetTypeInfo(&This->IDispatchEx_iface, iTInfo, lcid, ppTInfo);
2943}

◆ HTMLDocument6_GetTypeInfoCount()

static HRESULT WINAPI HTMLDocument6_GetTypeInfoCount ( IHTMLDocument6 *  iface,
UINT pctinfo 
)
static

Definition at line 2932 of file htmldoc.c.

2933{
2935 return IDispatchEx_GetTypeInfoCount(&This->IDispatchEx_iface, pctinfo);
2936}

◆ HTMLDocument6_Invoke()

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

Definition at line 2953 of file htmldoc.c.

2956{
2958 return IDispatchEx_Invoke(&This->IDispatchEx_iface, dispIdMember, riid, lcid, wFlags,
2959 pDispParams, pVarResult, pExcepInfo, puArgErr);
2960}

◆ HTMLDocument6_put_onstorage()

static HRESULT WINAPI HTMLDocument6_put_onstorage ( IHTMLDocument6 *  iface,
VARIANT  v 
)
static

Definition at line 2986 of file htmldoc.c.

2987{
2989 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
2990 return E_NOTIMPL;
2991}

◆ HTMLDocument6_put_onstoragecommit()

static HRESULT WINAPI HTMLDocument6_put_onstoragecommit ( IHTMLDocument6 *  iface,
VARIANT  v 
)
static

Definition at line 3001 of file htmldoc.c.

3002{
3004 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3005 return E_NOTIMPL;
3006}

◆ HTMLDocument6_QueryInterface()

static HRESULT WINAPI HTMLDocument6_QueryInterface ( IHTMLDocument6 *  iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 2913 of file htmldoc.c.

2915{
2918}

◆ HTMLDocument6_Release()

static ULONG WINAPI HTMLDocument6_Release ( IHTMLDocument6 *  iface)
static

Definition at line 2926 of file htmldoc.c.

2927{
2929 return htmldoc_release(This);
2930}

◆ HTMLDocument6_updateSettings()

static HRESULT WINAPI HTMLDocument6_updateSettings ( IHTMLDocument6 *  iface)
static

Definition at line 3016 of file htmldoc.c.

3017{
3019 FIXME("(%p)->()\n", This);
3020 return E_NOTIMPL;
3021}

◆ HTMLDocument7_AddRef()

static ULONG WINAPI HTMLDocument7_AddRef ( IHTMLDocument7 *  iface)
static

Definition at line 3052 of file htmldoc.c.

3053{
3055 return htmldoc_addref(This);
3056}
static HTMLDocument * impl_from_IHTMLDocument7(IHTMLDocument7 *iface)
Definition: htmldoc.c:3041

◆ HTMLDocument7_adoptNode()

static HRESULT WINAPI HTMLDocument7_adoptNode ( IHTMLDocument7 *  iface,
IHTMLDOMNode *  pNodeSource,
IHTMLDOMNode3 **  ppNodeDest 
)
static

Definition at line 3188 of file htmldoc.c.

3189{
3191 FIXME("(%p)->(%p %p)\n", This, pNodeSource, ppNodeDest);
3192 return E_NOTIMPL;
3193}

◆ HTMLDocument7_createAttribute()

static HRESULT WINAPI HTMLDocument7_createAttribute ( IHTMLDocument7 *  iface,
BSTR  bstrAttrName,
IHTMLDOMAttribute **  ppAttribute 
)
static

Definition at line 3166 of file htmldoc.c.

3167{
3169 FIXME("(%p)->(%s %p)\n", This, debugstr_w(bstrAttrName), ppAttribute);
3170 return E_NOTIMPL;
3171}

◆ HTMLDocument7_createAttributeNS()

static HRESULT WINAPI HTMLDocument7_createAttributeNS ( IHTMLDocument7 *  iface,
VARIANT pvarNS,
BSTR  bstrAttrName,
IHTMLDOMAttribute **  ppAttribute 
)
static

Definition at line 3130 of file htmldoc.c.

3132{
3134 FIXME("(%p)->(%s %s %p)\n", This, debugstr_variant(pvarNS), debugstr_w(bstrAttrName), ppAttribute);
3135 return E_NOTIMPL;
3136}

◆ HTMLDocument7_createCDATASection()

static HRESULT WINAPI HTMLDocument7_createCDATASection ( IHTMLDocument7 *  iface,
BSTR  text,
IHTMLDOMNode **  newCDATASectionNode 
)
static

Definition at line 3101 of file htmldoc.c.

3102{
3104 FIXME("(%p)->(%p)\n", This, newCDATASectionNode);
3105 return E_NOTIMPL;
3106}

◆ HTMLDocument7_createElement()

static HRESULT WINAPI HTMLDocument7_createElement ( IHTMLDocument7 *  iface,
BSTR  bstrTag,
IHTMLElement **  newElem 
)
static

Definition at line 3159 of file htmldoc.c.

3160{
3162 FIXME("(%p)->(%s %p)\n", This, debugstr_w(bstrTag), newElem);
3163 return E_NOTIMPL;
3164}

◆ HTMLDocument7_createElementNS()

static HRESULT WINAPI HTMLDocument7_createElementNS ( IHTMLDocument7 *  iface,
VARIANT pvarNS,
BSTR  bstrTag,
IHTMLElement **  newElem 
)
static

Definition at line 3123 of file htmldoc.c.

3124{
3126 FIXME("(%p)->(%s %s %p)\n", This, debugstr_variant(pvarNS), debugstr_w(bstrTag), newElem);
3127 return E_NOTIMPL;
3128}

◆ HTMLDocument7_createProcessingInstruction()

static HRESULT WINAPI HTMLDocument7_createProcessingInstruction ( IHTMLDocument7 *  iface,
BSTR  target,
BSTR  data,
IDOMProcessingInstruction **  newProcessingInstruction 
)
static

Definition at line 3180 of file htmldoc.c.

3182{
3184 FIXME("(%p)->(%s %s %p)\n", This, debugstr_w(target), debugstr_w(data), newProcessingInstruction);
3185 return E_NOTIMPL;
3186}
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
GLenum target
Definition: glext.h:7315

◆ HTMLDocument7_get_all()

static HRESULT WINAPI HTMLDocument7_get_all ( IHTMLDocument7 *  iface,
IHTMLElementCollection **  p 
)
static

Definition at line 3209 of file htmldoc.c.

3210{
3212 FIXME("(%p)->(%p)\n", This, p);
3213 return E_NOTIMPL;
3214}

◆ HTMLDocument7_get_body()

static HRESULT WINAPI HTMLDocument7_get_body ( IHTMLDocument7 *  iface,
IHTMLElement **  p 
)
static

Definition at line 3812 of file htmldoc.c.

3813{
3815 FIXME("(%p)->(%p)\n", This, p);
3816 return E_NOTIMPL;
3817}

◆ HTMLDocument7_get_characterSet()

static HRESULT WINAPI HTMLDocument7_get_characterSet ( IHTMLDocument7 *  iface,
BSTR p 
)
static

Definition at line 3152 of file htmldoc.c.

3153{
3155 FIXME("(%p)->(%p)\n", This, p);
3156 return E_NOTIMPL;
3157}

◆ HTMLDocument7_get_defaultView()

static HRESULT WINAPI HTMLDocument7_get_defaultView ( IHTMLDocument7 *  iface,
IHTMLWindow2 **  p 
)
static

Definition at line 3094 of file htmldoc.c.

3095{
3097 FIXME("(%p)->(%p)\n", This, p);
3098 return E_NOTIMPL;
3099}

◆ HTMLDocument7_get_head()

static HRESULT WINAPI HTMLDocument7_get_head ( IHTMLDocument7 *  iface,
IHTMLElement **  p 
)
static

Definition at line 3819 of file htmldoc.c.

3820{
3822 FIXME("(%p)->(%p)\n", This, p);
3823 return E_NOTIMPL;
3824}

◆