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

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


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

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

mshtml.idl: Added HTMLAnchorElement coclass declaration.

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

---

 dlls/mshtml/htmlanchor.c |  4 ++--
 include/mshtml.idl       | 18 ++++++++++++++++++
 2 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/dlls/mshtml/htmlanchor.c b/dlls/mshtml/htmlanchor.c
index 75d465f..191677f 100644
--- a/dlls/mshtml/htmlanchor.c
+++ b/dlls/mshtml/htmlanchor.c
@@ -35,13 +35,13 @@
 
 WINE_DEFAULT_DEBUG_CHANNEL(mshtml);
 
-typedef struct {
+struct HTMLAnchorElement {
     HTMLElement element;
 
     IHTMLAnchorElement IHTMLAnchorElement_iface;
 
     nsIDOMHTMLAnchorElement *nsanchor;
-} HTMLAnchorElement;
+};
 
 static HRESULT navigate_href_new_window(HTMLElement *element, nsAString *href_str, const WCHAR *target)
 {
diff --git a/include/mshtml.idl b/include/mshtml.idl
index 74a9eb6..24721eb 100644
--- a/include/mshtml.idl
+++ b/include/mshtml.idl
@@ -9794,6 +9794,24 @@ methods:
 }
 
 /*****************************************************************************
+ *    HTMLAnchorElement coclass
+ */
+[
+    noncreatable,
+    uuid(3050f248-98b5-11cf-bb82-00aa00bdce0b)
+]
+coclass HTMLAnchorElement
+{
+    [default]         dispinterface DispHTMLAnchorElement;
+ /* [source, default] dispinterface HTMLAnchorEvents; */
+ /* [source]          dispinterface HTMLAnchorEvents2; */
+    WINE_HTMLDATAELEMENT_INTERFACES;
+    interface IHTMLAnchorElement;
+ /* interface IHTMLAnchorElement2; */
+ /* interface IHTMLAnchorElement3; */
+}
+
+/*****************************************************************************
  *    IHTMLAreaElement interface
  */
 [




More information about the wine-cvs mailing list