ReactOS 0.4.16-dev-297-gc569aee
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 @488 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: edit.c:4312
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:1794
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:169
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}

◆ HTMLDocument7_get_inputEncoding()

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

Definition at line 3216 of file htmldoc.c.

3217{
3219 FIXME("(%p)->(%p)\n", This, p);
3220 return E_NOTIMPL;
3221}

◆ HTMLDocument7_get_onabort()

static HRESULT WINAPI HTMLDocument7_get_onabort ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3272 of file htmldoc.c.

3273{
3275 FIXME("(%p)->(%p)\n", This, p);
3276 return E_NOTIMPL;
3277}

◆ HTMLDocument7_get_onblur()

static HRESULT WINAPI HTMLDocument7_get_onblur ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3286 of file htmldoc.c.

3287{
3289 FIXME("(%p)->(%p)\n", This, p);
3290 return E_NOTIMPL;
3291}

◆ HTMLDocument7_get_oncanplay()

static HRESULT WINAPI HTMLDocument7_get_oncanplay ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3300 of file htmldoc.c.

3301{
3303 FIXME("(%p)->(%p)\n", This, p);
3304 return E_NOTIMPL;
3305}

◆ HTMLDocument7_get_oncanplaythrough()

static HRESULT WINAPI HTMLDocument7_get_oncanplaythrough ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3314 of file htmldoc.c.

3315{
3317 FIXME("(%p)->(%p)\n", This, p);
3318 return E_NOTIMPL;
3319}

◆ HTMLDocument7_get_onchange()

static HRESULT WINAPI HTMLDocument7_get_onchange ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3328 of file htmldoc.c.

3329{
3331 FIXME("(%p)->(%p)\n", This, p);
3332 return E_NOTIMPL;
3333}

◆ HTMLDocument7_get_ondrag()

static HRESULT WINAPI HTMLDocument7_get_ondrag ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3342 of file htmldoc.c.

3343{
3345 FIXME("(%p)->(%p)\n", This, p);
3346 return E_NOTIMPL;
3347}

◆ HTMLDocument7_get_ondragend()

static HRESULT WINAPI HTMLDocument7_get_ondragend ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3356 of file htmldoc.c.

3357{
3359 FIXME("(%p)->(%p)\n", This, p);
3360 return E_NOTIMPL;
3361}

◆ HTMLDocument7_get_ondragenter()

static HRESULT WINAPI HTMLDocument7_get_ondragenter ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3370 of file htmldoc.c.

3371{
3373 FIXME("(%p)->(%p)\n", This, p);
3374 return E_NOTIMPL;
3375}

◆ HTMLDocument7_get_ondragleave()

static HRESULT WINAPI HTMLDocument7_get_ondragleave ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3384 of file htmldoc.c.

3385{
3387 FIXME("(%p)->(%p)\n", This, p);
3388 return E_NOTIMPL;
3389}

◆ HTMLDocument7_get_ondragover()

static HRESULT WINAPI HTMLDocument7_get_ondragover ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3398 of file htmldoc.c.

3399{
3401 FIXME("(%p)->(%p)\n", This, p);
3402 return E_NOTIMPL;
3403}

◆ HTMLDocument7_get_ondrop()

static HRESULT WINAPI HTMLDocument7_get_ondrop ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3412 of file htmldoc.c.

3413{
3415 FIXME("(%p)->(%p)\n", This, p);
3416 return E_NOTIMPL;
3417}

◆ HTMLDocument7_get_ondurationchange()

static HRESULT WINAPI HTMLDocument7_get_ondurationchange ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3426 of file htmldoc.c.

3427{
3429 FIXME("(%p)->(%p)\n", This, p);
3430 return E_NOTIMPL;
3431}

◆ HTMLDocument7_get_onemptied()

static HRESULT WINAPI HTMLDocument7_get_onemptied ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3440 of file htmldoc.c.

3441{
3443 FIXME("(%p)->(%p)\n", This, p);
3444 return E_NOTIMPL;
3445}

◆ HTMLDocument7_get_onended()

static HRESULT WINAPI HTMLDocument7_get_onended ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3454 of file htmldoc.c.

3455{
3457 FIXME("(%p)->(%p)\n", This, p);
3458 return E_NOTIMPL;
3459}

◆ HTMLDocument7_get_onerror()

static HRESULT WINAPI HTMLDocument7_get_onerror ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3468 of file htmldoc.c.

3469{
3471 FIXME("(%p)->(%p)\n", This, p);
3472 return E_NOTIMPL;
3473}

◆ HTMLDocument7_get_onfocus()

static HRESULT WINAPI HTMLDocument7_get_onfocus ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3482 of file htmldoc.c.

3483{
3485 FIXME("(%p)->(%p)\n", This, p);
3486 return E_NOTIMPL;
3487}

◆ HTMLDocument7_get_oninput()

static HRESULT WINAPI HTMLDocument7_get_oninput ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3496 of file htmldoc.c.

3497{
3499 FIXME("(%p)->(%p)\n", This, p);
3500 return E_NOTIMPL;
3501}

◆ HTMLDocument7_get_onload()

static HRESULT WINAPI HTMLDocument7_get_onload ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3510 of file htmldoc.c.

3511{
3513 FIXME("(%p)->(%p)\n", This, p);
3514 return E_NOTIMPL;
3515}

◆ HTMLDocument7_get_onloadeddata()

static HRESULT WINAPI HTMLDocument7_get_onloadeddata ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3524 of file htmldoc.c.

3525{
3527 FIXME("(%p)->(%p)\n", This, p);
3528 return E_NOTIMPL;
3529}

◆ HTMLDocument7_get_onloadedmetadata()

static HRESULT WINAPI HTMLDocument7_get_onloadedmetadata ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3538 of file htmldoc.c.

3539{
3541 FIXME("(%p)->(%p)\n", This, p);
3542 return E_NOTIMPL;
3543}

◆ HTMLDocument7_get_onloadstart()

static HRESULT WINAPI HTMLDocument7_get_onloadstart ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3552 of file htmldoc.c.

3553{
3555 FIXME("(%p)->(%p)\n", This, p);
3556 return E_NOTIMPL;
3557}

◆ HTMLDocument7_get_onmssitemodejumplistitemremoved()

static HRESULT WINAPI HTMLDocument7_get_onmssitemodejumplistitemremoved ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3202 of file htmldoc.c.

3203{
3205 FIXME("(%p)->(%p)\n", This, p);
3206 return E_NOTIMPL;
3207}

◆ HTMLDocument7_get_onmsthumbnailclick()

static HRESULT WINAPI HTMLDocument7_get_onmsthumbnailclick ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3145 of file htmldoc.c.

3146{
3148 FIXME("(%p)->(%p)\n", This, p);
3149 return E_NOTIMPL;
3150}

◆ HTMLDocument7_get_onpause()

static HRESULT WINAPI HTMLDocument7_get_onpause ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3566 of file htmldoc.c.

3567{
3569 FIXME("(%p)->(%p)\n", This, p);
3570 return E_NOTIMPL;
3571}

◆ HTMLDocument7_get_onplay()

static HRESULT WINAPI HTMLDocument7_get_onplay ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3580 of file htmldoc.c.

3581{
3583 FIXME("(%p)->(%p)\n", This, p);
3584 return E_NOTIMPL;
3585}

◆ HTMLDocument7_get_onplaying()

static HRESULT WINAPI HTMLDocument7_get_onplaying ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3594 of file htmldoc.c.

3595{
3597 FIXME("(%p)->(%p)\n", This, p);
3598 return E_NOTIMPL;
3599}

◆ HTMLDocument7_get_onprogress()

static HRESULT WINAPI HTMLDocument7_get_onprogress ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3608 of file htmldoc.c.

3609{
3611 FIXME("(%p)->(%p)\n", This, p);
3612 return E_NOTIMPL;
3613}

◆ HTMLDocument7_get_onratechange()

static HRESULT WINAPI HTMLDocument7_get_onratechange ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3622 of file htmldoc.c.

3623{
3625 FIXME("(%p)->(%p)\n", This, p);
3626 return E_NOTIMPL;
3627}

◆ HTMLDocument7_get_onreset()

static HRESULT WINAPI HTMLDocument7_get_onreset ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3636 of file htmldoc.c.

3637{
3639 FIXME("(%p)->(%p)\n", This, p);
3640 return E_NOTIMPL;
3641}

◆ HTMLDocument7_get_onscroll()

static HRESULT WINAPI HTMLDocument7_get_onscroll ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3650 of file htmldoc.c.

3651{
3653 FIXME("(%p)->(%p)\n", This, p);
3654 return E_NOTIMPL;
3655}

◆ HTMLDocument7_get_onseekend()

static HRESULT WINAPI HTMLDocument7_get_onseekend ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3664 of file htmldoc.c.

3665{
3667 FIXME("(%p)->(%p)\n", This, p);
3668 return E_NOTIMPL;
3669}

◆ HTMLDocument7_get_onseeking()

static HRESULT WINAPI HTMLDocument7_get_onseeking ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3678 of file htmldoc.c.

3679{
3681 FIXME("(%p)->(%p)\n", This, p);
3682 return E_NOTIMPL;
3683}

◆ HTMLDocument7_get_onselect()

static HRESULT WINAPI HTMLDocument7_get_onselect ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3692 of file htmldoc.c.

3693{
3695 FIXME("(%p)->(%p)\n", This, p);
3696 return E_NOTIMPL;
3697}

◆ HTMLDocument7_get_onstalled()

static HRESULT WINAPI HTMLDocument7_get_onstalled ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3706 of file htmldoc.c.

3707{
3709 FIXME("(%p)->(%p)\n", This, p);
3710 return E_NOTIMPL;
3711}

◆ HTMLDocument7_get_onsubmit()

static HRESULT WINAPI HTMLDocument7_get_onsubmit ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3720 of file htmldoc.c.

3721{
3723 FIXME("(%p)->(%p)\n", This, p);
3724 return E_NOTIMPL;
3725}

◆ HTMLDocument7_get_onsuspend()

static HRESULT WINAPI HTMLDocument7_get_onsuspend ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3734 of file htmldoc.c.

3735{
3737 FIXME("(%p)->(%p)\n", This, p);
3738 return E_NOTIMPL;
3739}

◆ HTMLDocument7_get_ontimeupdate()

static HRESULT WINAPI HTMLDocument7_get_ontimeupdate ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3748 of file htmldoc.c.

3749{
3751 FIXME("(%p)->(%p)\n", This, p);
3752 return E_NOTIMPL;
3753}

◆ HTMLDocument7_get_onvolumechange()

static HRESULT WINAPI HTMLDocument7_get_onvolumechange ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3762 of file htmldoc.c.

3763{
3765 FIXME("(%p)->(%p)\n", This, p);
3766 return E_NOTIMPL;
3767}

◆ HTMLDocument7_get_onwaiting()

static HRESULT WINAPI HTMLDocument7_get_onwaiting ( IHTMLDocument7 *  iface,
VARIANT p 
)
static

Definition at line 3776 of file htmldoc.c.

3777{
3779 FIXME("(%p)->(%p)\n", This, p);
3780 return E_NOTIMPL;
3781}

◆ HTMLDocument7_get_parentWindow()

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

Definition at line 3798 of file htmldoc.c.

3799{
3801 FIXME("(%p)->(%p)\n", This, p);
3802 return E_NOTIMPL;
3803}

◆ HTMLDocument7_get_xmlEncoding()

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

Definition at line 3223 of file htmldoc.c.

3224{
3226 FIXME("(%p)->(%p)\n", This, p);
3227 return E_NOTIMPL;
3228}

◆ HTMLDocument7_get_xmlStandalone()

static HRESULT WINAPI HTMLDocument7_get_xmlStandalone ( IHTMLDocument7 *  iface,
VARIANT_BOOL p 
)
static

Definition at line 3237 of file htmldoc.c.

3238{
3240 FIXME("(%p)->(%p)\n", This, p);
3241 return E_NOTIMPL;
3242}

◆ HTMLDocument7_get_xmlVersion()

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

Definition at line 3251 of file htmldoc.c.

3252{
3254 FIXME("(%p)->(%p)\n", This, p);
3255 return E_NOTIMPL;
3256}

◆ HTMLDocument7_getElementByClassName()

static HRESULT WINAPI HTMLDocument7_getElementByClassName ( IHTMLDocument7 *  iface,
BSTR  v,
IHTMLElementCollection **  pel 
)
static

Definition at line 3173 of file htmldoc.c.

3174{
3176 FIXME("(%p)->(%s %p)\n", This, debugstr_w(v), pel);
3177 return E_NOTIMPL;
3178}

◆ HTMLDocument7_getElementsByTagNameNS()

static HRESULT WINAPI HTMLDocument7_getElementsByTagNameNS ( IHTMLDocument7 *  iface,
VARIANT pvarNS,
BSTR  bstrLocalName,
IHTMLElementCollection **  pelColl 
)
static

Definition at line 3115 of file htmldoc.c.

3117{
3119 FIXME("(%p)->(%s %s %p)\n", This, debugstr_variant(pvarNS), debugstr_w(bstrLocalName), pelColl);
3120 return E_NOTIMPL;
3121}

◆ HTMLDocument7_GetIDsOfNames()

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

Definition at line 3077 of file htmldoc.c.

3079{
3081 return IDispatchEx_GetIDsOfNames(&This->IDispatchEx_iface, riid, rgszNames, cNames, lcid,
3082 rgDispId);
3083}

◆ HTMLDocument7_getSelection()

static HRESULT WINAPI HTMLDocument7_getSelection ( IHTMLDocument7 *  iface,
IHTMLSelection **  ppIHTMLSelection 
)
static

Definition at line 3108 of file htmldoc.c.

3109{
3111 FIXME("(%p)->(%p)\n", This, ppIHTMLSelection);
3112 return E_NOTIMPL;
3113}

◆ HTMLDocument7_GetTypeInfo()

static HRESULT WINAPI HTMLDocument7_GetTypeInfo ( IHTMLDocument7 *  iface,
UINT  iTInfo,
LCID  lcid,
ITypeInfo **  ppTInfo 
)
static

Definition at line 3070 of file htmldoc.c.

3072{
3074 return IDispatchEx_GetTypeInfo(&This->IDispatchEx_iface, iTInfo, lcid, ppTInfo);
3075}

◆ HTMLDocument7_GetTypeInfoCount()

static HRESULT WINAPI HTMLDocument7_GetTypeInfoCount ( IHTMLDocument7 *  iface,
UINT pctinfo 
)
static

Definition at line 3064 of file htmldoc.c.

3065{
3067 return IDispatchEx_GetTypeInfoCount(&This->IDispatchEx_iface, pctinfo);
3068}

◆ HTMLDocument7_hasAttributes()

static HRESULT WINAPI HTMLDocument7_hasAttributes ( IHTMLDocument7 *  iface,
VARIANT_BOOL pfHasAttributes 
)
static

Definition at line 3258 of file htmldoc.c.

3259{
3261 FIXME("(%p)->(%p)\n", This, pfHasAttributes);
3262 return E_NOTIMPL;
3263}

◆ HTMLDocument7_importNode()

static HRESULT WINAPI HTMLDocument7_importNode ( IHTMLDocument7 *  iface,
IHTMLDOMNode *  pNodeSource,
VARIANT_BOOL  fDeep,
IHTMLDOMNode3 **  ppNodeDest 
)
static

Definition at line 3790 of file htmldoc.c.

3792{
3794 FIXME("(%p)->(%p %x %p)\n", This, pNodeSource, fDeep, ppNodeDest);
3795 return E_NOTIMPL;
3796}

◆ HTMLDocument7_Invoke()

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

Definition at line 3085 of file htmldoc.c.

3088{
3090 return IDispatchEx_Invoke(&This->IDispatchEx_iface, dispIdMember, riid, lcid, wFlags,
3091 pDispParams, pVarResult, pExcepInfo, puArgErr);
3092}

◆ HTMLDocument7_normalize()

static HRESULT WINAPI HTMLDocument7_normalize ( IHTMLDocument7 *  iface)
static

Definition at line 3783 of file htmldoc.c.

3784{
3786 FIXME("(%p)\n", This);
3787 return E_NOTIMPL;
3788}

◆ HTMLDocument7_put_body()

static HRESULT WINAPI HTMLDocument7_put_body ( IHTMLDocument7 *  iface,
IHTMLElement *  v 
)
static

Definition at line 3805 of file htmldoc.c.

3806{
3808 FIXME("(%p)->(%p)\n", This, v);
3809 return E_NOTIMPL;
3810}

◆ HTMLDocument7_put_onabort()

static HRESULT WINAPI HTMLDocument7_put_onabort ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3265 of file htmldoc.c.

3266{
3268 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3269 return E_NOTIMPL;
3270}

◆ HTMLDocument7_put_onblur()

static HRESULT WINAPI HTMLDocument7_put_onblur ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3279 of file htmldoc.c.

3280{
3282 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3283 return E_NOTIMPL;
3284}

◆ HTMLDocument7_put_oncanplay()

static HRESULT WINAPI HTMLDocument7_put_oncanplay ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3293 of file htmldoc.c.

3294{
3296 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3297 return E_NOTIMPL;
3298}

◆ HTMLDocument7_put_oncanplaythrough()

static HRESULT WINAPI HTMLDocument7_put_oncanplaythrough ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3307 of file htmldoc.c.

3308{
3310 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3311 return E_NOTIMPL;
3312}

◆ HTMLDocument7_put_onchange()

static HRESULT WINAPI HTMLDocument7_put_onchange ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3321 of file htmldoc.c.

3322{
3324 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3325 return E_NOTIMPL;
3326}

◆ HTMLDocument7_put_ondrag()

static HRESULT WINAPI HTMLDocument7_put_ondrag ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3335 of file htmldoc.c.

3336{
3338 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3339 return E_NOTIMPL;
3340}

◆ HTMLDocument7_put_ondragend()

static HRESULT WINAPI HTMLDocument7_put_ondragend ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3349 of file htmldoc.c.

3350{
3352 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3353 return E_NOTIMPL;
3354}

◆ HTMLDocument7_put_ondragenter()

static HRESULT WINAPI HTMLDocument7_put_ondragenter ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3363 of file htmldoc.c.

3364{
3366 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3367 return E_NOTIMPL;
3368}

◆ HTMLDocument7_put_ondragleave()

static HRESULT WINAPI HTMLDocument7_put_ondragleave ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3377 of file htmldoc.c.

3378{
3380 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3381 return E_NOTIMPL;
3382}

◆ HTMLDocument7_put_ondragover()

static HRESULT WINAPI HTMLDocument7_put_ondragover ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3391 of file htmldoc.c.

3392{
3394 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3395 return E_NOTIMPL;
3396}

◆ HTMLDocument7_put_ondrop()

static HRESULT WINAPI HTMLDocument7_put_ondrop ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3405 of file htmldoc.c.

3406{
3408 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3409 return E_NOTIMPL;
3410}

◆ HTMLDocument7_put_ondurationchange()

static HRESULT WINAPI HTMLDocument7_put_ondurationchange ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3419 of file htmldoc.c.

3420{
3422 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3423 return E_NOTIMPL;
3424}

◆ HTMLDocument7_put_onemptied()

static HRESULT WINAPI HTMLDocument7_put_onemptied ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3433 of file htmldoc.c.

3434{
3436 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3437 return E_NOTIMPL;
3438}

◆ HTMLDocument7_put_onended()

static HRESULT WINAPI HTMLDocument7_put_onended ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3447 of file htmldoc.c.

3448{
3450 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3451 return E_NOTIMPL;
3452}

◆ HTMLDocument7_put_onerror()

static HRESULT WINAPI HTMLDocument7_put_onerror ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3461 of file htmldoc.c.

3462{
3464 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3465 return E_NOTIMPL;
3466}

◆ HTMLDocument7_put_onfocus()

static HRESULT WINAPI HTMLDocument7_put_onfocus ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3475 of file htmldoc.c.

3476{
3478 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3479 return E_NOTIMPL;
3480}

◆ HTMLDocument7_put_oninput()

static HRESULT WINAPI HTMLDocument7_put_oninput ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3489 of file htmldoc.c.

3490{
3492 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3493 return E_NOTIMPL;
3494}

◆ HTMLDocument7_put_onload()

static HRESULT WINAPI HTMLDocument7_put_onload ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3503 of file htmldoc.c.

3504{
3506 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3507 return E_NOTIMPL;
3508}

◆ HTMLDocument7_put_onloadeddata()

static HRESULT WINAPI HTMLDocument7_put_onloadeddata ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3517 of file htmldoc.c.

3518{
3520 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3521 return E_NOTIMPL;
3522}

◆ HTMLDocument7_put_onloadedmetadata()

static HRESULT WINAPI HTMLDocument7_put_onloadedmetadata ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3531 of file htmldoc.c.

3532{
3534 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3535 return E_NOTIMPL;
3536}

◆ HTMLDocument7_put_onloadstart()

static HRESULT WINAPI HTMLDocument7_put_onloadstart ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3545 of file htmldoc.c.

3546{
3548 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3549 return E_NOTIMPL;
3550}

◆ HTMLDocument7_put_onmssitemodejumplistitemremoved()

static HRESULT WINAPI HTMLDocument7_put_onmssitemodejumplistitemremoved ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3195 of file htmldoc.c.

3196{
3198 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3199 return E_NOTIMPL;
3200}

◆ HTMLDocument7_put_onmsthumbnailclick()

static HRESULT WINAPI HTMLDocument7_put_onmsthumbnailclick ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3138 of file htmldoc.c.

3139{
3141 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3142 return E_NOTIMPL;
3143}

◆ HTMLDocument7_put_onpause()

static HRESULT WINAPI HTMLDocument7_put_onpause ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3559 of file htmldoc.c.

3560{
3562 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3563 return E_NOTIMPL;
3564}

◆ HTMLDocument7_put_onplay()

static HRESULT WINAPI HTMLDocument7_put_onplay ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3573 of file htmldoc.c.

3574{
3576 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3577 return E_NOTIMPL;
3578}

◆ HTMLDocument7_put_onplaying()

static HRESULT WINAPI HTMLDocument7_put_onplaying ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3587 of file htmldoc.c.

3588{
3590 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3591 return E_NOTIMPL;
3592}

◆ HTMLDocument7_put_onprogress()

static HRESULT WINAPI HTMLDocument7_put_onprogress ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3601 of file htmldoc.c.

3602{
3604 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3605 return E_NOTIMPL;
3606}

◆ HTMLDocument7_put_onratechange()

static HRESULT WINAPI HTMLDocument7_put_onratechange ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3615 of file htmldoc.c.

3616{
3618 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3619 return E_NOTIMPL;
3620}

◆ HTMLDocument7_put_onreset()

static HRESULT WINAPI HTMLDocument7_put_onreset ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3629 of file htmldoc.c.

3630{
3632 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3633 return E_NOTIMPL;
3634}

◆ HTMLDocument7_put_onscroll()

static HRESULT WINAPI HTMLDocument7_put_onscroll ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3643 of file htmldoc.c.

3644{
3646 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3647 return E_NOTIMPL;
3648}

◆ HTMLDocument7_put_onseekend()

static HRESULT WINAPI HTMLDocument7_put_onseekend ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3657 of file htmldoc.c.

3658{
3660 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3661 return E_NOTIMPL;
3662}

◆ HTMLDocument7_put_onseeking()

static HRESULT WINAPI HTMLDocument7_put_onseeking ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3671 of file htmldoc.c.

3672{
3674 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3675 return E_NOTIMPL;
3676}

◆ HTMLDocument7_put_onselect()

static HRESULT WINAPI HTMLDocument7_put_onselect ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3685 of file htmldoc.c.

3686{
3688 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3689 return E_NOTIMPL;
3690}

◆ HTMLDocument7_put_onstalled()

static HRESULT WINAPI HTMLDocument7_put_onstalled ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3699 of file htmldoc.c.

3700{
3702 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3703 return E_NOTIMPL;
3704}

◆ HTMLDocument7_put_onsubmit()

static HRESULT WINAPI HTMLDocument7_put_onsubmit ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3713 of file htmldoc.c.

3714{
3716 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3717 return E_NOTIMPL;
3718}

◆ HTMLDocument7_put_onsuspend()

static HRESULT WINAPI HTMLDocument7_put_onsuspend ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3727 of file htmldoc.c.

3728{
3730 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3731 return E_NOTIMPL;
3732}

◆ HTMLDocument7_put_ontimeupdate()

static HRESULT WINAPI HTMLDocument7_put_ontimeupdate ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3741 of file htmldoc.c.

3742{
3744 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3745 return E_NOTIMPL;
3746}

◆ HTMLDocument7_put_onvolumechange()

static HRESULT WINAPI HTMLDocument7_put_onvolumechange ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3755 of file htmldoc.c.

3756{
3758 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3759 return E_NOTIMPL;
3760}

◆ HTMLDocument7_put_onwaiting()

static HRESULT WINAPI HTMLDocument7_put_onwaiting ( IHTMLDocument7 *  iface,
VARIANT  v 
)
static

Definition at line 3769 of file htmldoc.c.

3770{
3772 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3773 return E_NOTIMPL;
3774}

◆ HTMLDocument7_put_xmlStandalone()

static HRESULT WINAPI HTMLDocument7_put_xmlStandalone ( IHTMLDocument7 *  iface,
VARIANT_BOOL  v 
)
static

Definition at line 3230 of file htmldoc.c.

3231{
3233 FIXME("(%p)->(%x)\n", This, v);
3234 return E_NOTIMPL;
3235}

◆ HTMLDocument7_put_xmlVersion()

static HRESULT WINAPI HTMLDocument7_put_xmlVersion ( IHTMLDocument7 *  iface,
BSTR  v 
)
static

Definition at line 3244 of file htmldoc.c.

3245{
3247 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
3248 return E_NOTIMPL;
3249}

◆ HTMLDocument7_QueryInterface()

static HRESULT WINAPI HTMLDocument7_QueryInterface ( IHTMLDocument7 *  iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 3046 of file htmldoc.c.

3047{
3050}

◆ HTMLDocument7_Release()

static ULONG WINAPI HTMLDocument7_Release ( IHTMLDocument7 *  iface)
static

Definition at line 3058 of file htmldoc.c.

3059{
3061 return htmldoc_release(This);
3062}

◆ HTMLDocument_AddRef()

static ULONG WINAPI HTMLDocument_AddRef ( IHTMLDocument2 *  iface)
static

Definition at line 140 of file htmldoc.c.

141{
143
144 return htmldoc_addref(This);
145}
static HTMLDocument * impl_from_IHTMLDocument2(IHTMLDocument2 *iface)
Definition: htmldoc.c:128

◆ HTMLDocument_clear()

static HRESULT WINAPI HTMLDocument_clear ( IHTMLDocument2 *  iface)
static

Definition at line 1102 of file htmldoc.c.

1103{
1105 nsresult nsres;
1106
1107 TRACE("(%p)\n", This);
1108
1109 nsres = nsIDOMHTMLDocument_Clear(This->doc_node->nsdoc);
1110 if(NS_FAILED(nsres)) {
1111 ERR("Clear failed: %08x\n", nsres);
1112 return E_FAIL;
1113 }
1114
1115 return S_OK;
1116}

◆ HTMLDocument_close()

static HRESULT WINAPI HTMLDocument_close ( IHTMLDocument2 *  iface)
static

Definition at line 1081 of file htmldoc.c.

1082{
1084 nsresult nsres;
1085
1086 TRACE("(%p)\n", This);
1087
1088 if(!This->doc_node->nsdoc) {
1089 ERR("!nsdoc\n");
1090 return E_NOTIMPL;
1091 }
1092
1093 nsres = nsIDOMHTMLDocument_Close(This->doc_node->nsdoc);
1094 if(NS_FAILED(nsres)) {
1095 ERR("Close failed: %08x\n", nsres);
1096 return E_FAIL;
1097 }
1098
1099 return S_OK;
1100}

◆ HTMLDocument_Create()

HRESULT HTMLDocument_Create ( IUnknown pUnkOuter,
REFIID  riid,
void **  ppvObject 
)

Definition at line 4821 of file htmldoc.c.

4822{
4823 HTMLDocumentObj *doc;
4824 nsIDOMWindow *nswindow = NULL;
4825 nsresult nsres;
4826 HRESULT hres;
4827
4828 TRACE("(%p %s %p)\n", pUnkOuter, debugstr_mshtml_guid(riid), ppvObject);
4829
4830 doc = heap_alloc_zero(sizeof(HTMLDocumentObj));
4831 if(!doc)
4832 return E_OUTOFMEMORY;
4833
4837
4838 doc->ICustomDoc_iface.lpVtbl = &CustomDocVtbl;
4839 doc->ref = 1;
4840 doc->basedoc.doc_obj = doc;
4841
4843
4844 init_binding_ui(doc);
4845
4846 hres = create_nscontainer(doc, &doc->nscontainer);
4847 if(FAILED(hres)) {
4848 ERR("Failed to init Gecko, returning CLASS_E_CLASSNOTAVAILABLE\n");
4849 htmldoc_release(&doc->basedoc);
4850 return hres;
4851 }
4852
4854 htmldoc_release(&doc->basedoc);
4855 if(FAILED(hres))
4856 return hres;
4857
4858 nsres = nsIWebBrowser_GetContentDOMWindow(doc->nscontainer->webbrowser, &nswindow);
4859 if(NS_FAILED(nsres))
4860 ERR("GetContentDOMWindow failed: %08x\n", nsres);
4861
4862 hres = HTMLOuterWindow_Create(doc, nswindow, NULL /* FIXME */, &doc->basedoc.window);
4863 if(nswindow)
4864 nsIDOMWindow_Release(nswindow);
4865 if(FAILED(hres)) {
4866 htmldoc_release(&doc->basedoc);
4867 return hres;
4868 }
4869
4870 if(!doc->basedoc.doc_node && doc->basedoc.window->base.inner_window->doc) {
4873 }
4874
4876
4877 return S_OK;
4878}
static const ICustomDocVtbl CustomDocVtbl
Definition: htmldoc.c:4800
static dispex_static_data_t HTMLDocumentObj_dispex
Definition: htmldoc.c:4814
HRESULT HTMLOuterWindow_Create(HTMLDocumentObj *doc_obj, nsIDOMWindow *nswindow, HTMLOuterWindow *parent, HTMLOuterWindow **ret)
Definition: htmlwindow.c:2945
void TargetContainer_Init(HTMLDocumentObj *) DECLSPEC_HIDDEN
Definition: oleobj.c:1121
HWND get_thread_hwnd(void) DECLSPEC_HIDDEN
Definition: task.c:338
void init_binding_ui(HTMLDocumentObj *) DECLSPEC_HIDDEN
Definition: view.c:935
HRESULT create_nscontainer(HTMLDocumentObj *, NSContainer **) DECLSPEC_HIDDEN
Definition: nsembed.c:2076
@ UNKNOWN_USERMODE
NSContainer * nscontainer
DispatchEx dispex
ICustomDoc ICustomDoc_iface
HTMLDocumentNode * doc
HTMLInnerWindow * inner_window
nsIWebBrowser * webbrowser
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject
Definition: wincrypt.h:6082

Referenced by DllGetClassObject().

◆ HTMLDocument_createElement()

static HRESULT WINAPI HTMLDocument_createElement ( IHTMLDocument2 *  iface,
BSTR  eTag,
IHTMLElement **  newElem 
)
static

Definition at line 1254 of file htmldoc.c.

1256{
1259 HRESULT hres;
1260
1261 TRACE("(%p)->(%s %p)\n", This, debugstr_w(eTag), newElem);
1262
1263 hres = create_element(This->doc_node, eTag, &elem);
1264 if(FAILED(hres))
1265 return hres;
1266
1267 *newElem = &elem->IHTMLElement_iface;
1268 return S_OK;
1269}
HRESULT create_element(HTMLDocumentNode *doc, const WCHAR *tag, HTMLElement **ret)
Definition: htmlelem.c:275

◆ HTMLDocument_createStyleSheet()

static HRESULT WINAPI HTMLDocument_createStyleSheet ( IHTMLDocument2 *  iface,
BSTR  bstrHref,
LONG  lIndex,
IHTMLStyleSheet **  ppnewStyleSheet 
)
static

Definition at line 1676 of file htmldoc.c.

1678{
1680 nsIDOMHTMLHeadElement *head_elem;
1681 IHTMLStyleElement *style_elem;
1683 nsresult nsres;
1684 HRESULT hres;
1685
1686 static const WCHAR styleW[] = {'s','t','y','l','e',0};
1687
1688 TRACE("(%p)->(%s %d %p)\n", This, debugstr_w(bstrHref), lIndex, ppnewStyleSheet);
1689
1690 if(!This->doc_node->nsdoc) {
1691 FIXME("not a real doc object\n");
1692 return E_NOTIMPL;
1693 }
1694
1695 if(lIndex != -1)
1696 FIXME("Unsupported lIndex %d\n", lIndex);
1697
1698 if(bstrHref && *bstrHref) {
1699 FIXME("semi-stub for href %s\n", debugstr_w(bstrHref));
1700 *ppnewStyleSheet = HTMLStyleSheet_Create(NULL);
1701 return S_OK;
1702 }
1703
1704 hres = create_element(This->doc_node, styleW, &elem);
1705 if(FAILED(hres))
1706 return hres;
1707
1708 nsres = nsIDOMHTMLDocument_GetHead(This->doc_node->nsdoc, &head_elem);
1709 if(NS_SUCCEEDED(nsres)) {
1710 nsIDOMNode *head_node, *tmp_node;
1711
1712 nsres = nsIDOMHTMLHeadElement_QueryInterface(head_elem, &IID_nsIDOMNode, (void**)&head_node);
1713 nsIDOMHTMLHeadElement_Release(head_elem);
1714 assert(nsres == NS_OK);
1715
1716 nsres = nsIDOMNode_AppendChild(head_node, elem->node.nsnode, &tmp_node);
1717 nsIDOMNode_Release(head_node);
1718 if(NS_SUCCEEDED(nsres) && tmp_node)
1719 nsIDOMNode_Release(tmp_node);
1720 }
1721 if(NS_FAILED(nsres)) {
1722 IHTMLElement_Release(&elem->IHTMLElement_iface);
1723 return E_FAIL;
1724 }
1725
1726 hres = IHTMLElement_QueryInterface(&elem->IHTMLElement_iface, &IID_IHTMLStyleElement, (void**)&style_elem);
1727 assert(hres == S_OK);
1728 IHTMLElement_Release(&elem->IHTMLElement_iface);
1729
1730 hres = IHTMLStyleElement_get_styleSheet(style_elem, ppnewStyleSheet);
1731 IHTMLStyleElement_Release(style_elem);
1732 return hres;
1733}
static const WCHAR styleW[]
Definition: htmlelem.c:39
IHTMLStyleSheet * HTMLStyleSheet_Create(nsIDOMStyleSheet *nsstylesheet)

◆ HTMLDocument_elementFromPoint()

static HRESULT WINAPI HTMLDocument_elementFromPoint ( IHTMLDocument2 *  iface,
LONG  x,
LONG  y,
IHTMLElement **  elementHit 
)
static

Definition at line 1561 of file htmldoc.c.

1563{
1565 nsIDOMElement *nselem;
1567 nsresult nsres;
1568 HRESULT hres;
1569
1570 TRACE("(%p)->(%d %d %p)\n", This, x, y, elementHit);
1571
1572 nsres = nsIDOMHTMLDocument_ElementFromPoint(This->doc_node->nsdoc, x, y, &nselem);
1573 if(NS_FAILED(nsres)) {
1574 ERR("ElementFromPoint failed: %08x\n", nsres);
1575 return E_FAIL;
1576 }
1577
1578 if(!nselem) {
1579 *elementHit = NULL;
1580 return S_OK;
1581 }
1582
1583 hres = get_node(This->doc_node, (nsIDOMNode*)nselem, TRUE, &node);
1584 nsIDOMElement_Release(nselem);
1585 if(FAILED(hres))
1586 return hres;
1587
1588 hres = IHTMLDOMNode_QueryInterface(&node->IHTMLDOMNode_iface, &IID_IHTMLElement, (void**)elementHit);
1590 return hres;
1591}
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548

◆ HTMLDocument_execCommand()

static HRESULT WINAPI HTMLDocument_execCommand ( IHTMLDocument2 *  iface,
BSTR  cmdID,
VARIANT_BOOL  showUI,
VARIANT  value,
VARIANT_BOOL pfRet 
)
static

Definition at line 1218 of file htmldoc.c.

1220{
1222 OLECMDID cmdid;
1223 VARIANT ret;
1224 HRESULT hres;
1225
1226 TRACE("(%p)->(%s %x %s %p)\n", This, debugstr_w(cmdID), showUI, debugstr_variant(&value), pfRet);
1227
1228 if(!cmdid_from_string(cmdID, &cmdid))
1229 return OLECMDERR_E_NOTSUPPORTED;
1230
1231 V_VT(&ret) = VT_EMPTY;
1232 hres = IOleCommandTarget_Exec(&This->IOleCommandTarget_iface, &CGID_MSHTML, cmdid,
1233 showUI ? 0 : OLECMDEXECOPT_DONTPROMPTUSER, &value, &ret);
1234 if(FAILED(hres))
1235 return hres;
1236
1237 if(V_VT(&ret) != VT_EMPTY) {
1238 FIXME("Handle ret %s\n", debugstr_variant(&ret));
1239 VariantClear(&ret);
1240 }
1241
1242 *pfRet = VARIANT_TRUE;
1243 return S_OK;
1244}
static BOOL cmdid_from_string(const WCHAR *str, OLECMDID *cmdid)
Definition: htmldoc.c:1155
Definition: pdh_main.c:94

◆ HTMLDocument_execCommandShowHelp()

static HRESULT WINAPI HTMLDocument_execCommandShowHelp ( IHTMLDocument2 *  iface,
BSTR  cmdID,
VARIANT_BOOL pfRet 
)
static

Definition at line 1246 of file htmldoc.c.

1248{
1250 FIXME("(%p)->(%s %p)\n", This, debugstr_w(cmdID), pfRet);
1251 return E_NOTIMPL;
1252}

◆ HTMLDocument_get_activeElement()

static HRESULT WINAPI HTMLDocument_get_activeElement ( IHTMLDocument2 *  iface,
IHTMLElement **  p 
)
static

Definition at line 270 of file htmldoc.c.

271{
273 nsIDOMElement *nselem;
275 nsresult nsres;
277
278 TRACE("(%p)->(%p)\n", This, p);
279
280 if(!This->doc_node->nsdoc) {
281 *p = NULL;
282 return S_OK;
283 }
284
285 /*
286 * NOTE: Gecko may return an active element even if the document is not visible.
287 * IE returns NULL in this case.
288 */
289 nsres = nsIDOMHTMLDocument_GetActiveElement(This->doc_node->nsdoc, &nselem);
290 if(NS_FAILED(nsres)) {
291 ERR("GetActiveElement failed: %08x\n", nsres);
292 return E_FAIL;
293 }
294
295 if(!nselem) {
296 *p = NULL;
297 return S_OK;
298 }
299
300 hres = get_elem(This->doc_node, nselem, &elem);
301 nsIDOMElement_Release(nselem);
302 if(FAILED(hres))
303 return hres;
304
305 *p = &elem->IHTMLElement_iface;
306 return S_OK;
307}

◆ HTMLDocument_get_alinkColor()

static HRESULT WINAPI HTMLDocument_get_alinkColor ( IHTMLDocument2 *  iface,
VARIANT p 
)
static

Definition at line 650 of file htmldoc.c.

651{
653 FIXME("(%p)->(%p)\n", This, p);
654 return E_NOTIMPL;
655}

◆ HTMLDocument_get_all()

static HRESULT WINAPI HTMLDocument_get_all ( IHTMLDocument2 *  iface,
IHTMLElementCollection **  p 
)
static

Definition at line 200 of file htmldoc.c.

201{
203 nsIDOMElement *nselem = NULL;
205 nsresult nsres;
207
208 TRACE("(%p)->(%p)\n", This, p);
209
210 if(!This->doc_node->nsdoc) {
211 WARN("NULL nsdoc\n");
212 return E_UNEXPECTED;
213 }
214
215 nsres = nsIDOMHTMLDocument_GetDocumentElement(This->doc_node->nsdoc, &nselem);
216 if(NS_FAILED(nsres)) {
217 ERR("GetDocumentElement failed: %08x\n", nsres);
218 return E_FAIL;
219 }
220
221 if(!nselem) {
222 *p = NULL;
223 return S_OK;
224 }
225
226 hres = get_node(This->doc_node, (nsIDOMNode*)nselem, TRUE, &node);
227 nsIDOMElement_Release(nselem);
228 if(FAILED(hres))
229 return hres;
230
233 return hres;
234}
IHTMLElementCollection * create_all_collection(HTMLDOMNode *node, BOOL include_root)
Definition: htmlelemcol.c:654

◆ HTMLDocument_get_anchors()

static HRESULT WINAPI HTMLDocument_get_anchors ( IHTMLDocument2 *  iface,
IHTMLElementCollection **  p 
)
static

Definition at line 437 of file htmldoc.c.

438{
440 nsIDOMHTMLCollection *nscoll = NULL;
441 nsresult nsres;
442
443 TRACE("(%p)->(%p)\n", This, p);
444
445 if(!p)
446 return E_INVALIDARG;
447
448 *p = NULL;
449
450 if(!This->doc_node->nsdoc) {
451 WARN("NULL nsdoc\n");
452 return E_UNEXPECTED;
453 }
454
455 nsres = nsIDOMHTMLDocument_GetAnchors(This->doc_node->nsdoc, &nscoll);
456 if(NS_FAILED(nsres)) {
457 ERR("GetAnchors failed: %08x\n", nsres);
458 return E_FAIL;
459 }
460
461 if(nscoll) {
462 *p = create_collection_from_htmlcol(This->doc_node, nscoll);
463 nsIDOMHTMLCollection_Release(nscoll);
464 }
465
466 return S_OK;
467}
IHTMLElementCollection * create_collection_from_htmlcol(HTMLDocumentNode *doc, nsIDOMHTMLCollection *nscol)
Definition: htmlelemcol.c:705

◆ HTMLDocument_get_applets()

static HRESULT WINAPI HTMLDocument_get_applets ( IHTMLDocument2 *  iface,
IHTMLElementCollection **  p 
)
static

Definition at line 341 of file htmldoc.c.

342{
344 nsIDOMHTMLCollection *nscoll = NULL;
345 nsresult nsres;
346
347 TRACE("(%p)->(%p)\n", This, p);
348
349 if(!p)
350 return E_INVALIDARG;
351
352 *p = NULL;
353
354 if(!This->doc_node->nsdoc) {
355 WARN("NULL nsdoc\n");
356 return E_UNEXPECTED;
357 }
358
359 nsres = nsIDOMHTMLDocument_GetApplets(This->doc_node->nsdoc, &nscoll);
360 if(NS_FAILED(nsres)) {
361 ERR("GetApplets failed: %08x\n", nsres);
362 return E_FAIL;
363 }
364
365 if(nscoll) {
366 *p = create_collection_from_htmlcol(This->doc_node, nscoll);
367 nsIDOMHTMLCollection_Release(nscoll);
368 }
369
370 return S_OK;
371}

◆ HTMLDocument_get_bgColor()

static HRESULT WINAPI HTMLDocument_get_bgColor ( IHTMLDocument2 *  iface,
VARIANT p 
)
static

Definition at line 668 of file htmldoc.c.

669{
671 FIXME("(%p)->(%p)\n", This, p);
672 return E_NOTIMPL;
673}

◆ HTMLDocument_get_body()

static HRESULT WINAPI HTMLDocument_get_body ( IHTMLDocument2 *  iface,
IHTMLElement **  p 
)
static

Definition at line 236 of file htmldoc.c.

237{
239 nsIDOMHTMLElement *nsbody = NULL;
242
243 TRACE("(%p)->(%p)\n", This, p);
244
245 if(This->doc_node->nsdoc) {
246 nsresult nsres;
247
248 nsres = nsIDOMHTMLDocument_GetBody(This->doc_node->nsdoc, &nsbody);
249 if(NS_FAILED(nsres)) {
250 TRACE("Could not get body: %08x\n", nsres);
251 return E_UNEXPECTED;
252 }
253 }
254
255 if(!nsbody) {
256 *p = NULL;
257 return S_OK;
258 }
259
260 hres = get_node(This->doc_node, (nsIDOMNode*)nsbody, TRUE, &node);
261 nsIDOMHTMLElement_Release(nsbody);
262 if(FAILED(hres))
263 return hres;
264
265 hres = IHTMLDOMNode_QueryInterface(&node->IHTMLDOMNode_iface, &IID_IHTMLElement, (void**)p);
267 return hres;
268}

◆ HTMLDocument_get_charset()

static HRESULT WINAPI HTMLDocument_get_charset ( IHTMLDocument2 *  iface,
BSTR p 
)
static

Definition at line 876 of file htmldoc.c.

877{
879 nsAString charset_str;
880 nsresult nsres;
881
882 TRACE("(%p)->(%p)\n", This, p);
883
884 if(!This->doc_node->nsdoc) {
885 FIXME("NULL nsdoc\n");
886 return E_FAIL;
887 }
888
889 nsAString_Init(&charset_str, NULL);
890 nsres = nsIDOMHTMLDocument_GetCharacterSet(This->doc_node->nsdoc, &charset_str);
891 return return_nsstr(nsres, &charset_str, p);
892}

◆ HTMLDocument_get_cookie()

static HRESULT WINAPI HTMLDocument_get_cookie ( IHTMLDocument2 *  iface,
BSTR p 
)
static

Definition at line 814 of file htmldoc.c.

815{
817 DWORD size;
818 BOOL bret;
819
820 TRACE("(%p)->(%p)\n", This, p);
821
822 size = 0;
823 bret = InternetGetCookieExW(This->window->url, NULL, NULL, &size, 0, NULL);
824 if(!bret) {
825 switch(GetLastError()) {
827 break;
829 *p = NULL;
830 return S_OK;
831 default:
832 FIXME("InternetGetCookieExW failed: %u\n", GetLastError());
834 }
835 }
836
837 if(!size) {
838 *p = NULL;
839 return S_OK;
840 }
841
842 *p = SysAllocStringLen(NULL, size/sizeof(WCHAR)-1);
843 if(!*p)
844 return E_OUTOFMEMORY;
845
846 bret = InternetGetCookieExW(This->window->url, NULL, *p, &size, 0, NULL);
847 if(!bret) {
848 ERR("InternetGetCookieExW failed: %u\n", GetLastError());
849 return E_FAIL;
850 }
851
852 return S_OK;
853}
#define ERROR_INSUFFICIENT_BUFFER
Definition: dderror.h:10
#define ERROR_NO_MORE_ITEMS
Definition: compat.h:105
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
GLsizeiptr size
Definition: glext.h:5919
BSTR WINAPI SysAllocStringLen(const OLECHAR *str, unsigned int len)
Definition: oleaut.c:339
DWORD WINAPI GetLastError(void)
Definition: except.c:1042
#define HRESULT_FROM_WIN32(x)
Definition: winerror.h:92
BOOL WINAPI InternetGetCookieExW(LPCWSTR lpszUrl, LPCWSTR lpszCookieName, LPWSTR lpCookieData, LPDWORD lpdwSize, DWORD flags, void *reserved)
Definition: cookie.c:729

◆ HTMLDocument_get_defaultCharset()

static HRESULT WINAPI HTMLDocument_get_defaultCharset ( IHTMLDocument2 *  iface,
BSTR p 
)
static

Definition at line 901 of file htmldoc.c.

902{
904 FIXME("(%p)->(%p)\n", This, p);
905 return E_NOTIMPL;
906}

◆ HTMLDocument_get_designMode()

static HRESULT WINAPI HTMLDocument_get_designMode ( IHTMLDocument2 *  iface,
BSTR p 
)
static

Definition at line 576 of file htmldoc.c.

577{
579 static const WCHAR szOff[] = {'O','f','f',0};
580 FIXME("(%p)->(%p) always returning Off\n", This, p);
581
582 if(!p)
583 return E_INVALIDARG;
584
585 *p = SysAllocString(szOff);
586
587 return S_OK;
588}

◆ HTMLDocument_get_domain()

static HRESULT WINAPI HTMLDocument_get_domain ( IHTMLDocument2 *  iface,
BSTR p 
)
static

Definition at line 782 of file htmldoc.c.

783{
786
787 TRACE("(%p)->(%p)\n", This, p);
788
789 if(!This->window || !This->window->uri) {
790 FIXME("No current URI\n");
791 return E_FAIL;
792 }
793
794 hres = IUri_GetHost(This->window->uri, p);
795 return FAILED(hres) ? hres : S_OK;
796}

◆ HTMLDocument_get_embeds()

static HRESULT WINAPI HTMLDocument_get_embeds ( IHTMLDocument2 *  iface,
IHTMLElementCollection **  p 
)
static

Definition at line 629 of file htmldoc.c.

630{
632 FIXME("(%p)->(%p)\n", This, p);
633 return E_NOTIMPL;
634}

◆ HTMLDocument_get_expando()

static HRESULT WINAPI HTMLDocument_get_expando ( IHTMLDocument2 *  iface,
VARIANT_BOOL p 
)
static

Definition at line 862 of file htmldoc.c.

863{
865 FIXME("(%p)->(%p)\n", This, p);
866 return E_NOTIMPL;
867}

◆ HTMLDocument_get_fgColor()

static HRESULT WINAPI HTMLDocument_get_fgColor ( IHTMLDocument2 *  iface,
VARIANT p 
)
static

Definition at line 682 of file htmldoc.c.

683{
685 FIXME("(%p)->(%p)\n", This, p);
686 return E_NOTIMPL;
687}

◆ HTMLDocument_get_fileCreatedDate()

static HRESULT WINAPI HTMLDocument_get_fileCreatedDate ( IHTMLDocument2 *  iface,
BSTR p 
)
static

Definition at line 922 of file htmldoc.c.

923{
925 FIXME("(%p)->(%p)\n", This, p);
926 return E_NOTIMPL;
927}

◆ HTMLDocument_get_fileModifiedDate()

static HRESULT WINAPI HTMLDocument_get_fileModifiedDate ( IHTMLDocument2 *  iface,
BSTR p 
)
static

Definition at line 929 of file htmldoc.c.

930{
932 FIXME("(%p)->(%p)\n", This, p);
933 return E_NOTIMPL;
934}

◆ HTMLDocument_get_fileSize()

static HRESULT WINAPI HTMLDocument_get_fileSize ( IHTMLDocument2 *  iface,
BSTR p 
)
static

Definition at line 915 of file htmldoc.c.

916{
918 FIXME("(%p)->(%p)\n", This, p);
919 return E_NOTIMPL;
920}

◆ HTMLDocument_get_fileUpdatedDate()

static HRESULT WINAPI HTMLDocument_get_fileUpdatedDate ( IHTMLDocument2 *  iface,
BSTR p 
)
static

Definition at line 936 of file htmldoc.c.

937{
939 FIXME("(%p)->(%p)\n", This, p);
940 return E_NOTIMPL;
941}

◆ HTMLDocument_get_forms()

static HRESULT WINAPI HTMLDocument_get_forms ( IHTMLDocument2 *  iface,
IHTMLElementCollection **  p 
)
static

Definition at line 405 of file htmldoc.c.

406{
408 nsIDOMHTMLCollection *nscoll = NULL;
409 nsresult nsres;
410
411 TRACE("(%p)->(%p)\n", This, p);
412
413 if(!p)
414 return E_INVALIDARG;
415
416 *p = NULL;
417
418 if(!This->doc_node->nsdoc) {
419 WARN("NULL nsdoc\n");
420 return E_UNEXPECTED;
421 }
422
423 nsres = nsIDOMHTMLDocument_GetForms(This->doc_node->nsdoc, &nscoll);
424 if(NS_FAILED(nsres)) {
425 ERR("GetForms failed: %08x\n", nsres);
426 return E_FAIL;
427 }
428
429 if(nscoll) {
430 *p = create_collection_from_htmlcol(This->doc_node, nscoll);
431 nsIDOMHTMLCollection_Release(nscoll);
432 }
433
434 return S_OK;
435}

◆ HTMLDocument_get_frames()

static HRESULT WINAPI HTMLDocument_get_frames ( IHTMLDocument2 *  iface,
IHTMLFramesCollection2 **  p 
)
static

Definition at line 620 of file htmldoc.c.

621{
623
624 TRACE("(%p)->(%p)\n", This, p);
625
626 return IHTMLWindow2_get_frames(&This->window->base.IHTMLWindow2_iface, p);
627}

◆ HTMLDocument_get_images()

static HRESULT WINAPI HTMLDocument_get_images ( IHTMLDocument2 *  iface,
IHTMLElementCollection **  p 
)
static

Definition at line 309 of file htmldoc.c.

310{
312 nsIDOMHTMLCollection *nscoll = NULL;
313 nsresult nsres;
314
315 TRACE("(%p)->(%p)\n", This, p);
316
317 if(!p)
318 return E_INVALIDARG;
319
320 *p = NULL;
321
322 if(!This->doc_node->nsdoc) {
323 WARN("NULL nsdoc\n");
324 return E_UNEXPECTED;
325 }
326
327 nsres = nsIDOMHTMLDocument_GetImages(This->doc_node->nsdoc, &nscoll);
328 if(NS_FAILED(nsres)) {
329 ERR("GetImages failed: %08x\n", nsres);
330 return E_FAIL;
331 }
332
333 if(nscoll) {
334 *p = create_collection_from_htmlcol(This->doc_node, nscoll);
335 nsIDOMHTMLCollection_Release(nscoll);
336 }
337
338 return S_OK;
339}

◆ HTMLDocument_get_lastModified()

static HRESULT WINAPI HTMLDocument_get_lastModified ( IHTMLDocument2 *  iface,
BSTR p 
)
static

Definition at line 741 of file htmldoc.c.

742{
744 FIXME("(%p)->(%p)\n", This, p);
745 return E_NOTIMPL;
746}

◆ HTMLDocument_get_linkColor()

static HRESULT WINAPI HTMLDocument_get_linkColor ( IHTMLDocument2 *  iface,
VARIANT p 
)
static

Definition at line 696 of file htmldoc.c.

697{
699 FIXME("(%p)->(%p)\n", This, p);
700 return E_NOTIMPL;
701}

◆ HTMLDocument_get_links()

static HRESULT WINAPI HTMLDocument_get_links ( IHTMLDocument2 *  iface,
IHTMLElementCollection **  p 
)
static

Definition at line 373 of file htmldoc.c.

374{
376 nsIDOMHTMLCollection *nscoll = NULL;
377 nsresult nsres;
378
379 TRACE("(%p)->(%p)\n", This, p);
380
381 if(!p)
382 return E_INVALIDARG;
383
384 *p = NULL;
385
386 if(!This->doc_node->nsdoc) {
387 WARN("NULL nsdoc\n");
388 return E_UNEXPECTED;
389 }
390
391 nsres = nsIDOMHTMLDocument_GetLinks(This->doc_node->nsdoc, &nscoll);
392 if(NS_FAILED(nsres)) {
393 ERR("GetLinks failed: %08x\n", nsres);
394 return E_FAIL;
395 }
396
397 if(nscoll) {
398 *p = create_collection_from_htmlcol(This->doc_node, nscoll);
399 nsIDOMHTMLCollection_Release(nscoll);
400 }
401
402 return S_OK;
403}

◆ HTMLDocument_get_location()

static HRESULT WINAPI HTMLDocument_get_location ( IHTMLDocument2 *  iface,
IHTMLLocation **  p 
)
static

Definition at line 727 of file htmldoc.c.

728{
730
731 TRACE("(%p)->(%p)\n", This, p);
732
733 if(!This->doc_node->nsdoc) {
734 WARN("NULL nsdoc\n");
735 return E_UNEXPECTED;
736 }
737
738 return IHTMLWindow2_get_location(&This->window->base.IHTMLWindow2_iface, p);
739}

◆ HTMLDocument_get_mimeType()

static HRESULT WINAPI HTMLDocument_get_mimeType ( IHTMLDocument2 *  iface,
BSTR p 
)
static

Definition at line 908 of file htmldoc.c.

909{
911 FIXME("(%p)->(%p)\n", This, p);
912 return E_NOTIMPL;
913}

◆ HTMLDocument_get_nameProp()

static HRESULT WINAPI HTMLDocument_get_nameProp ( IHTMLDocument2 *  iface,
BSTR p 
)
static

Definition at line 957 of file htmldoc.c.

958{
960 FIXME("(%p)->(%p)\n", This, p);
961 return E_NOTIMPL;
962}

◆ HTMLDocument_get_onafterupdate()

static HRESULT WINAPI HTMLDocument_get_onafterupdate ( IHTMLDocument2 *  iface,
VARIANT p 
)
static

Definition at line 1490 of file htmldoc.c.

1491{
1493 FIXME("(%p)->(%p)\n", This, p);
1494 return E_NOTIMPL;
1495}

◆ HTMLDocument_get_onbeforeupdate()

static HRESULT WINAPI HTMLDocument_get_onbeforeupdate ( IHTMLDocument2 *  iface,
VARIANT p 
)
static

Definition at line 1639 of file htmldoc.c.

1640{
1642 FIXME("(%p)->(%p)\n", This, p);
1643 return E_NOTIMPL;
1644}

◆ HTMLDocument_get_onclick()

static HRESULT WINAPI HTMLDocument_get_onclick ( IHTMLDocument2 *  iface,
VARIANT p 
)
static

Definition at line 1294 of file htmldoc.c.

1295{
1297
1298 TRACE("(%p)->(%p)\n", This, p);
1299
1301}
@ EVENTID_CLICK
Definition: htmlevent.h:26

◆ HTMLDocument_get_ondblclick()

static HRESULT WINAPI HTMLDocument_get_ondblclick ( IHTMLDocument2 *  iface,
VARIANT p 
)
static

Definition at line 1312 of file htmldoc.c.

1313{
1315
1316 TRACE("(%p)->(%p)\n", This, p);
1317
1319}
@ EVENTID_DBLCLICK
Definition: htmlevent.h:29

◆ HTMLDocument_get_ondragstart()

static HRESULT WINAPI HTMLDocument_get_ondragstart ( IHTMLDocument2 *  iface,
VARIANT p 
)
static

Definition at line 1534 of file htmldoc.c.

1535{
1537
1538 TRACE("(%p)->(%p)\n", This, p);
1539
1541}
@ EVENTID_DRAGSTART
Definition: htmlevent.h:31

◆ HTMLDocument_get_onerrorupdate()

static HRESULT WINAPI HTMLDocument_get_onerrorupdate ( IHTMLDocument2 *  iface,
VARIANT p 
)
static

Definition at line 1653 of file htmldoc.c.

1654{
1656 FIXME("(%p)->(%p)\n", This, p);
1657 return E_NOTIMPL;
1658}

◆ HTMLDocument_get_onhelp()

static HRESULT WINAPI HTMLDocument_get_onhelp ( IHTMLDocument2 *  iface,
VARIANT p 
)
static

Definition at line 1278 of file htmldoc.c.

1279{
1281 FIXME("(%p)->(%p)\n", This, p);
1282 return E_NOTIMPL;
1283}

◆ HTMLDocument_get_onkeydown()

static HRESULT WINAPI HTMLDocument_get_onkeydown ( IHTMLDocument2 *  iface,
VARIANT p 
)
static

Definition at line 1348 of file htmldoc.c.

1349{
1351
1352 TRACE("(%p)->(%p)\n", This, p);
1353
1355}
@ EVENTID_KEYDOWN
Definition: htmlevent.h:36

◆ HTMLDocument_get_onkeypress()

static HRESULT WINAPI HTMLDocument_get_onkeypress ( IHTMLDocument2 *  iface,
VARIANT p 
)
static

Definition at line 1366 of file htmldoc.c.

1367{
1369
1370 TRACE("(%p)->(%p)\n", This, p);
1371
1373}
@ EVENTID_KEYPRESS
Definition: htmlevent.h:37

◆ HTMLDocument_get_onkeyup()

static HRESULT WINAPI HTMLDocument_get_onkeyup ( IHTMLDocument2 *  iface,
VARIANT p 
)
static

Definition at line 1330 of file htmldoc.c.

1331{
1333
1334 TRACE("(%p)->(%p)\n", This, p);
1335
1337}
@ EVENTID_KEYUP
Definition: htmlevent.h:38

◆ HTMLDocument_get_onmousedown()

static HRESULT WINAPI HTMLDocument_get_onmousedown ( IHTMLDocument2 *  iface,
VARIANT p 
)
static

Definition at line 1402 of file htmldoc.c.

1403{
1405
1406 TRACE("(%p)->(%p)\n", This, p);
1407
1409}
@ EVENTID_MOUSEDOWN
Definition: htmlevent.h:40

◆ HTMLDocument_get_onmousemove()

static HRESULT WINAPI HTMLDocument_get_onmousemove ( IHTMLDocument2 *  iface,
VARIANT p 
)
static

Definition at line 1420 of file htmldoc.c.

1421{
1423
1424 TRACE("(%p)->(%p)\n", This, p);
1425
1427}
@ EVENTID_MOUSEMOVE
Definition: htmlevent.h:41

◆ HTMLDocument_get_onmouseout()

static HRESULT WINAPI HTMLDocument_get_onmouseout ( IHTMLDocument2 *  iface,
VARIANT p 
)
static

Definition at line 1438 of file htmldoc.c.

1439{
1441
1442 TRACE("(%p)->(%p)\n", This, p);
1443
1445}
@ EVENTID_MOUSEOUT
Definition: htmlevent.h:42

◆ HTMLDocument_get_onmouseover()

static HRESULT WINAPI HTMLDocument_get_onmouseover ( IHTMLDocument2 *  iface,
VARIANT p 
)
static

Definition at line 1456 of file htmldoc.c.

1457{
1459
1460 TRACE("(%p)->(%p)\n", This, p);
1461
1463}
@ EVENTID_MOUSEOVER
Definition: htmlevent.h:43

◆ HTMLDocument_get_onmouseup()

static HRESULT WINAPI HTMLDocument_get_onmouseup ( IHTMLDocument2 *  iface,
VARIANT p 
)
static

Definition at line 1384 of file htmldoc.c.

1385{
1387
1388 TRACE("(%p)->(%p)\n", This, p);
1389
1391}
@ EVENTID_MOUSEUP
Definition: htmlevent.h:44

◆ HTMLDocument_get_onreadystatechange()

static HRESULT WINAPI HTMLDocument_get_onreadystatechange ( IHTMLDocument2 *  iface,
VARIANT p 
)
static

Definition at line 1474 of file htmldoc.c.

1475{
1477
1478 TRACE("(%p)->(%p)\n", This, p);
1479
1481}
@ EVENTID_READYSTATECHANGE
Definition: htmlevent.h:47

◆ HTMLDocument_get_onrowenter()

static HRESULT WINAPI HTMLDocument_get_onrowenter ( IHTMLDocument2 *  iface,
VARIANT p 
)
static

Definition at line 1518 of file htmldoc.c.

1519{
1521 FIXME("(%p)->(%p)\n", This, p);
1522 return E_NOTIMPL;
1523}

◆ HTMLDocument_get_onrowexit()

static HRESULT WINAPI HTMLDocument_get_onrowexit ( IHTMLDocument2 *  iface,
VARIANT p 
)
static

Definition at line 1504 of file htmldoc.c.

1505{
1507 FIXME("(%p)->(%p)\n", This, p);
1508 return E_NOTIMPL;
1509}

◆ HTMLDocument_get_onselectstart()

static HRESULT WINAPI HTMLDocument_get_onselectstart ( IHTMLDocument2 *  iface,
VARIANT p 
)
static

Definition at line 1552 of file htmldoc.c.

1553{
1555
1556 TRACE("(%p)->(%p)\n", This, p);
1557
1559}
@ EVENTID_SELECTSTART
Definition: htmlevent.h:50

◆ HTMLDocument_get_parentWindow()

static HRESULT WINAPI HTMLDocument_get_parentWindow ( IHTMLDocument2 *  iface,
IHTMLWindow2 **  p 
)
static

Definition at line 1593 of file htmldoc.c.

1594{
1596
1597 TRACE("(%p)->(%p)\n", This, p);
1598
1599 *p = &This->window->base.IHTMLWindow2_iface;
1600 IHTMLWindow2_AddRef(*p);
1601 return S_OK;
1602}

◆ HTMLDocument_get_plugins()

static HRESULT WINAPI HTMLDocument_get_plugins ( IHTMLDocument2 *  iface,
IHTMLElementCollection **  p 
)
static

Definition at line 636 of file htmldoc.c.

637{
639 FIXME("(%p)->(%p)\n", This, p);
640 return E_NOTIMPL;
641}

◆ HTMLDocument_get_protocol()

static HRESULT WINAPI HTMLDocument_get_protocol ( IHTMLDocument2 *  iface,
BSTR p 
)
static

Definition at line 950 of file htmldoc.c.

951{
953 FIXME("(%p)->(%p)\n", This, p);
954 return E_NOTIMPL;
955}

◆ HTMLDocument_get_readyState()

static HRESULT WINAPI HTMLDocument_get_readyState ( IHTMLDocument2 *  iface,
BSTR p 
)
static

Definition at line 607 of file htmldoc.c.

608{
610
611
612 TRACE("(%p)->(%p)\n", iface, p);
613
614 if(!p)
615 return E_POINTER;
616
617 return get_readystate_string(This->window->readystate, p);
618}
HRESULT get_readystate_string(READYSTATE readystate, BSTR *p)
Definition: htmlelem.c:205
#define E_POINTER
Definition: winerror.h:2365

◆ HTMLDocument_get_referrer()

static HRESULT WINAPI HTMLDocument_get_referrer ( IHTMLDocument2 *  iface,
BSTR p 
)
static

Definition at line 717 of file htmldoc.c.

718{
720
721 FIXME("(%p)->(%p)\n", This, p);
722
723 *p = NULL;
724 return S_OK;
725 }

◆ HTMLDocument_get_Script()

static HRESULT WINAPI HTMLDocument_get_Script ( IHTMLDocument2 *  iface,
IDispatch **  p 
)
static

Definition at line 189 of file htmldoc.c.

190{
192
193 TRACE("(%p)->(%p)\n", This, p);
194
195 *p = (IDispatch*)&This->window->base.IHTMLWindow2_iface;
196 IDispatch_AddRef(*p);
197 return S_OK;
198}

◆ HTMLDocument_get_scripts()

static HRESULT WINAPI HTMLDocument_get_scripts ( IHTMLDocument2 *  iface,
IHTMLElementCollection **  p 
)
static

Definition at line 522 of file htmldoc.c.

523{
525 nsIDOMHTMLCollection *nscoll = NULL;
526 nsresult nsres;
527
528 TRACE("(%p)->(%p)\n", This, p);
529
530 if(!p)
531 return E_INVALIDARG;
532
533 *p = NULL;
534
535 if(!This->doc_node->nsdoc) {
536 WARN("NULL nsdoc\n");
537 return E_UNEXPECTED;
538 }
539
540 nsres = nsIDOMHTMLDocument_GetScripts(This->doc_node->nsdoc, &nscoll);
541 if(NS_FAILED(nsres)) {
542 ERR("GetImages failed: %08x\n", nsres);
543 return E_FAIL;
544 }
545
546 if(nscoll) {
547 *p = create_collection_from_htmlcol(This->doc_node, nscoll);
548 nsIDOMHTMLCollection_Release(nscoll);
549 }
550
551 return S_OK;
552}

◆ HTMLDocument_get_security()

static HRESULT WINAPI HTMLDocument_get_security ( IHTMLDocument2 *  iface,
BSTR p 
)
static

Definition at line 943 of file htmldoc.c.

944{
946 FIXME("(%p)->(%p)\n", This, p);
947 return E_NOTIMPL;
948}

◆ HTMLDocument_get_selection()

static HRESULT WINAPI HTMLDocument_get_selection ( IHTMLDocument2 *  iface,
IHTMLSelectionObject **  p 
)
static

Definition at line 590 of file htmldoc.c.

591{
593 nsISelection *nsselection;
594 nsresult nsres;
595
596 TRACE("(%p)->(%p)\n", This, p);
597
598 nsres = nsIDOMWindow_GetSelection(This->window->nswindow, &nsselection);
599 if(NS_FAILED(nsres)) {
600 ERR("GetSelection failed: %08x\n", nsres);
601 return E_FAIL;
602 }
603
604 return HTMLSelectionObject_Create(This->doc_node, nsselection, p);
605}
HRESULT HTMLSelectionObject_Create(HTMLDocumentNode *, nsISelection *, IHTMLSelectionObject **) DECLSPEC_HIDDEN
Definition: selection.c:325

◆ HTMLDocument_get_styleSheets()

static HRESULT WINAPI HTMLDocument_get_styleSheets ( IHTMLDocument2 *  iface,
IHTMLStyleSheetsCollection **  p 
)
static

Definition at line 1604 of file htmldoc.c.

1606{
1608 nsIDOMStyleSheetList *nsstylelist;
1609 nsresult nsres;
1610
1611 TRACE("(%p)->(%p)\n", This, p);
1612
1613 *p = NULL;
1614
1615 if(!This->doc_node->nsdoc) {
1616 WARN("NULL nsdoc\n");
1617 return E_UNEXPECTED;
1618 }
1619
1620 nsres = nsIDOMHTMLDocument_GetStyleSheets(This->doc_node->nsdoc, &nsstylelist);
1621 if(NS_FAILED(nsres)) {
1622 ERR("GetStyleSheets failed: %08x\n", nsres);
1623 return E_FAIL;
1624 }
1625
1626 *p = HTMLStyleSheetsCollection_Create(nsstylelist);
1627 nsIDOMStyleSheetList_Release(nsstylelist);
1628
1629 return S_OK;
1630}
IHTMLStyleSheetsCollection * HTMLStyleSheetsCollection_Create(nsIDOMStyleSheetList *nslist)

◆ HTMLDocument_get_title()

static HRESULT WINAPI HTMLDocument_get_title ( IHTMLDocument2 *  iface,
BSTR p 
)
static

Definition at line 491 of file htmldoc.c.

492{
494 const PRUnichar *ret;
495 nsAString nsstr;
496 nsresult nsres;
497
498 TRACE("(%p)->(%p)\n", This, p);
499
500 if(!This->doc_node->nsdoc) {
501 WARN("NULL nsdoc\n");
502 return E_UNEXPECTED;
503 }
504
505
506 nsAString_Init(&nsstr, NULL);
507 nsres = nsIDOMHTMLDocument_GetTitle(This->doc_node->nsdoc, &nsstr);
508 if (NS_SUCCEEDED(nsres)) {
509 nsAString_GetData(&nsstr, &ret);
510 *p = SysAllocString(ret);
511 }
512 nsAString_Finish(&nsstr);
513
514 if(NS_FAILED(nsres)) {
515 ERR("GetTitle failed: %08x\n", nsres);
516 return E_FAIL;
517 }
518
519 return S_OK;
520}

◆ HTMLDocument_get_URL()

static HRESULT WINAPI HTMLDocument_get_URL ( IHTMLDocument2 *  iface,
BSTR p 
)
static

Definition at line 762 of file htmldoc.c.

763{
765
766 static const WCHAR about_blank_url[] =
767 {'a','b','o','u','t',':','b','l','a','n','k',0};
768
769 TRACE("(%p)->(%p)\n", iface, p);
770
771 *p = SysAllocString(This->window->url ? This->window->url : about_blank_url);
772 return *p ? S_OK : E_OUTOFMEMORY;
773}
static const WCHAR about_blank_url[]
Definition: protocol.c:63

◆ HTMLDocument_get_vlinkColor()

static HRESULT WINAPI HTMLDocument_get_vlinkColor ( IHTMLDocument2 *  iface,
VARIANT p 
)
static

Definition at line 710 of file htmldoc.c.

711{
713 FIXME("(%p)->(%p)\n", This, p);
714 return E_NOTIMPL;
715}

◆ HTMLDocument_GetIDsOfNames()

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

Definition at line 169 of file htmldoc.c.

172{
174
175 return IDispatchEx_GetIDsOfNames(&This->IDispatchEx_iface, riid, rgszNames, cNames, lcid,
176 rgDispId);
177}

◆ HTMLDocument_GetTypeInfo()

static HRESULT WINAPI HTMLDocument_GetTypeInfo ( IHTMLDocument2 *  iface,
UINT  iTInfo,
LCID  lcid,
ITypeInfo **  ppTInfo 
)
static

Definition at line 161 of file htmldoc.c.

163{
165
166 return IDispatchEx_GetTypeInfo(&This->IDispatchEx_iface, iTInfo, lcid, ppTInfo);
167}

◆ HTMLDocument_GetTypeInfoCount()

static HRESULT WINAPI HTMLDocument_GetTypeInfoCount ( IHTMLDocument2 *  iface,
UINT pctinfo 
)
static

Definition at line 154 of file htmldoc.c.

155{
157
158 return IDispatchEx_GetTypeInfoCount(&This->IDispatchEx_iface, pctinfo);
159}

◆ HTMLDocument_Invoke()

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

Definition at line 179 of file htmldoc.c.

182{
184
185 return IDispatchEx_Invoke(&This->IDispatchEx_iface, dispIdMember, riid, lcid, wFlags,
186 pDispParams, pVarResult, pExcepInfo, puArgErr);
187}

◆ HTMLDocument_on_advise()

static void HTMLDocument_on_advise ( IUnknown iface,
cp_static_data_t cp 
)
static

Definition at line 3940 of file htmldoc.c.

3941{
3942 HTMLDocument *This = impl_from_IHTMLDocument2((IHTMLDocument2*)iface);
3943
3944 if(This->window)
3945 update_doc_cp_events(This->doc_node, cp);
3946}
void update_doc_cp_events(HTMLDocumentNode *doc, cp_static_data_t *cp)
Definition: htmlevent.c:1549
POINT cp
Definition: magnifier.c:59

◆ HTMLDocument_open()

static HRESULT WINAPI HTMLDocument_open ( IHTMLDocument2 *  iface,
BSTR  url,
VARIANT  name,
VARIANT  features,
VARIANT  replace,
IDispatch **  pomWindowResult 
)
static

Definition at line 1045 of file htmldoc.c.

1047{
1049 nsISupports *tmp;
1050 nsresult nsres;
1051
1052 static const WCHAR text_htmlW[] = {'t','e','x','t','/','h','t','m','l',0};
1053
1054 TRACE("(%p)->(%s %s %s %s %p)\n", This, debugstr_w(url), debugstr_variant(&name),
1055 debugstr_variant(&features), debugstr_variant(&replace), pomWindowResult);
1056
1057 if(!This->doc_node->nsdoc) {
1058 ERR("!nsdoc\n");
1059 return E_NOTIMPL;
1060 }
1061
1062 if(!url || strcmpW(url, text_htmlW) || V_VT(&name) != VT_ERROR
1063 || V_VT(&features) != VT_ERROR || V_VT(&replace) != VT_ERROR)
1064 FIXME("unsupported args\n");
1065
1066 nsres = nsIDOMHTMLDocument_Open(This->doc_node->nsdoc, NULL, NULL, NULL,
1067 get_context_from_document(This->doc_node->nsdoc), 0, &tmp);
1068 if(NS_FAILED(nsres)) {
1069 ERR("Open failed: %08x\n", nsres);
1070 return E_FAIL;
1071 }
1072
1073 if(tmp)
1074 nsISupports_Release(tmp);
1075
1076 *pomWindowResult = (IDispatch*)&This->window->base.IHTMLWindow2_iface;
1077 IHTMLWindow2_AddRef(&This->window->base.IHTMLWindow2_iface);
1078 return S_OK;
1079}
static const WCHAR url[]
Definition: encode.c:1432
static const WCHAR text_htmlW[]
Definition: navigate.c:29
INT replace(TCHAR source[MAX_PATH], TCHAR dest[MAX_PATH], DWORD dwFlags, BOOL *doMore)
Definition: replace.c:38

◆ HTMLDocument_put_alinkColor()

static HRESULT WINAPI HTMLDocument_put_alinkColor ( IHTMLDocument2 *  iface,
VARIANT  v 
)
static

Definition at line 643 of file htmldoc.c.

644{
646 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
647 return E_NOTIMPL;
648}

◆ HTMLDocument_put_bgColor()

static HRESULT WINAPI HTMLDocument_put_bgColor ( IHTMLDocument2 *  iface,
VARIANT  v 
)
static

Definition at line 657 of file htmldoc.c.

658{
660 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
661#ifdef __REACTOS__
662 return S_OK;
663#else
664 return E_NOTIMPL;
665#endif
666}

◆ HTMLDocument_put_charset()

static HRESULT WINAPI HTMLDocument_put_charset ( IHTMLDocument2 *  iface,
BSTR  v 
)
static

Definition at line 869 of file htmldoc.c.

870{
872 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
873 return E_NOTIMPL;
874}

◆ HTMLDocument_put_cookie()

static HRESULT WINAPI HTMLDocument_put_cookie ( IHTMLDocument2 *  iface,
BSTR  v 
)
static

Definition at line 798 of file htmldoc.c.

799{
801 BOOL bret;
802
803 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
804
805 bret = InternetSetCookieExW(This->window->url, NULL, v, 0, 0);
806 if(!bret) {
807 FIXME("InternetSetCookieExW failed: %u\n", GetLastError());
809 }
810
811 return S_OK;
812}
DWORD WINAPI InternetSetCookieExW(LPCWSTR lpszUrl, LPCWSTR lpszCookieName, LPCWSTR lpCookieData, DWORD flags, DWORD_PTR reserved)
Definition: cookie.c:1077

◆ HTMLDocument_put_defaultCharset()

static HRESULT WINAPI HTMLDocument_put_defaultCharset ( IHTMLDocument2 *  iface,
BSTR  v 
)
static

Definition at line 894 of file htmldoc.c.

895{
897 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
898 return E_NOTIMPL;
899}

◆ HTMLDocument_put_designMode()

static HRESULT WINAPI HTMLDocument_put_designMode ( IHTMLDocument2 *  iface,
BSTR  v 
)
static

Definition at line 554 of file htmldoc.c.

555{
558
559 static const WCHAR onW[] = {'o','n',0};
560
561 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
562
563 if(strcmpiW(v, onW)) {
564 FIXME("Unsupported arg %s\n", debugstr_w(v));
565 return E_NOTIMPL;
566 }
567
568 hres = setup_edit_mode(This->doc_obj);
569 if(FAILED(hres))
570 return hres;
571
573 return S_OK;
574}
void call_property_onchanged(ConnectionPointContainer *container, DISPID dispid)
Definition: conpoint.c:342
HRESULT setup_edit_mode(HTMLDocumentObj *doc)
Definition: editor.c:1221
#define DISPID_IHTMLDOCUMENT2_DESIGNMODE
Definition: mshtmdid.h:952
static const WCHAR onW[]
Definition: lex.c:72

◆ HTMLDocument_put_domain()

static HRESULT WINAPI HTMLDocument_put_domain ( IHTMLDocument2 *  iface,
BSTR  v 
)
static

Definition at line 775 of file htmldoc.c.

776{
778 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
779 return E_NOTIMPL;
780}

◆ HTMLDocument_put_expando()

static HRESULT WINAPI HTMLDocument_put_expando ( IHTMLDocument2 *  iface,
VARIANT_BOOL  v 
)
static

Definition at line 855 of file htmldoc.c.

856{
858 FIXME("(%p)->(%x)\n", This, v);
859 return E_NOTIMPL;
860}

◆ HTMLDocument_put_fgColor()

static HRESULT WINAPI HTMLDocument_put_fgColor ( IHTMLDocument2 *  iface,
VARIANT  v 
)
static

Definition at line 675 of file htmldoc.c.

676{
678 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
679 return E_NOTIMPL;
680}

◆ HTMLDocument_put_linkColor()

static HRESULT WINAPI HTMLDocument_put_linkColor ( IHTMLDocument2 *  iface,
VARIANT  v 
)
static

Definition at line 689 of file htmldoc.c.

690{
692 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
693 return E_NOTIMPL;
694}

◆ HTMLDocument_put_onafterupdate()

static HRESULT WINAPI HTMLDocument_put_onafterupdate ( IHTMLDocument2 *  iface,
VARIANT  v 
)
static

Definition at line 1483 of file htmldoc.c.

1484{
1486 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
1487 return E_NOTIMPL;
1488}

◆ HTMLDocument_put_onbeforeupdate()

static HRESULT WINAPI HTMLDocument_put_onbeforeupdate ( IHTMLDocument2 *  iface,
VARIANT  v 
)
static

Definition at line 1632 of file htmldoc.c.

1633{
1635 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
1636 return E_NOTIMPL;
1637}

◆ HTMLDocument_put_onclick()

static HRESULT WINAPI HTMLDocument_put_onclick ( IHTMLDocument2 *  iface,
VARIANT  v 
)
static

Definition at line 1285 of file htmldoc.c.

1286{
1288
1289 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
1290
1291 return set_doc_event(This, EVENTID_CLICK, &v);
1292}

◆ HTMLDocument_put_ondblclick()

static HRESULT WINAPI HTMLDocument_put_ondblclick ( IHTMLDocument2 *  iface,
VARIANT  v 
)
static

Definition at line 1303 of file htmldoc.c.

1304{
1306
1307 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
1308
1310}

◆ HTMLDocument_put_ondragstart()

static HRESULT WINAPI HTMLDocument_put_ondragstart ( IHTMLDocument2 *  iface,
VARIANT  v 
)
static

Definition at line 1525 of file htmldoc.c.

1526{
1528
1529 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
1530
1532}

◆ HTMLDocument_put_onerrorupdate()

static HRESULT WINAPI HTMLDocument_put_onerrorupdate ( IHTMLDocument2 *  iface,
VARIANT  v 
)
static

Definition at line 1646 of file htmldoc.c.

1647{
1649 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
1650 return E_NOTIMPL;
1651}

◆ HTMLDocument_put_onhelp()

static HRESULT WINAPI HTMLDocument_put_onhelp ( IHTMLDocument2 *  iface,
VARIANT  v 
)
static

Definition at line 1271 of file htmldoc.c.

1272{
1274 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
1275 return E_NOTIMPL;
1276}

◆ HTMLDocument_put_onkeydown()

static HRESULT WINAPI HTMLDocument_put_onkeydown ( IHTMLDocument2 *  iface,
VARIANT  v 
)
static

Definition at line 1339 of file htmldoc.c.

1340{
1342
1343 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
1344
1346}

◆ HTMLDocument_put_onkeypress()

static HRESULT WINAPI HTMLDocument_put_onkeypress ( IHTMLDocument2 *  iface,
VARIANT  v 
)
static

Definition at line 1357 of file htmldoc.c.

1358{
1360
1361 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
1362
1364}

◆ HTMLDocument_put_onkeyup()

static HRESULT WINAPI HTMLDocument_put_onkeyup ( IHTMLDocument2 *  iface,
VARIANT  v 
)
static

Definition at line 1321 of file htmldoc.c.

1322{
1324
1325 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
1326
1327 return set_doc_event(This, EVENTID_KEYUP, &v);
1328}

◆ HTMLDocument_put_onmousedown()

static HRESULT WINAPI HTMLDocument_put_onmousedown ( IHTMLDocument2 *  iface,
VARIANT  v 
)
static

Definition at line 1393 of file htmldoc.c.

1394{
1396
1397 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
1398
1400}

◆ HTMLDocument_put_onmousemove()

static HRESULT WINAPI HTMLDocument_put_onmousemove ( IHTMLDocument2 *  iface,
VARIANT  v 
)
static

Definition at line 1411 of file htmldoc.c.

1412{
1414
1415 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
1416
1418}

◆ HTMLDocument_put_onmouseout()

static HRESULT WINAPI HTMLDocument_put_onmouseout ( IHTMLDocument2 *  iface,
VARIANT  v 
)
static

Definition at line 1429 of file htmldoc.c.

1430{
1432
1433 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
1434
1436}

◆ HTMLDocument_put_onmouseover()

static HRESULT WINAPI HTMLDocument_put_onmouseover ( IHTMLDocument2 *  iface,
VARIANT  v 
)
static

Definition at line 1447 of file htmldoc.c.

1448{
1450
1451 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
1452
1454}

◆ HTMLDocument_put_onmouseup()

static HRESULT WINAPI HTMLDocument_put_onmouseup ( IHTMLDocument2 *  iface,
VARIANT  v 
)
static

Definition at line 1375 of file htmldoc.c.

1376{
1378
1379 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
1380
1382}

◆ HTMLDocument_put_onreadystatechange()

static HRESULT WINAPI HTMLDocument_put_onreadystatechange ( IHTMLDocument2 *  iface,
VARIANT  v 
)
static

Definition at line 1465 of file htmldoc.c.

1466{
1468
1469 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
1470
1472}

◆ HTMLDocument_put_onrowenter()

static HRESULT WINAPI HTMLDocument_put_onrowenter ( IHTMLDocument2 *  iface,
VARIANT  v 
)
static

Definition at line 1511 of file htmldoc.c.

1512{
1514 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
1515 return E_NOTIMPL;
1516}

◆ HTMLDocument_put_onrowexit()

static HRESULT WINAPI HTMLDocument_put_onrowexit ( IHTMLDocument2 *  iface,
VARIANT  v 
)
static

Definition at line 1497 of file htmldoc.c.

1498{
1500 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
1501 return E_NOTIMPL;
1502}

◆ HTMLDocument_put_onselectstart()

static HRESULT WINAPI HTMLDocument_put_onselectstart ( IHTMLDocument2 *  iface,
VARIANT  v 
)
static

Definition at line 1543 of file htmldoc.c.

1544{
1546
1547 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
1548
1550}

◆ HTMLDocument_put_title()

static HRESULT WINAPI HTMLDocument_put_title ( IHTMLDocument2 *  iface,
BSTR  v 
)
static

Definition at line 469 of file htmldoc.c.

470{
472 nsAString nsstr;
473 nsresult nsres;
474
475 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
476
477 if(!This->doc_node->nsdoc) {
478 WARN("NULL nsdoc\n");
479 return E_UNEXPECTED;
480 }
481
482 nsAString_InitDepend(&nsstr, v);
483 nsres = nsIDOMHTMLDocument_SetTitle(This->doc_node->nsdoc, &nsstr);
484 nsAString_Finish(&nsstr);
485 if(NS_FAILED(nsres))
486 ERR("SetTitle failed: %08x\n", nsres);
487
488 return S_OK;
489}

◆ HTMLDocument_put_URL()

static HRESULT WINAPI HTMLDocument_put_URL ( IHTMLDocument2 *  iface,
BSTR  v 
)
static

Definition at line 748 of file htmldoc.c.

749{
751
752 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
753
754 if(!This->window) {
755 FIXME("No window available\n");
756 return E_FAIL;
757 }
758
759 return navigate_url(This->window, v, This->window->uri, BINDING_NAVIGATED);
760}
#define BINDING_NAVIGATED
Definition: binding.h:127
static HRESULT navigate_url(HHInfo *info, LPCWSTR surl)
Definition: help.c:193

◆ HTMLDocument_put_vlinkColor()

static HRESULT WINAPI HTMLDocument_put_vlinkColor ( IHTMLDocument2 *  iface,
VARIANT  v 
)
static

Definition at line 703 of file htmldoc.c.

704{
706 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
707 return E_NOTIMPL;
708}

◆ HTMLDocument_queryCommandEnabled()

static HRESULT WINAPI HTMLDocument_queryCommandEnabled ( IHTMLDocument2 *  iface,
BSTR  cmdID,
VARIANT_BOOL pfRet 
)
static

Definition at line 1178 of file htmldoc.c.

1180{
1182 FIXME("(%p)->(%s %p)\n", This, debugstr_w(cmdID), pfRet);
1183 return E_NOTIMPL;
1184}

◆ HTMLDocument_queryCommandIndeterm()

static HRESULT WINAPI HTMLDocument_queryCommandIndeterm ( IHTMLDocument2 *  iface,
BSTR  cmdID,
VARIANT_BOOL pfRet 
)
static

Definition at line 1194 of file htmldoc.c.

1196{
1198 FIXME("(%p)->(%s %p)\n", This, debugstr_w(cmdID), pfRet);
1199 return E_NOTIMPL;
1200}

◆ HTMLDocument_queryCommandState()

static HRESULT WINAPI HTMLDocument_queryCommandState ( IHTMLDocument2 *  iface,
BSTR  cmdID,
VARIANT_BOOL pfRet 
)
static

Definition at line 1186 of file htmldoc.c.

1188{
1190 FIXME("(%p)->(%s %p)\n", This, debugstr_w(cmdID), pfRet);
1191 return E_NOTIMPL;
1192}

◆ HTMLDocument_queryCommandSupported()

static HRESULT WINAPI HTMLDocument_queryCommandSupported ( IHTMLDocument2 *  iface,
BSTR  cmdID,
VARIANT_BOOL pfRet 
)
static

Definition at line 1170 of file htmldoc.c.

1172{
1174 FIXME("(%p)->(%s %p)\n", This, debugstr_w(cmdID), pfRet);
1175 return E_NOTIMPL;
1176}

◆ HTMLDocument_queryCommandText()

static HRESULT WINAPI HTMLDocument_queryCommandText ( IHTMLDocument2 *  iface,
BSTR  cmdID,
BSTR pfRet 
)
static

Definition at line 1202 of file htmldoc.c.

1204{
1206 FIXME("(%p)->(%s %p)\n", This, debugstr_w(cmdID), pfRet);
1207 return E_NOTIMPL;
1208}

◆ HTMLDocument_queryCommandValue()

static HRESULT WINAPI HTMLDocument_queryCommandValue ( IHTMLDocument2 *  iface,
BSTR  cmdID,
VARIANT pfRet 
)
static

Definition at line 1210 of file htmldoc.c.

1212{
1214 FIXME("(%p)->(%s %p)\n", This, debugstr_w(cmdID), pfRet);
1215 return E_NOTIMPL;
1216}

◆ HTMLDocument_QueryInterface()

static HRESULT WINAPI HTMLDocument_QueryInterface ( IHTMLDocument2 *  iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 133 of file htmldoc.c.

134{
136
138}

◆ HTMLDocument_Release()

static ULONG WINAPI HTMLDocument_Release ( IHTMLDocument2 *  iface)
static

Definition at line 147 of file htmldoc.c.

148{
150
151 return htmldoc_release(This);
152}

◆ HTMLDocument_toString()

static HRESULT WINAPI HTMLDocument_toString ( IHTMLDocument2 *  iface,
BSTR String 
)
static

Definition at line 1660 of file htmldoc.c.

1661{
1663
1664 static const WCHAR objectW[] = {'[','o','b','j','e','c','t',']',0};
1665
1666 TRACE("(%p)->(%p)\n", This, String);
1667
1668 if(!String)
1669 return E_INVALIDARG;
1670
1672 return *String ? S_OK : E_OUTOFMEMORY;
1673
1674}
static const WCHAR objectW[]
Definition: engine.c:37
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
Definition: wdfdevice.h:2433

◆ HTMLDocument_write()

static HRESULT WINAPI HTMLDocument_write ( IHTMLDocument2 *  iface,
SAFEARRAY psarray 
)
static

Definition at line 1027 of file htmldoc.c.

1028{
1030
1031 TRACE("(%p)->(%p)\n", iface, psarray);
1032
1033 return document_write(This, psarray, FALSE);
1034}
static HRESULT document_write(HTMLDocument *This, SAFEARRAY *psarray, BOOL ln)
Definition: htmldoc.c:964

◆ HTMLDocument_writeln()

static HRESULT WINAPI HTMLDocument_writeln ( IHTMLDocument2 *  iface,
SAFEARRAY psarray 
)
static

Definition at line 1036 of file htmldoc.c.

1037{
1039
1040 TRACE("(%p)->(%p)\n", This, psarray);
1041
1042 return document_write(This, psarray, TRUE);
1043}

◆ HTMLDocumentFragment_clone()

static HRESULT HTMLDocumentFragment_clone ( HTMLDOMNode iface,
nsIDOMNode nsnode,
HTMLDOMNode **  ret 
)
static

Definition at line 4493 of file htmldoc.c.

4494{
4496 HTMLDocumentNode *new_node;
4497 HRESULT hres;
4498
4499 hres = create_document_fragment(nsnode, This->node.doc, &new_node);
4500 if(FAILED(hres))
4501 return hres;
4502
4503 *ret = &new_node->node;
4504 return S_OK;
4505}
static HTMLDocumentNode * impl_from_HTMLDOMNode(HTMLDOMNode *iface)
Definition: htmldoc.c:4390

◆ HTMLDocumentNode_bind_event()

static void HTMLDocumentNode_bind_event ( DispatchEx dispex,
int  eid 
)
static

Definition at line 4554 of file htmldoc.c.

4555{
4558}
static HTMLDocumentNode * impl_from_DispatchEx(DispatchEx *iface)
Definition: htmldoc.c:4507
HRESULT ensure_doc_nsevent_handler(HTMLDocumentNode *doc, eventid_t eid)
Definition: htmlevent.c:1319

◆ HTMLDocumentNode_clone()

static HRESULT HTMLDocumentNode_clone ( HTMLDOMNode iface,
nsIDOMNode nsnode,
HTMLDOMNode **  ret 
)
static

Definition at line 4444 of file htmldoc.c.

4445{
4447 FIXME("%p\n", This);
4448 return E_NOTIMPL;
4449}

◆ HTMLDocumentNode_destructor()

static void HTMLDocumentNode_destructor ( HTMLDOMNode iface)
static

Definition at line 4413 of file htmldoc.c.

4414{
4416 unsigned i;
4417
4418 for(i=0; i < This->elem_vars_cnt; i++)
4419 heap_free(This->elem_vars[i]);
4420 heap_free(This->elem_vars);
4421
4423 if(This->body_event_target)
4424 release_event_target(This->body_event_target);
4425 if(This->catmgr)
4426 ICatInformation_Release(This->catmgr);
4427
4430
4431 while(!list_empty(&This->plugin_hosts))
4433
4434 if(!This->nsdoc && This->window) {
4435 /* document fragments own reference to inner window */
4436 IHTMLWindow2_Release(&This->window->base.IHTMLWindow2_iface);
4437 This->window = NULL;
4438 }
4439
4440 heap_free(This->event_vector);
4441 destroy_htmldoc(&This->basedoc);
4442}
static int list_empty(struct list_entry *head)
Definition: list.h:58
void release_event_target(event_target_t *event_target)
Definition: htmlevent.c:1613
void detach_events(HTMLDocumentNode *doc)
Definition: htmlevent.c:1341
uint32_t entry
Definition: isohybrid.c:63
void detach_selection(HTMLDocumentNode *) DECLSPEC_HIDDEN
Definition: selection.c:347
void detach_ranges(HTMLDocumentNode *) DECLSPEC_HIDDEN
Definition: txtrange.c:1747
void detach_plugin_host(PluginHost *host)
Definition: pluginhost.c:1988
Definition: list.h:15
#define LIST_ENTRY(type)
Definition: queue.h:175

◆ HTMLDocumentNode_invoke()

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

Definition at line 4512 of file htmldoc.c.

4514{
4516 nsIDOMNodeList *node_list;
4517 nsAString name_str;
4518 nsIDOMNode *nsnode;
4520 unsigned i;
4521 nsresult nsres;
4522 HRESULT hres;
4523
4525 FIXME("unsupported flags %x\n", flags);
4526 return E_NOTIMPL;
4527 }
4528
4530
4531 if(!This->nsdoc || i >= This->elem_vars_cnt)
4532 return DISP_E_UNKNOWNNAME;
4533
4534 nsAString_InitDepend(&name_str, This->elem_vars[i]);
4535 nsres = nsIDOMHTMLDocument_GetElementsByName(This->nsdoc, &name_str, &node_list);
4536 nsAString_Finish(&name_str);
4537 if(NS_FAILED(nsres))
4538 return E_FAIL;
4539
4540 nsres = nsIDOMNodeList_Item(node_list, 0, &nsnode);
4541 nsIDOMNodeList_Release(node_list);
4542 if(NS_FAILED(nsres) || !nsnode)
4543 return DISP_E_UNKNOWNNAME;
4544
4545 hres = get_node(This, nsnode, TRUE, &node);
4546 if(FAILED(hres))
4547 return hres;
4548
4549 V_VT(res) = VT_DISPATCH;
4550 V_DISPATCH(res) = (IDispatch*)&node->IHTMLDOMNode_iface;
4551 return S_OK;
4552}
@ VT_DISPATCH
Definition: compat.h:2304
GLuint res
Definition: glext.h:9613
GLbitfield flags
Definition: glext.h:7161
#define DISPATCH_METHOD
Definition: oleauto.h:1006
#define V_DISPATCH(A)
Definition: oleauto.h:239

◆ HTMLDocumentNode_QI()

static HRESULT HTMLDocumentNode_QI ( HTMLDOMNode iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 4395 of file htmldoc.c.

4396{
4398
4399 TRACE("(%p)->(%s %p)\n", This, debugstr_mshtml_guid(riid), ppv);
4400
4401 if(htmldoc_qi(&This->basedoc, riid, ppv))
4402 return *ppv ? S_OK : E_NOINTERFACE;
4403
4404 if(IsEqualGUID(&IID_IInternetHostSecurityManager, riid))
4405 *ppv = &This->IInternetHostSecurityManager_iface;
4406 else
4407 return HTMLDOMNode_QI(&This->node, riid, ppv);
4408
4409 IUnknown_AddRef((IUnknown*)*ppv);
4410 return S_OK;
4411}
HRESULT HTMLDOMNode_QI(HTMLDOMNode *This, REFIID riid, void **ppv)
Definition: htmlnode.c:1142

◆ HTMLDocumentNode_traverse()

static void HTMLDocumentNode_traverse ( HTMLDOMNode iface,
nsCycleCollectionTraversalCallback cb 
)
static

Definition at line 4451 of file htmldoc.c.

4452{
4454
4455 if(This->nsdoc)
4456 note_cc_edge((nsISupports*)This->nsdoc, "This->nsdoc", cb);
4457}
static HMODULE MODULEINFO DWORD cb
Definition: module.c:33

◆ HTMLDocumentNode_unlink()

static void HTMLDocumentNode_unlink ( HTMLDOMNode iface)
static

Definition at line 4459 of file htmldoc.c.

4460{
4462
4463 if(This->nsdoc) {
4464 nsIDOMHTMLDocument *nsdoc = This->nsdoc;
4465
4467 This->nsdoc = NULL;
4468 nsIDOMHTMLDocument_Release(nsdoc);
4469 This->window = NULL;
4470 }
4471}
void release_document_mutation(HTMLDocumentNode *) DECLSPEC_HIDDEN
Definition: mutation.c:743

◆ impl_from_DispatchEx()

static HTMLDocumentNode * impl_from_DispatchEx ( DispatchEx iface)
inlinestatic

Definition at line 4507 of file htmldoc.c.

4508{
4509 return CONTAINING_RECORD(iface, HTMLDocumentNode, node.event_target.dispex);
4510}
#define CONTAINING_RECORD(address, type, field)
Definition: typedefs.h:260

Referenced by HTMLDocumentNode_bind_event(), and HTMLDocumentNode_invoke().

◆ impl_from_HTMLDOMNode()

static HTMLDocumentNode * impl_from_HTMLDOMNode ( HTMLDOMNode iface)
inlinestatic

◆ impl_from_ICustomDoc()

static HTMLDocumentObj * impl_from_ICustomDoc ( ICustomDoc iface)
inlinestatic

Definition at line 4668 of file htmldoc.c.

4669{
4670 return CONTAINING_RECORD(iface, HTMLDocumentObj, ICustomDoc_iface);
4671}

Referenced by CustomDoc_AddRef(), CustomDoc_QueryInterface(), CustomDoc_Release(), and CustomDoc_SetUIHandler().

◆ impl_from_IDispatchEx()

◆ impl_from_IHTMLDocument2()

static HTMLDocument * impl_from_IHTMLDocument2 ( IHTMLDocument2 *  iface)
inlinestatic

Definition at line 128 of file htmldoc.c.

129{
130 return CONTAINING_RECORD(iface, HTMLDocument, IHTMLDocument2_iface);
131}

Referenced by HTMLDocument_AddRef(), HTMLDocument_clear(), HTMLDocument_close(), HTMLDocument_createElement(), HTMLDocument_createStyleSheet(), HTMLDocument_elementFromPoint(), HTMLDocument_execCommand(), HTMLDocument_execCommandShowHelp(), HTMLDocument_get_activeElement(), HTMLDocument_get_alinkColor(), HTMLDocument_get_all(), HTMLDocument_get_anchors(), HTMLDocument_get_applets(), HTMLDocument_get_bgColor(), HTMLDocument_get_body(), HTMLDocument_get_charset(), HTMLDocument_get_cookie(), HTMLDocument_get_defaultCharset(), HTMLDocument_get_designMode(), HTMLDocument_get_domain(), HTMLDocument_get_embeds(), HTMLDocument_get_expando(), HTMLDocument_get_fgColor(), HTMLDocument_get_fileCreatedDate(), HTMLDocument_get_fileModifiedDate(), HTMLDocument_get_fileSize(), HTMLDocument_get_fileUpdatedDate(), HTMLDocument_get_forms(), HTMLDocument_get_frames(), HTMLDocument_get_images(), HTMLDocument_get_lastModified(), HTMLDocument_get_linkColor(), HTMLDocument_get_links(), HTMLDocument_get_location(), HTMLDocument_get_mimeType(), HTMLDocument_get_nameProp(), HTMLDocument_get_onafterupdate(), HTMLDocument_get_onbeforeupdate(), HTMLDocument_get_onclick(), HTMLDocument_get_ondblclick(), HTMLDocument_get_ondragstart(), HTMLDocument_get_onerrorupdate(), HTMLDocument_get_onhelp(), HTMLDocument_get_onkeydown(), HTMLDocument_get_onkeypress(), HTMLDocument_get_onkeyup(), HTMLDocument_get_onmousedown(), HTMLDocument_get_onmousemove(), HTMLDocument_get_onmouseout(), HTMLDocument_get_onmouseover(), HTMLDocument_get_onmouseup(), HTMLDocument_get_onreadystatechange(), HTMLDocument_get_onrowenter(), HTMLDocument_get_onrowexit(), HTMLDocument_get_onselectstart(), HTMLDocument_get_parentWindow(), HTMLDocument_get_plugins(), HTMLDocument_get_protocol(), HTMLDocument_get_readyState(), HTMLDocument_get_referrer(), HTMLDocument_get_Script(), HTMLDocument_get_scripts(), HTMLDocument_get_security(), HTMLDocument_get_selection(), HTMLDocument_get_styleSheets(), HTMLDocument_get_title(), HTMLDocument_get_URL(), HTMLDocument_get_vlinkColor(), HTMLDocument_GetIDsOfNames(), HTMLDocument_GetTypeInfo(), HTMLDocument_GetTypeInfoCount(), HTMLDocument_Invoke(), HTMLDocument_on_advise(), HTMLDocument_open(), HTMLDocument_put_alinkColor(), HTMLDocument_put_bgColor(), HTMLDocument_put_charset(), HTMLDocument_put_cookie(), HTMLDocument_put_defaultCharset(), HTMLDocument_put_designMode(), HTMLDocument_put_domain(), HTMLDocument_put_expando(), HTMLDocument_put_fgColor(), HTMLDocument_put_linkColor(), HTMLDocument_put_onafterupdate(), HTMLDocument_put_onbeforeupdate(), HTMLDocument_put_onclick(), HTMLDocument_put_ondblclick(), HTMLDocument_put_ondragstart(), HTMLDocument_put_onerrorupdate(), HTMLDocument_put_onhelp(), HTMLDocument_put_onkeydown(), HTMLDocument_put_onkeypress(), HTMLDocument_put_onkeyup(), HTMLDocument_put_onmousedown(), HTMLDocument_put_onmousemove(), HTMLDocument_put_onmouseout(), HTMLDocument_put_onmouseover(), HTMLDocument_put_onmouseup(), HTMLDocument_put_onreadystatechange(), HTMLDocument_put_onrowenter(), HTMLDocument_put_onrowexit(), HTMLDocument_put_onselectstart(), HTMLDocument_put_title(), HTMLDocument_put_URL(), HTMLDocument_put_vlinkColor(), HTMLDocument_queryCommandEnabled(), HTMLDocument_queryCommandIndeterm(), HTMLDocument_queryCommandState(), HTMLDocument_queryCommandSupported(), HTMLDocument_queryCommandText(), HTMLDocument_queryCommandValue(), HTMLDocument_QueryInterface(), HTMLDocument_Release(), HTMLDocument_toString(), HTMLDocument_write(), and HTMLDocument_writeln().

◆ impl_from_IHTMLDocument3()

static HTMLDocument * impl_from_IHTMLDocument3 ( IHTMLDocument3 *  iface)
inlinestatic

Definition at line 1854 of file htmldoc.c.

1855{
1856 return CONTAINING_RECORD(iface, HTMLDocument, IHTMLDocument3_iface);
1857}

Referenced by HTMLDocument3_AddRef(), HTMLDocument3_attachEvent(), HTMLDocument3_createDocumentFragment(), HTMLDocument3_createTextNode(), HTMLDocument3_detachEvent(), HTMLDocument3_get_baseUrl(), HTMLDocument3_get_childNodes(), HTMLDocument3_get_dir(), HTMLDocument3_get_documentElement(), HTMLDocument3_get_enableDownload(), HTMLDocument3_get_inheritStyleSheets(), HTMLDocument3_get_onbeforeeditfocus(), HTMLDocument3_get_oncellchange(), HTMLDocument3_get_oncontextmenu(), HTMLDocument3_get_ondataavailable(), HTMLDocument3_get_ondatasetchanged(), HTMLDocument3_get_ondatasetcomplete(), HTMLDocument3_get_onpropertychange(), HTMLDocument3_get_onrowsdelete(), HTMLDocument3_get_onrowsinserted(), HTMLDocument3_get_onstop(), HTMLDocument3_get_parentDocument(), HTMLDocument3_getElementById(), HTMLDocument3_getElementsByName(), HTMLDocument3_getElementsByTagName(), HTMLDocument3_GetIDsOfNames(), HTMLDocument3_GetTypeInfo(), HTMLDocument3_GetTypeInfoCount(), HTMLDocument3_Invoke(), HTMLDocument3_put_baseUrl(), HTMLDocument3_put_dir(), HTMLDocument3_put_enableDownload(), HTMLDocument3_put_inheritStyleSheets(), HTMLDocument3_put_onbeforeeditfocus(), HTMLDocument3_put_oncellchange(), HTMLDocument3_put_oncontextmenu(), HTMLDocument3_put_ondataavailable(), HTMLDocument3_put_ondatasetchanged(), HTMLDocument3_put_ondatasetcomplete(), HTMLDocument3_put_onpropertychange(), HTMLDocument3_put_onrowsdelete(), HTMLDocument3_put_onrowsinserted(), HTMLDocument3_put_onstop(), HTMLDocument3_QueryInterface(), HTMLDocument3_recalc(), HTMLDocument3_Release(), HTMLDocument3_releaseCapture(), and HTMLDocument3_uniqueID().

◆ impl_from_IHTMLDocument4()

◆ impl_from_IHTMLDocument5()

◆ impl_from_IHTMLDocument6()

◆ impl_from_IHTMLDocument7()

static HTMLDocument * impl_from_IHTMLDocument7 ( IHTMLDocument7 *  iface)
inlinestatic

Definition at line 3041 of file htmldoc.c.

3042{
3043 return CONTAINING_RECORD(iface, HTMLDocument, IHTMLDocument7_iface);
3044}

Referenced by HTMLDocument7_AddRef(), HTMLDocument7_adoptNode(), HTMLDocument7_createAttribute(), HTMLDocument7_createAttributeNS(), HTMLDocument7_createCDATASection(), HTMLDocument7_createElement(), HTMLDocument7_createElementNS(), HTMLDocument7_createProcessingInstruction(), HTMLDocument7_get_all(), HTMLDocument7_get_body(), HTMLDocument7_get_characterSet(), HTMLDocument7_get_defaultView(), HTMLDocument7_get_head(), HTMLDocument7_get_inputEncoding(), HTMLDocument7_get_onabort(), HTMLDocument7_get_onblur(), HTMLDocument7_get_oncanplay(), HTMLDocument7_get_oncanplaythrough(), HTMLDocument7_get_onchange(), HTMLDocument7_get_ondrag(), HTMLDocument7_get_ondragend(), HTMLDocument7_get_ondragenter(), HTMLDocument7_get_ondragleave(), HTMLDocument7_get_ondragover(), HTMLDocument7_get_ondrop(), HTMLDocument7_get_ondurationchange(), HTMLDocument7_get_onemptied(), HTMLDocument7_get_onended(), HTMLDocument7_get_onerror(), HTMLDocument7_get_onfocus(), HTMLDocument7_get_oninput(), HTMLDocument7_get_onload(), HTMLDocument7_get_onloadeddata(), HTMLDocument7_get_onloadedmetadata(), HTMLDocument7_get_onloadstart(), HTMLDocument7_get_onmssitemodejumplistitemremoved(), HTMLDocument7_get_onmsthumbnailclick(), HTMLDocument7_get_onpause(), HTMLDocument7_get_onplay(), HTMLDocument7_get_onplaying(), HTMLDocument7_get_onprogress(), HTMLDocument7_get_onratechange(), HTMLDocument7_get_onreset(), HTMLDocument7_get_onscroll(), HTMLDocument7_get_onseekend(), HTMLDocument7_get_onseeking(), HTMLDocument7_get_onselect(), HTMLDocument7_get_onstalled(), HTMLDocument7_get_onsubmit(), HTMLDocument7_get_onsuspend(), HTMLDocument7_get_ontimeupdate(), HTMLDocument7_get_onvolumechange(), HTMLDocument7_get_onwaiting(), HTMLDocument7_get_parentWindow(), HTMLDocument7_get_xmlEncoding(), HTMLDocument7_get_xmlStandalone(), HTMLDocument7_get_xmlVersion(), HTMLDocument7_getElementByClassName(), HTMLDocument7_getElementsByTagNameNS(), HTMLDocument7_GetIDsOfNames(), HTMLDocument7_getSelection(), HTMLDocument7_GetTypeInfo(), HTMLDocument7_GetTypeInfoCount(), HTMLDocument7_hasAttributes(), HTMLDocument7_importNode(), HTMLDocument7_Invoke(), HTMLDocument7_normalize(), HTMLDocument7_put_body(), HTMLDocument7_put_onabort(), HTMLDocument7_put_onblur(), HTMLDocument7_put_oncanplay(), HTMLDocument7_put_oncanplaythrough(), HTMLDocument7_put_onchange(), HTMLDocument7_put_ondrag(), HTMLDocument7_put_ondragend(), HTMLDocument7_put_ondragenter(), HTMLDocument7_put_ondragleave(), HTMLDocument7_put_ondragover(), HTMLDocument7_put_ondrop(), HTMLDocument7_put_ondurationchange(), HTMLDocument7_put_onemptied(), HTMLDocument7_put_onended(), HTMLDocument7_put_onerror(), HTMLDocument7_put_onfocus(), HTMLDocument7_put_oninput(), HTMLDocument7_put_onload(), HTMLDocument7_put_onloadeddata(), HTMLDocument7_put_onloadedmetadata(), HTMLDocument7_put_onloadstart(), HTMLDocument7_put_onmssitemodejumplistitemremoved(), HTMLDocument7_put_onmsthumbnailclick(), HTMLDocument7_put_onpause(), HTMLDocument7_put_onplay(), HTMLDocument7_put_onplaying(), HTMLDocument7_put_onprogress(), HTMLDocument7_put_onratechange(), HTMLDocument7_put_onreset(), HTMLDocument7_put_onscroll(), HTMLDocument7_put_onseekend(), HTMLDocument7_put_onseeking(), HTMLDocument7_put_onselect(), HTMLDocument7_put_onstalled(), HTMLDocument7_put_onsubmit(), HTMLDocument7_put_onsuspend(), HTMLDocument7_put_ontimeupdate(), HTMLDocument7_put_onvolumechange(), HTMLDocument7_put_onwaiting(), HTMLDocument7_put_xmlStandalone(), HTMLDocument7_put_xmlVersion(), HTMLDocument7_QueryInterface(), and HTMLDocument7_Release().

◆ impl_from_IProvideClassInfo()

static HTMLDocument * impl_from_IProvideClassInfo ( IProvideClassInfo iface)
inlinestatic

Definition at line 4202 of file htmldoc.c.

4203{
4204 return CONTAINING_RECORD(iface, HTMLDocument, IProvideClassInfo_iface);
4205}

Referenced by ProvideClassInfo_AddRef(), ProvideClassInfo_GetClassInfo(), ProvideClassInfo_QueryInterface(), and ProvideClassInfo_Release().

◆ impl_from_ISupportErrorInfo()

static HTMLDocument * impl_from_ISupportErrorInfo ( ISupportErrorInfo iface)
inlinestatic

Definition at line 3948 of file htmldoc.c.

3949{
3950 return CONTAINING_RECORD(iface, HTMLDocument, ISupportErrorInfo_iface);
3951}

Referenced by SupportErrorInfo_AddRef(), SupportErrorInfo_QueryInterface(), and SupportErrorInfo_Release().

◆ init_doc()

static void init_doc ( HTMLDocument doc,
IUnknown unk_impl,
IDispatchEx dispex 
)
static

Definition at line 4356 of file htmldoc.c.

4357{
4364 doc->IDispatchEx_iface.lpVtbl = &DocDispatchExVtbl;
4367
4368 doc->unk_impl = unk_impl;
4369 doc->dispex = dispex;
4371
4379
4381}
void ConnectionPointContainer_Init(ConnectionPointContainer *This, IUnknown *impl)
Definition: events.c:431
static const IHTMLDocument2Vtbl HTMLDocumentVtbl
Definition: htmldoc.c:1735
static const IProvideClassInfoVtbl ProvideClassInfoVtbl
Definition: htmldoc.c:4234
static const IDispatchExVtbl DocDispatchExVtbl
Definition: htmldoc.c:4184
static const IHTMLDocument4Vtbl HTMLDocument4Vtbl
Definition: htmldoc.c:2607
static const IHTMLDocument3Vtbl HTMLDocument3Vtbl
Definition: htmldoc.c:2373
static const IHTMLDocument7Vtbl HTMLDocument7Vtbl
Definition: htmldoc.c:3826
static const IHTMLDocument6Vtbl HTMLDocument6Vtbl
Definition: htmldoc.c:3023
static const cpc_entry_t HTMLDocument_cpc[]
Definition: htmldoc.c:4348
static const ISupportErrorInfoVtbl SupportErrorInfoVtbl
Definition: htmldoc.c:3977
static const IHTMLDocument5Vtbl HTMLDocument5Vtbl
Definition: htmldoc.c:2879
void HTMLDocument_View_Init(HTMLDocument *) DECLSPEC_HIDDEN
Definition: view.c:875
void HTMLDocument_OleCmd_Init(HTMLDocument *) DECLSPEC_HIDDEN
Definition: olecmd.c:957
void HTMLDocument_Window_Init(HTMLDocument *) DECLSPEC_HIDDEN
Definition: olewnd.c:265
void HTMLDocument_Service_Init(HTMLDocument *) DECLSPEC_HIDDEN
Definition: service.c:409
LONG get_task_target_magic(void) DECLSPEC_HIDDEN
Definition: task.c:139
void HTMLDocument_OleObj_Init(HTMLDocument *) DECLSPEC_HIDDEN
Definition: oleobj.c:1199
void HTMLDocument_Persist_Init(HTMLDocument *) DECLSPEC_HIDDEN
Definition: persist.c:1089
IHTMLDocument7 IHTMLDocument7_iface
IHTMLDocument3 IHTMLDocument3_iface
IUnknown * unk_impl
IProvideClassInfo IProvideClassInfo_iface
IHTMLDocument5 IHTMLDocument5_iface
IHTMLDocument6 IHTMLDocument6_iface
IHTMLDocument4 IHTMLDocument4_iface
IDispatchEx IDispatchEx_iface
ISupportErrorInfo ISupportErrorInfo_iface
IDispatchEx * dispex
Definition: api.c:544

Referenced by alloc_doc_node(), and HTMLDocument_Create().

◆ ProvideClassInfo_AddRef()

static ULONG WINAPI ProvideClassInfo_AddRef ( IProvideClassInfo iface)
static

Definition at line 4214 of file htmldoc.c.

4215{
4217 return htmldoc_addref(This);
4218}
static HTMLDocument * impl_from_IProvideClassInfo(IProvideClassInfo *iface)
Definition: htmldoc.c:4202

◆ ProvideClassInfo_GetClassInfo()

static HRESULT WINAPI ProvideClassInfo_GetClassInfo ( IProvideClassInfo iface,
ITypeInfo **  ppTI 
)
static

Definition at line 4226 of file htmldoc.c.

4228{
4230 TRACE("(%p)->(%p)\n", This, ppTI);
4231 return get_htmldoc_classinfo(ppTI);
4232}
HRESULT get_htmldoc_classinfo(ITypeInfo **typeinfo)
Definition: dispex.c:172

◆ ProvideClassInfo_QueryInterface()

static HRESULT WINAPI ProvideClassInfo_QueryInterface ( IProvideClassInfo iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 4207 of file htmldoc.c.

4209{
4212}

◆ ProvideClassInfo_Release()

static ULONG WINAPI ProvideClassInfo_Release ( IProvideClassInfo iface)
static

Definition at line 4220 of file htmldoc.c.

4221{
4223 return htmldoc_release(This);
4224}

◆ SupportErrorInfo_AddRef()

static ULONG WINAPI SupportErrorInfo_AddRef ( ISupportErrorInfo iface)
static

Definition at line 3959 of file htmldoc.c.

3960{
3962 return htmldoc_addref(This);
3963}
static HTMLDocument * impl_from_ISupportErrorInfo(ISupportErrorInfo *iface)
Definition: htmldoc.c:3948

◆ SupportErrorInfo_InterfaceSupportsErrorInfo()

static HRESULT WINAPI SupportErrorInfo_InterfaceSupportsErrorInfo ( ISupportErrorInfo iface,
REFIID  riid 
)
static

Definition at line 3971 of file htmldoc.c.

3972{
3973 FIXME("(%p)->(%s)\n", iface, debugstr_mshtml_guid(riid));
3974 return S_FALSE;
3975}
#define S_FALSE
Definition: winerror.h:2357

◆ SupportErrorInfo_QueryInterface()

static HRESULT WINAPI SupportErrorInfo_QueryInterface ( ISupportErrorInfo iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 3953 of file htmldoc.c.

3954{
3957}

◆ SupportErrorInfo_Release()

static ULONG WINAPI SupportErrorInfo_Release ( ISupportErrorInfo iface)
static

Definition at line 3965 of file htmldoc.c.

3966{
3968 return htmldoc_release(This);
3969}

Variable Documentation

◆ 

const struct { ... } command_names[]
Initial value:
= {
}
static const WCHAR insertunorderedlistW[]
Definition: htmldoc.c:1130
static const WCHAR fontnameW[]
Definition: htmldoc.c:1122
static const WCHAR indentW[]
Definition: htmldoc.c:1126
static const WCHAR outdentW[]
Definition: htmldoc.c:1132
static const WCHAR insertorderedlistW[]
Definition: htmldoc.c:1128
static const WCHAR cutW[]
Definition: htmldoc.c:1120
static const WCHAR respectvisibilityindesignW[]
Definition: htmldoc.c:1136
static const WCHAR copyW[]
Definition: htmldoc.c:1118
static const WCHAR fontsizeW[]
Definition: htmldoc.c:1124
static const WCHAR pasteW[]
Definition: htmldoc.c:1134
#define IDM_UNORDERLIST
Definition: mshtmcid.h:206
#define IDM_PASTE
Definition: mshtmcid.h:48
#define IDM_INDENT
Definition: mshtmcid.h:207
#define IDM_ORDERLIST
Definition: mshtmcid.h:205
#define IDM_RESPECTVISIBILITY_INDESIGN
Definition: mshtmcid.h:379
#define IDM_OUTDENT
Definition: mshtmcid.h:208
#define IDM_FONTNAME
Definition: mshtmcid.h:40
#define IDM_FONTSIZE
Definition: mshtmcid.h:41
#define IDM_COPY
Definition: shresdef.h:865
#define IDM_CUT
Definition: shresdef.h:864

Referenced by cmdid_from_string().

◆ copyW

const WCHAR copyW[]
static
Initial value:
=
{'c','o','p','y',0}

Definition at line 1118 of file htmldoc.c.

◆ CustomDocVtbl

const ICustomDocVtbl CustomDocVtbl
static
Initial value:
= {
}
static HRESULT WINAPI CustomDoc_SetUIHandler(ICustomDoc *iface, IDocHostUIHandler *pUIHandler)
Definition: htmldoc.c:4770
static ULONG WINAPI CustomDoc_AddRef(ICustomDoc *iface)
Definition: htmldoc.c:4698
static ULONG WINAPI CustomDoc_Release(ICustomDoc *iface)
Definition: htmldoc.c:4708
static HRESULT WINAPI CustomDoc_QueryInterface(ICustomDoc *iface, REFIID riid, void **ppv)
Definition: htmldoc.c:4673

Definition at line 4800 of file htmldoc.c.

Referenced by HTMLDocument_Create().

◆ cutW

const WCHAR cutW[]
static
Initial value:
=
{'c','u','t',0}

Definition at line 1120 of file htmldoc.c.

◆ DocDispatchExVtbl

const IDispatchExVtbl DocDispatchExVtbl
static
Initial value:
= {
}
static HRESULT WINAPI DocDispatchEx_DeleteMemberByName(IDispatchEx *iface, BSTR bstrName, DWORD grfdex)
Definition: htmldoc.c:4142
static HRESULT WINAPI DocDispatchEx_GetNameSpaceParent(IDispatchEx *iface, IUnknown **ppunk)
Definition: htmldoc.c:4177
static HRESULT WINAPI DocDispatchEx_GetNextDispID(IDispatchEx *iface, DWORD grfdex, DISPID id, DISPID *pid)
Definition: htmldoc.c:4170
static HRESULT WINAPI DocDispatchEx_GetTypeInfoCount(IDispatchEx *iface, UINT *pctinfo)
Definition: htmldoc.c:4068
static HRESULT WINAPI DocDispatchEx_GetMemberName(IDispatchEx *iface, DISPID id, BSTR *pbstrName)
Definition: htmldoc.c:4163
static ULONG WINAPI DocDispatchEx_Release(IDispatchEx *iface)
Definition: htmldoc.c:4061
static HRESULT WINAPI DocDispatchEx_InvokeEx(IDispatchEx *iface, DISPID id, LCID lcid, WORD wFlags, DISPPARAMS *pdp, VARIANT *pvarRes, EXCEPINFO *pei, IServiceProvider *pspCaller)
Definition: htmldoc.c:4129
static HRESULT WINAPI DocDispatchEx_GetDispID(IDispatchEx *iface, BSTR bstrName, DWORD grfdex, DISPID *pid)
Definition: htmldoc.c:4117
static HRESULT WINAPI DocDispatchEx_GetIDsOfNames(IDispatchEx *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
Definition: htmldoc.c:4083
static HRESULT WINAPI DocDispatchEx_Invoke(IDispatchEx *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
Definition: htmldoc.c:4092
static HRESULT WINAPI DocDispatchEx_GetMemberProperties(IDispatchEx *iface, DISPID id, DWORD grfdexFetch, DWORD *pgrfdex)
Definition: htmldoc.c:4156
static HRESULT WINAPI DocDispatchEx_GetTypeInfo(IDispatchEx *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
Definition: htmldoc.c:4075
static HRESULT WINAPI DocDispatchEx_QueryInterface(IDispatchEx *iface, REFIID riid, void **ppv)
Definition: htmldoc.c:4047
static HRESULT WINAPI DocDispatchEx_DeleteMemberByDispID(IDispatchEx *iface, DISPID id)
Definition: htmldoc.c:4149
static ULONG WINAPI DocDispatchEx_AddRef(IDispatchEx *iface)
Definition: htmldoc.c:4054

Definition at line 4184 of file htmldoc.c.

Referenced by init_doc().

◆ fontnameW

const WCHAR fontnameW[]
static
Initial value:
=
{'f','o','n','t','n','a','m','e',0}

Definition at line 1122 of file htmldoc.c.

◆ fontsizeW

const WCHAR fontsizeW[]
static
Initial value:
=
{'f','o','n','t','s','i','z','e',0}

Definition at line 1124 of file htmldoc.c.

◆ HTMLDocument3Vtbl

const IHTMLDocument3Vtbl HTMLDocument3Vtbl
static

Definition at line 2373 of file htmldoc.c.

Referenced by init_doc().

◆ HTMLDocument4Vtbl

const IHTMLDocument4Vtbl HTMLDocument4Vtbl
static
Initial value:
= {
}
static HRESULT WINAPI HTMLDocument4_focus(IHTMLDocument4 *iface)
Definition: htmldoc.c:2479
static HRESULT WINAPI HTMLDocument4_get_onselectionchange(IHTMLDocument4 *iface, VARIANT *p)
Definition: htmldoc.c:2517
static HRESULT WINAPI HTMLDocument4_createDocumentFromUrl(IHTMLDocument4 *iface, BSTR bstrUrl, BSTR bstrOptions, IHTMLDocument2 **newDoc)
Definition: htmldoc.c:2531
static HRESULT WINAPI HTMLDocument4_createRenderStyle(IHTMLDocument4 *iface, BSTR v, IHTMLRenderStyle **ppIHTMLRenderStyle)
Definition: htmldoc.c:2578
static HRESULT WINAPI HTMLDocument4_put_media(IHTMLDocument4 *iface, BSTR v)
Definition: htmldoc.c:2539
static HRESULT WINAPI HTMLDocument4_put_oncontrolselect(IHTMLDocument4 *iface, VARIANT v)
Definition: htmldoc.c:2586
static HRESULT WINAPI HTMLDocument4_GetTypeInfo(IHTMLDocument4 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
Definition: htmldoc.c:2454
static ULONG WINAPI HTMLDocument4_Release(IHTMLDocument4 *iface)
Definition: htmldoc.c:2442
static HRESULT WINAPI HTMLDocument4_get_media(IHTMLDocument4 *iface, BSTR *p)
Definition: htmldoc.c:2546
static HRESULT WINAPI HTMLDocument4_get_URLEncoded(IHTMLDocument4 *iface, BSTR *p)
Definition: htmldoc.c:2600
static HRESULT WINAPI HTMLDocument4_get_namespace(IHTMLDocument4 *iface, IDispatch **p)
Definition: htmldoc.c:2524
static HRESULT WINAPI HTMLDocument4_Invoke(IHTMLDocument4 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
Definition: htmldoc.c:2470
static HRESULT WINAPI HTMLDocument4_createEventObject(IHTMLDocument4 *iface, VARIANT *pvarEventObject, IHTMLEventObj **ppEventObj)
Definition: htmldoc.c:2553
static HRESULT WINAPI HTMLDocument4_QueryInterface(IHTMLDocument4 *iface, REFIID riid, void **ppv)
Definition: htmldoc.c:2429
static ULONG WINAPI HTMLDocument4_AddRef(IHTMLDocument4 *iface)
Definition: htmldoc.c:2436
static HRESULT WINAPI HTMLDocument4_get_oncontrolselect(IHTMLDocument4 *iface, VARIANT *p)
Definition: htmldoc.c:2593
static HRESULT WINAPI HTMLDocument4_fireEvent(IHTMLDocument4 *iface, BSTR bstrEventName, VARIANT *pvarEventObject, VARIANT_BOOL *pfCanceled)
Definition: htmldoc.c:2568
static HRESULT WINAPI HTMLDocument4_hasFocus(IHTMLDocument4 *iface, VARIANT_BOOL *pfFocus)
Definition: htmldoc.c:2503
static HRESULT WINAPI HTMLDocument4_GetTypeInfoCount(IHTMLDocument4 *iface, UINT *pctinfo)
Definition: htmldoc.c:2448
static HRESULT WINAPI HTMLDocument4_GetIDsOfNames(IHTMLDocument4 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
Definition: htmldoc.c:2461
static HRESULT WINAPI HTMLDocument4_put_onselectionchange(IHTMLDocument4 *iface, VARIANT v)
Definition: htmldoc.c:2510

Definition at line 2607 of file htmldoc.c.

Referenced by init_doc().

◆ HTMLDocument5Vtbl

const IHTMLDocument5Vtbl HTMLDocument5Vtbl
static
Initial value:
= {
}
static HRESULT WINAPI HTMLDocument5_get_implementation(IHTMLDocument5 *iface, IHTMLDOMImplementation **p)
Definition: htmldoc.c:2706
static HRESULT WINAPI HTMLDocument5_put_onfocusout(IHTMLDocument5 *iface, VARIANT v)
Definition: htmldoc.c:2791
static HRESULT WINAPI HTMLDocument5_get_ondeactivate(IHTMLDocument5 *iface, VARIANT *p)
Definition: htmldoc.c:2826
static HRESULT WINAPI HTMLDocument5_get_onbeforeactivate(IHTMLDocument5 *iface, VARIANT *p)
Definition: htmldoc.c:2840
static HRESULT WINAPI HTMLDocument5_put_onbeforedeactivate(IHTMLDocument5 *iface, VARIANT v)
Definition: htmldoc.c:2847
static HRESULT WINAPI HTMLDocument5_put_ondeactivate(IHTMLDocument5 *iface, VARIANT v)
Definition: htmldoc.c:2819
static HRESULT WINAPI HTMLDocument5_put_onbeforeactivate(IHTMLDocument5 *iface, VARIANT v)
Definition: htmldoc.c:2833
static HRESULT WINAPI HTMLDocument5_Invoke(IHTMLDocument5 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
Definition: htmldoc.c:2676
static HRESULT WINAPI HTMLDocument5_get_compatMode(IHTMLDocument5 *iface, BSTR *p)
Definition: htmldoc.c:2861
static HRESULT WINAPI HTMLDocument5_put_onfocusin(IHTMLDocument5 *iface, VARIANT v)
Definition: htmldoc.c:2777
static HRESULT WINAPI HTMLDocument5_get_onfocusout(IHTMLDocument5 *iface, VARIANT *p)
Definition: htmldoc.c:2798
static ULONG WINAPI HTMLDocument5_Release(IHTMLDocument5 *iface)
Definition: htmldoc.c:2649
static HRESULT WINAPI HTMLDocument5_GetTypeInfo(IHTMLDocument5 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
Definition: htmldoc.c:2661
static HRESULT WINAPI HTMLDocument5_put_onmousewheel(IHTMLDocument5 *iface, VARIANT v)
Definition: htmldoc.c:2685
static HRESULT WINAPI HTMLDocument5_get_onactivate(IHTMLDocument5 *iface, VARIANT *p)
Definition: htmldoc.c:2812
static HRESULT WINAPI HTMLDocument5_get_doctype(IHTMLDocument5 *iface, IHTMLDOMNode **p)
Definition: htmldoc.c:2699
static HRESULT WINAPI HTMLDocument5_QueryInterface(IHTMLDocument5 *iface, REFIID riid, void **ppv)
Definition: htmldoc.c:2636
static HRESULT WINAPI HTMLDocument5_createComment(IHTMLDocument5 *iface, BSTR bstrdata, IHTMLDOMNode **ppRetNode)
Definition: htmldoc.c:2743
static HRESULT WINAPI HTMLDocument5_get_onbeforedeactivate(IHTMLDocument5 *iface, VARIANT *p)
Definition: htmldoc.c:2854
static HRESULT WINAPI HTMLDocument5_get_onmousewheel(IHTMLDocument5 *iface, VARIANT *p)
Definition: htmldoc.c:2692
static ULONG WINAPI HTMLDocument5_AddRef(IHTMLDocument5 *iface)
Definition: htmldoc.c:2643
static HRESULT WINAPI HTMLDocument5_put_onactivate(IHTMLDocument5 *iface, VARIANT v)
Definition: htmldoc.c:2805
static HRESULT WINAPI HTMLDocument5_get_onfocusin(IHTMLDocument5 *iface, VARIANT *p)
Definition: htmldoc.c:2784
static HRESULT WINAPI HTMLDocument5_GetTypeInfoCount(IHTMLDocument5 *iface, UINT *pctinfo)
Definition: htmldoc.c:2655
static HRESULT WINAPI HTMLDocument5_createAttribute(IHTMLDocument5 *iface, BSTR bstrattrName, IHTMLDOMAttribute **ppattribute)
Definition: htmldoc.c:2726
static HRESULT WINAPI HTMLDocument5_GetIDsOfNames(IHTMLDocument5 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
Definition: htmldoc.c:2668

Definition at line 2879 of file htmldoc.c.

Referenced by init_doc().

◆ HTMLDocument6Vtbl

const IHTMLDocument6Vtbl HTMLDocument6Vtbl
static
Initial value:
= {
}
static HRESULT WINAPI HTMLDocument6_get_documentMode(IHTMLDocument6 *iface, VARIANT *p)
Definition: htmldoc.c:2970
static HRESULT WINAPI HTMLDocument6_get_compatible(IHTMLDocument6 *iface, IHTMLDocumentCompatibleInfoCollection **p)
Definition: htmldoc.c:2962
static ULONG WINAPI HTMLDocument6_Release(IHTMLDocument6 *iface)
Definition: htmldoc.c:2926
static HRESULT WINAPI HTMLDocument6_Invoke(IHTMLDocument6 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
Definition: htmldoc.c:2953
static HRESULT WINAPI HTMLDocument6_get_onstoragecommit(IHTMLDocument6 *iface, VARIANT *p)
Definition: htmldoc.c:2993
static HRESULT WINAPI HTMLDocument6_get_onstorage(IHTMLDocument6 *iface, VARIANT *p)
Definition: htmldoc.c:2978
static HRESULT WINAPI HTMLDocument6_put_onstorage(IHTMLDocument6 *iface, VARIANT v)
Definition: htmldoc.c:2986
static HRESULT WINAPI HTMLDocument6_updateSettings(IHTMLDocument6 *iface)
Definition: htmldoc.c:3016
static HRESULT WINAPI HTMLDocument6_GetIDsOfNames(IHTMLDocument6 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
Definition: htmldoc.c:2945
static HRESULT WINAPI HTMLDocument6_GetTypeInfo(IHTMLDocument6 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
Definition: htmldoc.c:2938
static ULONG WINAPI HTMLDocument6_AddRef(IHTMLDocument6 *iface)
Definition: htmldoc.c:2920
static HRESULT WINAPI HTMLDocument6_getElementById(IHTMLDocument6 *iface, BSTR bstrId, IHTMLElement2 **p)
Definition: htmldoc.c:3008
static HRESULT WINAPI HTMLDocument6_GetTypeInfoCount(IHTMLDocument6 *iface, UINT *pctinfo)
Definition: htmldoc.c:2932
static HRESULT WINAPI HTMLDocument6_put_onstoragecommit(IHTMLDocument6 *iface, VARIANT v)
Definition: htmldoc.c:3001
static HRESULT WINAPI HTMLDocument6_QueryInterface(IHTMLDocument6 *iface, REFIID riid, void **ppv)
Definition: htmldoc.c:2913

Definition at line 3023 of file htmldoc.c.

Referenced by init_doc().

◆ HTMLDocument7Vtbl

const IHTMLDocument7Vtbl HTMLDocument7Vtbl
static

Definition at line 3826 of file htmldoc.c.

Referenced by init_doc().

◆ HTMLDocument_cpc

const cpc_entry_t HTMLDocument_cpc[]
static
Initial value:
= {
{&DIID_HTMLDocumentEvents, &HTMLDocumentEvents_data},
{&DIID_HTMLDocumentEvents2},
{NULL}
}
static cp_static_data_t HTMLDocumentEvents_data
Definition: htmldoc.c:4346
const GUID IID_IPropertyNotifySink

Definition at line 4348 of file htmldoc.c.

Referenced by init_doc().

◆ HTMLDocumentEvents_data

cp_static_data_t HTMLDocumentEvents_data = { HTMLDocumentEvents_tid, HTMLDocument_on_advise }
static

Definition at line 4346 of file htmldoc.c.

◆ HTMLDocumentFragmentImplVtbl

const NodeImplVtbl HTMLDocumentFragmentImplVtbl
static
Initial value:
= {
}
static HRESULT HTMLDocumentNode_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
Definition: htmldoc.c:4395
static void HTMLDocumentNode_destructor(HTMLDOMNode *iface)
Definition: htmldoc.c:4413
static HRESULT HTMLDocumentFragment_clone(HTMLDOMNode *iface, nsIDOMNode *nsnode, HTMLDOMNode **ret)
Definition: htmldoc.c:4493

Definition at line 4569 of file htmldoc.c.

Referenced by create_document_fragment().

◆ HTMLDocumentNode_dispex

dispex_static_data_t HTMLDocumentNode_dispex
static
Initial value:
= {
DispHTMLDocument_tid,
}
static const dispex_static_data_vtbl_t HTMLDocumentNode_dispex_vtbl
Definition: htmldoc.c:4560
static const tid_t HTMLDocumentNode_iface_tids[]
Definition: htmldoc.c:4576

Definition at line 4586 of file htmldoc.c.

Referenced by alloc_doc_node().

◆ HTMLDocumentNode_dispex_vtbl

const dispex_static_data_vtbl_t HTMLDocumentNode_dispex_vtbl
static
Initial value:
= {
}
static void HTMLDocumentNode_bind_event(DispatchEx *dispex, int eid)
Definition: htmldoc.c:4554
static HRESULT HTMLDocumentNode_invoke(DispatchEx *dispex, DISPID id, LCID lcid, WORD flags, DISPPARAMS *params, VARIANT *res, EXCEPINFO *ei, IServiceProvider *caller)
Definition: htmldoc.c:4512

Definition at line 4560 of file htmldoc.c.

◆ HTMLDocumentNode_iface_tids

const tid_t HTMLDocumentNode_iface_tids[]
static
Initial value:
= {
IHTMLDOMNode_tid,
IHTMLDOMNode2_tid,
IHTMLDocument2_tid,
IHTMLDocument3_tid,
IHTMLDocument4_tid,
IHTMLDocument5_tid,
0
}

Definition at line 4576 of file htmldoc.c.

◆ HTMLDocumentNodeImplVtbl

const NodeImplVtbl HTMLDocumentNodeImplVtbl
static
Initial value:
= {
}
static void HTMLDocumentNode_traverse(HTMLDOMNode *iface, nsCycleCollectionTraversalCallback *cb)
Definition: htmldoc.c:4451
static void HTMLDocumentNode_unlink(HTMLDOMNode *iface)
Definition: htmldoc.c:4459
static HRESULT HTMLDocumentNode_clone(HTMLDOMNode *iface, nsIDOMNode *nsnode, HTMLDOMNode **ret)
Definition: htmldoc.c:4444

Definition at line 4473 of file htmldoc.c.

Referenced by create_doc_from_nsdoc().

◆ HTMLDocumentObj_dispex

dispex_static_data_t HTMLDocumentObj_dispex
static
Initial value:
= {
DispHTMLDocument_tid,
}
static const tid_t HTMLDocumentObj_iface_tids[]
Definition: htmldoc.c:4807

Definition at line 4814 of file htmldoc.c.

Referenced by HTMLDocument_Create().

◆ HTMLDocumentObj_iface_tids

const tid_t HTMLDocumentObj_iface_tids[]
static
Initial value:
= {
IHTMLDocument2_tid,
IHTMLDocument3_tid,
IHTMLDocument4_tid,
IHTMLDocument5_tid,
0
}

Definition at line 4807 of file htmldoc.c.

◆ HTMLDocumentVtbl

const IHTMLDocument2Vtbl HTMLDocumentVtbl
static

Definition at line 1735 of file htmldoc.c.

Referenced by init_doc().

◆ id

OLECMDID id

Definition at line 1141 of file htmldoc.c.

◆ indentW

const WCHAR indentW[]
static
Initial value:
=
{'i','n','d','e','n','t',0}

Definition at line 1126 of file htmldoc.c.

◆ insertorderedlistW

const WCHAR insertorderedlistW[]
static
Initial value:
=
{'i','n','s','e','r','t','o','r','d','e','r','e','d','l','i','s','t',0}

Definition at line 1128 of file htmldoc.c.

◆ insertunorderedlistW

const WCHAR insertunorderedlistW[]
static
Initial value:
=
{'i','n','s','e','r','t','u','n','o','r','d','e','r','e','d','l','i','s','t',0}

Definition at line 1130 of file htmldoc.c.

◆ name

Definition at line 1140 of file htmldoc.c.

Referenced by test_open_window().

◆ outdentW

const WCHAR outdentW[]
static
Initial value:
=
{'o','u','t','d','e','n','t',0}

Definition at line 1132 of file htmldoc.c.

◆ pasteW

const WCHAR pasteW[]
static
Initial value:
=
{'p','a','s','t','e',0}

Definition at line 1134 of file htmldoc.c.

◆ ProvideClassInfoVtbl

const IProvideClassInfoVtbl ProvideClassInfoVtbl
static
Initial value:
= {
}
static ULONG WINAPI ProvideClassInfo_AddRef(IProvideClassInfo *iface)
Definition: htmldoc.c:4214
static ULONG WINAPI ProvideClassInfo_Release(IProvideClassInfo *iface)
Definition: htmldoc.c:4220
static HRESULT WINAPI ProvideClassInfo_QueryInterface(IProvideClassInfo *iface, REFIID riid, void **ppv)
Definition: htmldoc.c:4207
static HRESULT WINAPI ProvideClassInfo_GetClassInfo(IProvideClassInfo *iface, ITypeInfo **ppTI)
Definition: htmldoc.c:4226

Definition at line 4234 of file htmldoc.c.

Referenced by init_doc().

◆ respectvisibilityindesignW

const WCHAR respectvisibilityindesignW[]
static
Initial value:
=
{'r','e','s','p','e','c','t','v','i','s','i','b','i','l','i','t','y','i','n','d','e','s','i','g','n',0}

Definition at line 1136 of file htmldoc.c.

◆ SupportErrorInfoVtbl

const ISupportErrorInfoVtbl SupportErrorInfoVtbl
static
Initial value:
= {
}
static HRESULT WINAPI SupportErrorInfo_InterfaceSupportsErrorInfo(ISupportErrorInfo *iface, REFIID riid)
Definition: htmldoc.c:3971
static ULONG WINAPI SupportErrorInfo_AddRef(ISupportErrorInfo *iface)
Definition: htmldoc.c:3959
static HRESULT WINAPI SupportErrorInfo_QueryInterface(ISupportErrorInfo *iface, REFIID riid, void **ppv)
Definition: htmldoc.c:3953
static ULONG WINAPI SupportErrorInfo_Release(ISupportErrorInfo *iface)
Definition: htmldoc.c:3965

Definition at line 3977 of file htmldoc.c.

Referenced by init_doc().