diff --git a/dlls/mshtml/htmlinput.c b/dlls/mshtml/htmlinput.c index 58919f5cb80..3a03611e36a 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 24721eb96fe..a6072a643ee 100644 --- a/include/mshtml.idl +++ b/include/mshtml.idl @@ -10100,6 +10100,23 @@ methods: IHTMLFormElement *form(); } +/***************************************************************************** + * 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 */