Jacek Caban : mshtml.idl: Added HTMLGenericElement coclass declaration.

Alexandre Julliard julliard at winehq.org
Thu Apr 13 13:06:09 CDT 2017


Module: wine
Branch: master
Commit: 327a77c1c2856c44654de134ae9bd1fe78cccd7c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=327a77c1c2856c44654de134ae9bd1fe78cccd7c

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Thu Apr 13 16:05:01 2017 +0200

mshtml.idl: Added HTMLGenericElement coclass declaration.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 47f1a0f..d49b5ad 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 97f22a7..75946b1 100644
--- a/include/mshtml.idl
+++ b/include/mshtml.idl
@@ -7008,6 +7008,22 @@ methods:
 }
 
 /*****************************************************************************
+ *    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
  */
 [




More information about the wine-cvs mailing list