mshtml.idl: Added HTMLStyle coclass declaration.
diff --git a/dlls/mshtml/htmlstyle.h b/dlls/mshtml/htmlstyle.h
index 5fe1f24..2dedb03 100644
--- a/dlls/mshtml/htmlstyle.h
+++ b/dlls/mshtml/htmlstyle.h
@@ -16,7 +16,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-typedef struct {
+struct HTMLStyle {
DispatchEx dispex;
const IHTMLStyleVtbl *lpHTMLStyleVtbl;
const IHTMLStyle2Vtbl *lpHTMLStyle2Vtbl;
@@ -24,7 +24,7 @@
LONG ref;
nsIDOMCSSStyleDeclaration *nsstyle;
-} HTMLStyle;
+};
#define HTMLSTYLE(x) ((IHTMLStyle*) &(x)->lpHTMLStyleVtbl)
#define HTMLSTYLE2(x) ((IHTMLStyle2*) &(x)->lpHTMLStyle2Vtbl)
diff --git a/include/mshtml.idl b/include/mshtml.idl
index eabf867..be99f3c 100644
--- a/include/mshtml.idl
+++ b/include/mshtml.idl
@@ -2245,6 +2245,20 @@
VARIANT minHeight();
}
+[
+ noncreatable,
+ uuid(3050f285-98b5-11cf-bb82-00aa00bdce0b)
+]
+coclass HTMLStyle
+{
+ [default] dispinterface DispHTMLStyle;
+ interface IHTMLStyle;
+ interface IHTMLStyle2;
+ /* interface IHTMLStyle3; */
+ /* interface IHTMLStyle4; */
+ /* interface IHTMLStyle5; */
+}
+
/*****************************************************************************
* IHTMLRenderStyle interface
*/