From 0636249b0e488377a3c26956a4527366d0d3b012 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Thu, 13 Apr 2017 16:05:45 +0200 Subject: [PATCH] mshtml.idl: Added HTMLAnchorElement coclass declaration. Signed-off-by: Jacek Caban Signed-off-by: Alexandre Julliard --- 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 75d465f0acc..191677fa2ef 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 74a9eb68af8..24721eb96fe 100644 --- a/include/mshtml.idl +++ b/include/mshtml.idl @@ -9793,6 +9793,24 @@ methods: BSTR ie8_href(); } +/***************************************************************************** + * 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 */