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

Alexandre Julliard julliard at winehq.org
Wed Apr 19 14:49:37 CDT 2017


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Fri Apr 14 14:36:36 2017 +0200

mshtml.idl: Added HTMLHeadElement coclass declaration.

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

---

 dlls/mshtml/htmlhead.c |  4 ++--
 include/mshtml.idl     | 17 +++++++++++++++++
 2 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/dlls/mshtml/htmlhead.c b/dlls/mshtml/htmlhead.c
index 1a37fe3..e391396 100644
--- a/dlls/mshtml/htmlhead.c
+++ b/dlls/mshtml/htmlhead.c
@@ -374,11 +374,11 @@ HRESULT HTMLHtmlElement_Create(HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem,
     return S_OK;
 }
 
-typedef struct {
+struct HTMLHeadElement {
     HTMLElement element;
 
     IHTMLHeadElement IHTMLHeadElement_iface;
-} HTMLHeadElement;
+};
 
 static inline HTMLHeadElement *impl_from_IHTMLHeadElement(IHTMLHeadElement *iface)
 {
diff --git a/include/mshtml.idl b/include/mshtml.idl
index 660ed53..e3bf2e7 100644
--- a/include/mshtml.idl
+++ b/include/mshtml.idl
@@ -11691,6 +11691,23 @@ methods:
 }
 
 /*****************************************************************************
+ *    HTMLHeadElement coclass
+ */
+[
+    noncreatable,
+    uuid(3050f493-98b5-11cf-bb82-00aa00bdce0b)
+]
+coclass HTMLHeadElement
+{
+    [default]         dispinterface DispHTMLHeadElement;
+    [source, default] dispinterface HTMLElementEvents;
+    [source]          dispinterface HTMLElementEvents2;
+    WINE_HTMLELEMENT_INTERFACES;
+    interface IHTMLHeadElement;
+    interface IHTMLHeadElement2;
+}
+
+/*****************************************************************************
  *    DispHTMLTitleElement interface
  */
 [




More information about the wine-cvs mailing list