Module: wine Branch: master Commit: 735147ad809d66ad383364c7a087b33b98b2b4fa URL: http://source.winehq.org/git/wine.git/?a=commit;h=735147ad809d66ad383364c7a0...
Author: Jacek Caban jacek@codeweavers.com Date: Fri Apr 14 14:36:20 2017 +0200
mshtml.idl: Added HTMLButtonElement coclass declaration.
Signed-off-by: Jacek Caban jacek@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/mshtml/htmlinput.c | 4 ++-- include/mshtml.idl | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/dlls/mshtml/htmlinput.c b/dlls/mshtml/htmlinput.c index 607e24f..196a47f 100644 --- a/dlls/mshtml/htmlinput.c +++ b/dlls/mshtml/htmlinput.c @@ -1559,13 +1559,13 @@ HRESULT HTMLLabelElement_Create(HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem return S_OK; }
-typedef struct { +struct HTMLButtonElement { HTMLElement element;
IHTMLButtonElement IHTMLButtonElement_iface;
nsIDOMHTMLButtonElement *nsbutton; -} HTMLButtonElement; +};
static inline HTMLButtonElement *impl_from_IHTMLButtonElement(IHTMLButtonElement *iface) { diff --git a/include/mshtml.idl b/include/mshtml.idl index b6922c7..3834bd1 100644 --- a/include/mshtml.idl +++ b/include/mshtml.idl @@ -11460,6 +11460,25 @@ methods: }
/***************************************************************************** + * HTMLButtonElement coclass + */ +[ + noncreatable, + uuid(3050f2c6-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLButtonElement +{ + [default] dispinterface DispHTMLButtonElement; + /* [source, default] dispinterface HTMLButtonElementEvents; */ + /* [source] dispinterface HTMLButtonElementEvents2; */ + WINE_HTMLDATAELEMENT_INTERFACES; + interface IHTMLControlElement; + interface IHTMLTextContainer; + interface IHTMLButtonElement; + /* interface IHTMLButtonElement2; */ +} + +/***************************************************************************** * IHTMLHtmlElement interface */ [