From ab0e68a95ea65130bc7c098c4ad5b5ce919f0d9d Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Thu, 13 Apr 2017 16:05:11 +0200 Subject: [PATCH] mshtml.idl: Added HTMLLinkElement coclass declaration. Signed-off-by: Jacek Caban Signed-off-by: Alexandre Julliard --- dlls/mshtml/htmllink.c | 4 ++-- include/mshtml.idl | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/dlls/mshtml/htmllink.c b/dlls/mshtml/htmllink.c index 19913afa1f0..aa44c3d9e9a 100644 --- a/dlls/mshtml/htmllink.c +++ b/dlls/mshtml/htmllink.c @@ -33,12 +33,12 @@ WINE_DEFAULT_DEBUG_CHANNEL(mshtml); -typedef struct { +struct HTMLLinkElement { HTMLElement element; IHTMLLinkElement IHTMLLinkElement_iface; nsIDOMHTMLLinkElement *nslink; -} HTMLLinkElement; +}; static inline HTMLLinkElement *impl_from_IHTMLLinkElement(IHTMLLinkElement *iface) { diff --git a/include/mshtml.idl b/include/mshtml.idl index 75946b14870..96799bc479b 100644 --- a/include/mshtml.idl +++ b/include/mshtml.idl @@ -7679,6 +7679,26 @@ methods: BSTR ie8_href(); } +/***************************************************************************** + * HTMLLinkElement coclass + */ +[ + noncreatable, + uuid(3050f277-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLLinkElement +{ + [default] dispinterface DispHTMLLinkElement; + /* [source, default] dispinterface HTMLLinkElementEvents; */ + /* [source] dispinterface HTMLLinkElementEvents2; */ + WINE_HTMLELEMENT_INTERFACES; + interface IHTMLLinkElement; + interface IHTMLLinkElement2; + interface IHTMLLinkElement3; + interface IHTMLLinkElement4; + /* interface IHTMLLinkElement5; */ +} + /***************************************************************************** * IHTMLTxtRange interface */