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

Alexandre Julliard julliard at winehq.org
Thu Apr 20 16:41:35 CDT 2017


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Thu Apr 20 16:09:29 2017 +0200

mshtml.idl: Added HTMLScriptElement coclass declaration.

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

---

 dlls/mshtml/htmlscript.h |  4 ++--
 include/mshtml.idl       | 19 +++++++++++++++++++
 2 files changed, 21 insertions(+), 2 deletions(-)

diff --git a/dlls/mshtml/htmlscript.h b/dlls/mshtml/htmlscript.h
index 3d41a6c..af9192f 100644
--- a/dlls/mshtml/htmlscript.h
+++ b/dlls/mshtml/htmlscript.h
@@ -16,7 +16,7 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-typedef struct {
+struct HTMLScriptElement {
     HTMLElement element;
 
     IHTMLScriptElement IHTMLScriptElement_iface;
@@ -28,7 +28,7 @@ typedef struct {
     READYSTATE readystate;
     WCHAR *src_text; /* sctipt text downloaded from src */
     BSCallback *binding; /* weak reference to current binding */
-} HTMLScriptElement;
+};
 
 typedef struct {
     struct list entry;
diff --git a/include/mshtml.idl b/include/mshtml.idl
index 4e5503e..f734356 100644
--- a/include/mshtml.idl
+++ b/include/mshtml.idl
@@ -18635,6 +18635,25 @@ methods:
 }
 
 /*****************************************************************************
+ *    HTMLScriptElement coclass
+ */
+[
+    noncreatable,
+    uuid(3050f28c-98b5-11cf-bb82-00aa00bdce0b)
+]
+coclass HTMLScriptElement
+{
+    [default]         dispinterface DispHTMLScriptElement;
+ /* [source, default] dispinterface HTMLScriptEvents; */
+ /* [source]          dispinterface HTMLScriptEvents2; */
+    WINE_HTMLELEMENT_INTERFACES;
+    interface IHTMLScriptElement;
+    interface IHTMLScriptElement2;
+ /* interface IHTMLScriptElement3; */
+ /* interface IHTMLScriptElement4; */
+}
+
+/*****************************************************************************
  *    IHTMLObjectElement interface
  */
 [




More information about the wine-cvs mailing list