diff --git a/dlls/mshtml/htmlhead.c b/dlls/mshtml/htmlhead.c index 9f735ebbb90..1a37fe351e2 100644 --- a/dlls/mshtml/htmlhead.c +++ b/dlls/mshtml/htmlhead.c @@ -191,11 +191,11 @@ HRESULT HTMLTitleElement_Create(HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem return S_OK; } -typedef struct { +struct HTMLHtmlElement { HTMLElement element; IHTMLHtmlElement IHTMLHtmlElement_iface; -} HTMLHtmlElement; +}; static inline HTMLHtmlElement *impl_from_IHTMLHtmlElement(IHTMLHtmlElement *iface) { diff --git a/include/mshtml.idl b/include/mshtml.idl index 3834bd1bb16..660ed532601 100644 --- a/include/mshtml.idl +++ b/include/mshtml.idl @@ -11648,6 +11648,22 @@ methods: BSTR version(); } +/***************************************************************************** + * HTMLHtmlElement coclass + */ +[ + noncreatable, + uuid(3050f491-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLHtmlElement +{ + [default] dispinterface DispHTMLHtmlElement; + [source, default] dispinterface HTMLElementEvents; + [source] dispinterface HTMLElementEvents2; + WINE_HTMLELEMENT_INTERFACES; + interface IHTMLHtmlElement; +} + /***************************************************************************** * DispHTMLHeadElement interface */