From 91c568bc6dbdde09e4137ca5e6eee558bda9969e Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Thu, 20 Apr 2017 16:23:45 +0200 Subject: [PATCH] mshtml.idl: Added HTMLStyleElement coclass declaration. Signed-off-by: Jacek Caban Signed-off-by: Alexandre Julliard --- dlls/mshtml/htmlstyleelem.c | 4 ++-- include/mshtml.idl | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/dlls/mshtml/htmlstyleelem.c b/dlls/mshtml/htmlstyleelem.c index 96c394c6cd6..f5162732d29 100644 --- a/dlls/mshtml/htmlstyleelem.c +++ b/dlls/mshtml/htmlstyleelem.c @@ -33,14 +33,14 @@ WINE_DEFAULT_DEBUG_CHANNEL(mshtml); -typedef struct { +struct HTMLStyleElement { HTMLElement element; IHTMLStyleElement IHTMLStyleElement_iface; nsIDOMHTMLStyleElement *nsstyle; IHTMLStyleSheet *style_sheet; -} HTMLStyleElement; +}; static inline HTMLStyleElement *impl_from_IHTMLStyleElement(IHTMLStyleElement *iface) { diff --git a/include/mshtml.idl b/include/mshtml.idl index 1b4ba2ac27f..a9d65028630 100644 --- a/include/mshtml.idl +++ b/include/mshtml.idl @@ -19720,6 +19720,23 @@ methods: BSTR media(); } +/***************************************************************************** + * HTMLStyleElement coclass + */ +[ + noncreatable, + uuid(3050f37d-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLStyleElement +{ + [default] dispinterface DispHTMLStyleElement; + /* [source, default] dispinterface HTMLStyleElementEvents; */ + /* [source] dispinterface HTMLStyleElementEvents2; */ + WINE_HTMLELEMENT_INTERFACES; + interface IHTMLStyleElement; + /* interface IHTMLStyleElement2; */ +} + /***************************************************************************** * IHTMLStorage interface */