From 327a77c1c2856c44654de134ae9bd1fe78cccd7c Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Thu, 13 Apr 2017 16:05:01 +0200 Subject: [PATCH] mshtml.idl: Added HTMLGenericElement coclass declaration. Signed-off-by: Jacek Caban Signed-off-by: Alexandre Julliard --- dlls/mshtml/htmlgeneric.c | 4 ++-- include/mshtml.idl | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/dlls/mshtml/htmlgeneric.c b/dlls/mshtml/htmlgeneric.c index 47f1a0fd152..d49b5ad18a2 100644 --- a/dlls/mshtml/htmlgeneric.c +++ b/dlls/mshtml/htmlgeneric.c @@ -32,11 +32,11 @@ WINE_DEFAULT_DEBUG_CHANNEL(mshtml); -typedef struct { +struct HTMLGenericElement { HTMLElement element; IHTMLGenericElement IHTMLGenericElement_iface; -} HTMLGenericElement; +}; static inline HTMLGenericElement *impl_from_IHTMLGenericElement(IHTMLGenericElement *iface) { diff --git a/include/mshtml.idl b/include/mshtml.idl index 97f22a790c4..75946b14870 100644 --- a/include/mshtml.idl +++ b/include/mshtml.idl @@ -7007,6 +7007,22 @@ methods: [in, optional] VARIANT *hierarchy); } +/***************************************************************************** + * HTMLGenericElement coclass + */ +[ + noncreatable, + uuid(3050f4b8-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLGenericElement +{ + [default] dispinterface DispHTMLGenericElement; + [source, default] dispinterface HTMLElementEvents; + [source] dispinterface HTMLElementEvents2; + WINE_HTMLELEMENT_INTERFACES; + interface IHTMLGenericElement; +} + /***************************************************************************** * IHTMLStyleSheetRule interface */