From 85e9e2867cca8a830c65f705dffbb617739c3f14 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Fri, 14 Apr 2017 14:36:00 +0200 Subject: [PATCH] mshtml.idl: Added HTMLInputElement coclass declaration. Signed-off-by: Jacek Caban Signed-off-by: Alexandre Julliard --- dlls/mshtml/htmlinput.c | 4 ++-- include/mshtml.idl | 29 +++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 2 deletions(-) diff --git a/dlls/mshtml/htmlinput.c b/dlls/mshtml/htmlinput.c index 3a03611e36a..607e24fdc4d 100644 --- a/dlls/mshtml/htmlinput.c +++ b/dlls/mshtml/htmlinput.c @@ -34,14 +34,14 @@ WINE_DEFAULT_DEBUG_CHANNEL(mshtml); -typedef struct { +struct HTMLInputElement { HTMLElement element; IHTMLInputElement IHTMLInputElement_iface; IHTMLInputTextElement IHTMLInputTextElement_iface; nsIDOMHTMLInputElement *nsinput; -} HTMLInputElement; +}; static const WCHAR forW[] = {'f','o','r',0}; diff --git a/include/mshtml.idl b/include/mshtml.idl index b34d7bed6e0..91d38cbf3b6 100644 --- a/include/mshtml.idl +++ b/include/mshtml.idl @@ -11147,6 +11147,35 @@ methods: BSTR useMap(); } +/***************************************************************************** + * HTMLInputElement coclass + */ +[ + noncreatable, + uuid(3050f5d8-98b5-11cf-bb82-00aa00bdce0b) +] +coclass HTMLInputElement +{ + [default] dispinterface DispHTMLInputElement; + /* [source, default] dispinterface HTMLInputTextElementEvents; */ + /* [source] dispinterface HTMLInputTextElementEvents2; */ + /* [source] dispinterface HTMLOptionButtonElementEvents; */ + /* [source] dispinterface HTMLButtonElementEvents; */ + WINE_HTMLDATAELEMENT_INTERFACES; + interface IHTMLControlElement; + interface IHTMLInputElement; + /* interface IHTMLInputElement2; */ + interface IHTMLInputTextElement; + /* interface IHTMLInputTextElement2; */ + /* interface IHTMLInputHiddenElement; */ + /* interface IHTMLInputButtonElement; */ + /* interface IHTMLInputFileElement; */ + /* interface IHTMLOptionButtonElement; */ + /* interface IHTMLInputImage; */ + /* interface IHTMLInputElement3; */ + /* interface IHTMLInputRangeElement; */ +} + /***************************************************************************** * IHTMLTextAreaElement interface */