Jacek Caban : mshtml.idl: Added HTMLHtmlElement coclass declaration.
Alexandre Julliard
julliard at winehq.org
Wed Apr 19 14:49:37 CDT 2017
Module: wine
Branch: master
Commit: 9111c8a0e2f1aca12cc174931575fb74f3513bde
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9111c8a0e2f1aca12cc174931575fb74f3513bde
Author: Jacek Caban <jacek at codeweavers.com>
Date: Fri Apr 14 14:36:28 2017 +0200
mshtml.idl: Added HTMLHtmlElement 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 | 16 ++++++++++++++++
2 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/dlls/mshtml/htmlhead.c b/dlls/mshtml/htmlhead.c
index 9f735eb..1a37fe3 100644
--- a/dlls/mshtml/htmlhead.c
+++ b/dlls/mshtml/htmlhead.c
@@ -191,11 +191,11 @@ HRESULT HTMLTitleElement_Create(HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem
return S_OK;
}
-typedef struct {
+struct HTMLHtmlElement {
HTMLElement element;
IHTMLHtmlElement IHTMLHtmlElement_iface;
-} HTMLHtmlElement;
+};
static inline HTMLHtmlElement *impl_from_IHTMLHtmlElement(IHTMLHtmlElement *iface)
{
diff --git a/include/mshtml.idl b/include/mshtml.idl
index 3834bd1..660ed53 100644
--- a/include/mshtml.idl
+++ b/include/mshtml.idl
@@ -11649,6 +11649,22 @@ methods:
}
/*****************************************************************************
+ * HTMLHtmlElement coclass
+ */
+[
+ noncreatable,
+ uuid(3050f491-98b5-11cf-bb82-00aa00bdce0b)
+]
+coclass HTMLHtmlElement
+{
+ [default] dispinterface DispHTMLHtmlElement;
+ [source, default] dispinterface HTMLElementEvents;
+ [source] dispinterface HTMLElementEvents2;
+ WINE_HTMLELEMENT_INTERFACES;
+ interface IHTMLHtmlElement;
+}
+
+/*****************************************************************************
* DispHTMLHeadElement interface
*/
[
More information about the wine-cvs
mailing list