Module: wine Branch: master Commit: ab0e68a95ea65130bc7c098c4ad5b5ce919f0d9d URL: http://source.winehq.org/git/wine.git/?a=commit;h=ab0e68a95ea65130bc7c098c4a... Author: Jacek Caban <jacek(a)codeweavers.com> Date: Thu Apr 13 16:05:11 2017 +0200 mshtml.idl: Added HTMLLinkElement coclass declaration. Signed-off-by: Jacek Caban <jacek(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- 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 19913af..aa44c3d 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 75946b1..96799bc 100644 --- a/include/mshtml.idl +++ b/include/mshtml.idl @@ -7680,6 +7680,26 @@ methods: } /***************************************************************************** + * 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 */ [