From 0f9885448e69a205d6f91985e4e5028f703bbee6 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Thu, 28 Feb 2013 13:14:57 +0100 Subject: [PATCH] mshtml.idl: Added IHTMLLabelElement* interfaces declarations. --- include/mshtmdid.h | 7 ++++++ include/mshtml.idl | 62 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/include/mshtmdid.h b/include/mshtmdid.h index d885ee37485..08dd25deabb 100644 --- a/include/mshtmdid.h +++ b/include/mshtmdid.h @@ -2377,6 +2377,13 @@ #define DISPID_IHTMLANCHORELEMENT3_IE8_COORDS DISPID_IE8_ANCHOR+2 #define DISPID_IHTMLANCHORELEMENT3_IE8_HREF DISPID_IE8_ANCHOR+3 +/* IHTMLLabelElement */ +#define DISPID_IHTMLLABELELEMENT_HTMLFOR DISPID_LABEL +#define DISPID_IHTMLLABELELEMENT_ACCESSKEY DISPID_SITE+5 + +/* IHTMLLabelElement2 */ +#define DISPID_IHTMLLABELELEMENT2_FORM DISPID_LABEL+2 + /* IHTMLTxtRange */ #define DISPID_IHTMLTXTRANGE_HTMLTEXT DISPID_RANGE+3 #define DISPID_IHTMLTXTRANGE_TEXT DISPID_RANGE+4 diff --git a/include/mshtml.idl b/include/mshtml.idl index 502b2861580..e1caea462d5 100644 --- a/include/mshtml.idl +++ b/include/mshtml.idl @@ -8967,6 +8967,68 @@ methods: BSTR ie8_href(); } +/***************************************************************************** + * IHTMLLabelElement interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f32a-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLLabelElement : IDispatch +{ + [propput, id(DISPID_IHTMLLABELELEMENT_HTMLFOR), displaybind, bindable] + HRESULT htmlFor([in] BSTR v); + + [propget, id(DISPID_IHTMLLABELELEMENT_HTMLFOR), displaybind, bindable] + HRESULT htmlFor([out, retval] BSTR *p); + + [propput, id(DISPID_IHTMLLABELELEMENT_ACCESSKEY), displaybind, bindable] + HRESULT accessKey([in] BSTR v); + + [propget, id(DISPID_IHTMLLABELELEMENT_ACCESSKEY), displaybind, bindable] + HRESULT accessKey([out, retval] BSTR *p); +} + +/***************************************************************************** + * IHTMLLabelElement2 interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f832-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLLabelElement2 : IDispatch +{ + [propget, id(DISPID_IHTMLLABELELEMENT2_FORM)] + HRESULT form([out, retval] IHTMLFormElement **p); +} + +/***************************************************************************** + * DispHTMLLabelElement dispinterface + */ +[ + hidden, + uuid(3050f522-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLLabelElement +{ +properties: +methods: + WINE_HTMLDATAELEMENT_DISPINTERFACE_DECL; + + [propput, id(DISPID_IHTMLLABELELEMENT_HTMLFOR), displaybind, bindable] + void htmlFor(BSTR v); + + [propget, id(DISPID_IHTMLLABELELEMENT_HTMLFOR), displaybind, bindable] + BSTR htmlFor(); + + [propget, id(DISPID_IHTMLLABELELEMENT2_FORM)] + IHTMLFormElement *form(); +} + /***************************************************************************** * IHTMLElementCollection interface */