Jacek Caban : mshtml.idl: Added HTMLStyle coclass declaration.
Alexandre Julliard
julliard at winehq.org
Wed Dec 31 07:45:09 CST 2008
Module: wine
Branch: master
Commit: 2b3c8ad501dc86928789984780e2f0251b0cab05
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2b3c8ad501dc86928789984780e2f0251b0cab05
Author: Jacek Caban <jacek at codeweavers.com>
Date: Tue Dec 30 21:23:56 2008 +0100
mshtml.idl: Added HTMLStyle coclass declaration.
---
dlls/mshtml/htmlstyle.h | 4 ++--
include/mshtml.idl | 14 ++++++++++++++
2 files changed, 16 insertions(+), 2 deletions(-)
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 @@ typedef struct {
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 @@ methods:
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
*/
More information about the wine-cvs
mailing list