diff --git a/dlls/mshtml/htmlselect.c b/dlls/mshtml/htmlselect.c index 2d5832600cd..7b63d9ef75a 100644 --- a/dlls/mshtml/htmlselect.c +++ b/dlls/mshtml/htmlselect.c @@ -33,13 +33,13 @@ WINE_DEFAULT_DEBUG_CHANNEL(mshtml); -typedef struct { +struct HTMLSelectElement { HTMLElement element; IHTMLSelectElement IHTMLSelectElement_iface; nsIDOMHTMLSelectElement *nsselect; -} HTMLSelectElement; +}; static inline HTMLSelectElement *impl_from_IHTMLSelectElement(IHTMLSelectElement *iface) { diff --git a/include/mshtml.idl b/include/mshtml.idl index a6072a643ee..b34d7bed6e0 100644 --- a/include/mshtml.idl +++ b/include/mshtml.idl @@ -10372,6 +10372,27 @@ methods: IDispatch *namedItem([in] BSTR name); } +/***************************************************************************** + * HTMLSelectElement coclass + */ +[ + noncreatable, + uuid(3050f245-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLSelectElement +{ + [default] dispinterface DispHTMLSelectElement; + /* [source, default] dispinterface HTMLSelectElementEvents; */ + /* [source] dispinterface HTMLSelectElementEvents2; */ + WINE_HTMLDATAELEMENT_INTERFACES; + interface IHTMLControlElement; + interface IHTMLSelectElement; + /* interface IHTMLSelectElement2; */ + /* interface IHTMLSelectElement4; */ + /* interface IHTMLSelectElement5; */ + /* interface IHTMLSelectElement6; */ +} + /***************************************************************************** * IHTMLSelectionObject interface */