From 9111c8a0e2f1aca12cc174931575fb74f3513bde Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Fri, 14 Apr 2017 14:36:28 +0200 Subject: [PATCH] mshtml.idl: Added HTMLHtmlElement coclass declaration. Signed-off-by: Jacek Caban Signed-off-by: Alexandre Julliard --- dlls/mshtml/htmlhead.c | 4 ++-- include/mshtml.idl | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) 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 */