diff --git a/include/mshtmdid.h b/include/mshtmdid.h index 03d32da543c..9a5e2e9a9c9 100644 --- a/include/mshtmdid.h +++ b/include/mshtmdid.h @@ -1792,6 +1792,22 @@ #define DISPID_IHTMLINPUTELEMENT_HEIGHT STDPROPID_XOBJ_HEIGHT #define DISPID_IHTMLINPUTELEMENT_START DISPID_INPUT+20 +/* IHTMLInputTextElement */ +#define DISPID_IHTMLINPUTTEXTELEMENT_TYPE DISPID_INPUT +#define DISPID_IHTMLINPUTTEXTELEMENT_VALUE DISPID_A_VALUE +#define DISPID_IHTMLINPUTTEXTELEMENT_NAME STDPROPID_XOBJ_NAME +#define DISPID_IHTMLINPUTTEXTELEMENT_STATUS DISPID_INPUT+21 +#define DISPID_IHTMLINPUTTEXTELEMENT_DISABLED STDPROPID_XOBJ_DISABLED +#define DISPID_IHTMLINPUTTEXTELEMENT_FORM DISPID_SITE+4 +#define DISPID_IHTMLINPUTTEXTELEMENT_DEFAULTVALUE DISPID_DEFAULTVALUE +#define DISPID_IHTMLINPUTTEXTELEMENT_SIZE DISPID_INPUT+2 +#define DISPID_IHTMLINPUTTEXTELEMENT_MAXLENGTH DISPID_INPUT+3 +#define DISPID_IHTMLINPUTTEXTELEMENT_SELECT DISPID_INPUT+4 +#define DISPID_IHTMLINPUTTEXTELEMENT_ONCHANGE DISPID_EVPROP_ONCHANGE +#define DISPID_IHTMLINPUTTEXTELEMENT_ONSELECT DISPID_EVPROP_ONSELECT +#define DISPID_IHTMLINPUTTEXTELEMENT_READONLY DISPID_INPUT+5 +#define DISPID_IHTMLINPUTTEXTELEMENT_CREATETEXTRANGE DISPID_INPUT+6 + /* IHTMLSelectElement */ #define DISPID_IHTMLSELECTELEMENT_SIZE DISPID_SELECT+2 #define DISPID_IHTMLSELECTELEMENT_MULTIPLE DISPID_SELECT+3 diff --git a/include/mshtml.idl b/include/mshtml.idl index 9e302c03dd7..adc87ededdd 100644 --- a/include/mshtml.idl +++ b/include/mshtml.idl @@ -3614,6 +3614,90 @@ interface IHTMLInputElement : IDispatch HRESULT start([retval, out] BSTR *p); } +/***************************************************************************** + * IHTMLInputTextElement interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f2a6-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLInputTextElement : IDispatch +{ + [propget, id(DISPID_IHTMLINPUTTEXTELEMENT_TYPE)] + HRESULT type([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLINPUTTEXTELEMENT_VALUE), displaybind, bindable] + HRESULT value([in] BSTR v); + + [propget, id(DISPID_IHTMLINPUTTEXTELEMENT_VALUE), displaybind, bindable] + HRESULT value([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLINPUTTEXTELEMENT_NAME), displaybind, bindable] + HRESULT name([in] BSTR v); + + [propget, id(DISPID_IHTMLINPUTTEXTELEMENT_NAME), displaybind, bindable] + HRESULT name([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLINPUTTEXTELEMENT_STATUS)] + HRESULT status([in] VARIANT v); + + [propget, id(DISPID_IHTMLINPUTTEXTELEMENT_STATUS)] + HRESULT status([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLINPUTTEXTELEMENT_DISABLED), displaybind, bindable] + HRESULT disabled([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLINPUTTEXTELEMENT_DISABLED), displaybind, bindable] + HRESULT disabled([retval, out] VARIANT_BOOL *p); + + [propget, id(DISPID_IHTMLINPUTTEXTELEMENT_FORM)] + HRESULT form([retval, out] IHTMLFormElement **p); + + [propput, id(DISPID_IHTMLINPUTTEXTELEMENT_DEFAULTVALUE), displaybind, bindable, hidden] + HRESULT defaultValue([in] BSTR v); + + [propget, id(DISPID_IHTMLINPUTTEXTELEMENT_DEFAULTVALUE), displaybind, bindable, hidden] + HRESULT defaultValue([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLINPUTTEXTELEMENT_SIZE), displaybind, bindable] + HRESULT size([in] long v); + + [propget, id(DISPID_IHTMLINPUTTEXTELEMENT_SIZE), displaybind, bindable] + HRESULT size([retval, out] long *p); + + [propput, id(DISPID_IHTMLINPUTTEXTELEMENT_MAXLENGTH), displaybind, bindable] + HRESULT maxLength([in] long v); + + [propget, id(DISPID_IHTMLINPUTTEXTELEMENT_MAXLENGTH), displaybind, bindable] + HRESULT maxLength([retval, out] long *p); + + [id(DISPID_IHTMLINPUTTEXTELEMENT_SELECT)] + HRESULT select(); + + [propput, id(DISPID_IHTMLINPUTTEXTELEMENT_ONCHANGE), displaybind, bindable] + HRESULT onchange([in] VARIANT v); + + [propget, id(DISPID_IHTMLINPUTTEXTELEMENT_ONCHANGE), displaybind, bindable] + HRESULT onchange([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLINPUTTEXTELEMENT_ONSELECT), displaybind, bindable] + HRESULT onselect([in] VARIANT v); + + [propget, id(DISPID_IHTMLINPUTTEXTELEMENT_ONSELECT), displaybind, bindable] + HRESULT onselect([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLINPUTTEXTELEMENT_READONLY), displaybind, bindable] + HRESULT readOnly([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLINPUTTEXTELEMENT_READONLY), displaybind, bindable] + HRESULT readOnly([retval, out] VARIANT_BOOL *p); + + [id(DISPID_IHTMLINPUTTEXTELEMENT_CREATETEXTRANGE)] + HRESULT createTextRange([retval, out] IHTMLTxtRange **range); +} + /***************************************************************************** * IHTMLTextAreaElement interface */