Module: wine Branch: master Commit: a17e6b33c7189f13de6f96703d61b6cd7f77601c URL: http://source.winehq.org/git/wine.git/?a=commit;h=a17e6b33c7189f13de6f96703d... Author: Jacek Caban <jacek(a)codeweavers.com> Date: Fri Apr 14 14:35:40 2017 +0200 mshtml.idl: Added HTMLLabelElement coclass declaration. Signed-off-by: Jacek Caban <jacek(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/mshtml/htmlinput.c | 4 ++-- include/mshtml.idl | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/dlls/mshtml/htmlinput.c b/dlls/mshtml/htmlinput.c index 58919f5..3a03611 100644 --- a/dlls/mshtml/htmlinput.c +++ b/dlls/mshtml/htmlinput.c @@ -1371,11 +1371,11 @@ HRESULT HTMLInputElement_Create(HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem return S_OK; } -typedef struct { +struct HTMLLabelElement { HTMLElement element; IHTMLLabelElement IHTMLLabelElement_iface; -} HTMLLabelElement; +}; static inline HTMLLabelElement *impl_from_IHTMLLabelElement(IHTMLLabelElement *iface) { diff --git a/include/mshtml.idl b/include/mshtml.idl index 24721eb..a6072a6 100644 --- a/include/mshtml.idl +++ b/include/mshtml.idl @@ -10101,6 +10101,23 @@ methods: } /***************************************************************************** + * HTMLLabelElement coclass + */ +[ + noncreatable, + uuid(3050f32b-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLLabelElement +{ + [default] dispinterface DispHTMLLabelElement; + /* [source, default] dispinterface HTMLLabelEvents; */ + /* [source] dispinterface HTMLLabelEvents2; */ + WINE_HTMLDATAELEMENT_INTERFACES; + interface IHTMLLabelElement; + interface IHTMLLabelElement2; +} + +/***************************************************************************** * IHTMLElementCollection interface */ [