From 06ec294260def36dcf8c7fc0d7f7460ed5453729 Mon Sep 17 00:00:00 2001 From: Alex Henrie Date: Tue, 4 Aug 2015 08:36:46 -0600 Subject: [PATCH] include: Add IHTMLAreaElement and DispHTMLAreaElement. --- include/mshtmdid.h | 25 +++++ include/mshtml.idl | 227 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 252 insertions(+) diff --git a/include/mshtmdid.h b/include/mshtmdid.h index 722686a567d..7e010c6406c 100644 --- a/include/mshtmdid.h +++ b/include/mshtmdid.h @@ -2486,6 +2486,31 @@ #define DISPID_IHTMLANCHORELEMENT3_IE8_COORDS DISPID_IE8_ANCHOR+2 #define DISPID_IHTMLANCHORELEMENT3_IE8_HREF DISPID_IE8_ANCHOR+3 +/* IHTMLAreaElement */ +#define DISPID_IHTMLAREAELEMENT_SHAPE DISPID_AREA+1 +#define DISPID_IHTMLAREAELEMENT_COORDS DISPID_AREA+2 +#define DISPID_IHTMLAREAELEMENT_HREF DISPID_VALUE +#define DISPID_IHTMLAREAELEMENT_TARGET DISPID_AREA+4 +#define DISPID_IHTMLAREAELEMENT_ALT DISPID_AREA+5 +#define DISPID_IHTMLAREAELEMENT_NOHREF DISPID_AREA+6 +#define DISPID_IHTMLAREAELEMENT_HOST DISPID_AREA+7 +#define DISPID_IHTMLAREAELEMENT_HOSTNAME DISPID_AREA+8 +#define DISPID_IHTMLAREAELEMENT_PATHNAME DISPID_AREA+9 +#define DISPID_IHTMLAREAELEMENT_PORT DISPID_AREA+10 +#define DISPID_IHTMLAREAELEMENT_PROTOCOL DISPID_AREA+11 +#define DISPID_IHTMLAREAELEMENT_SEARCH DISPID_AREA+12 +#define DISPID_IHTMLAREAELEMENT_HASH DISPID_AREA+13 +#define DISPID_IHTMLAREAELEMENT_ONBLUR DISPID_EVPROP_ONBLUR +#define DISPID_IHTMLAREAELEMENT_ONFOCUS DISPID_EVPROP_ONFOCUS +#define DISPID_IHTMLAREAELEMENT_TABINDEX STDPROPID_XOBJ_TABINDEX +#define DISPID_IHTMLAREAELEMENT_FOCUS DISPID_SITE+0 +#define DISPID_IHTMLAREAELEMENT_BLUR DISPID_SITE+2 + +/* IHTMLAreaElement2 */ +#define DISPID_IHTMLAREAELEMENT2_IE8_SHAPE DISPID_IE8_AREA+1 +#define DISPID_IHTMLAREAELEMENT2_IE8_COORDS DISPID_IE8_AREA+2 +#define DISPID_IHTMLAREAELEMENT2_IE8_HREF DISPID_IE8_AREA+3 + /* IHTMLLabelElement */ #define DISPID_IHTMLLABELELEMENT_HTMLFOR DISPID_LABEL #define DISPID_IHTMLLABELELEMENT_ACCESSKEY DISPID_SITE+5 diff --git a/include/mshtml.idl b/include/mshtml.idl index d55a101d794..05f79ef4fa6 100644 --- a/include/mshtml.idl +++ b/include/mshtml.idl @@ -9157,6 +9157,233 @@ methods: BSTR ie8_href(); } +/***************************************************************************** + * IHTMLAreaElement interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f265-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLAreaElement : IDispatch +{ + [propput, id(DISPID_IHTMLAREAELEMENT_SHAPE)] + HRESULT shape([in] BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_SHAPE)] + HRESULT shape([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLAREAELEMENT_COORDS)] + HRESULT coords([in] BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_COORDS)] + HRESULT coords([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLAREAELEMENT_HREF)] + HRESULT href([in] BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_HREF)] + HRESULT href([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLAREAELEMENT_TARGET)] + HRESULT target([in] BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_TARGET)] + HRESULT target([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLAREAELEMENT_ALT)] + HRESULT alt([in] BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_ALT)] + HRESULT alt([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLAREAELEMENT_NOHREF)] + HRESULT noHref([in] VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLAREAELEMENT_NOHREF)] + HRESULT noHref([retval, out] VARIANT_BOOL *p); + + [propput, id(DISPID_IHTMLAREAELEMENT_HOST)] + HRESULT host([in] BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_HOST)] + HRESULT host([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLAREAELEMENT_HOSTNAME)] + HRESULT hostname([in] BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_HOSTNAME)] + HRESULT hostname([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLAREAELEMENT_PATHNAME)] + HRESULT pathname([in] BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_PATHNAME)] + HRESULT pathname([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLAREAELEMENT_PORT)] + HRESULT port([in] BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_PORT)] + HRESULT port([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLAREAELEMENT_PROTOCOL)] + HRESULT protocol([in] BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_PROTOCOL)] + HRESULT protocol([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLAREAELEMENT_SEARCH)] + HRESULT search([in] BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_SEARCH)] + HRESULT search([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLAREAELEMENT_HASH)] + HRESULT hash([in] BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_HASH)] + HRESULT hash([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLAREAELEMENT_ONBLUR), displaybind, bindable] + HRESULT onblur([in] VARIANT v); + + [propget, id(DISPID_IHTMLAREAELEMENT_ONBLUR), displaybind, bindable] + HRESULT onblur([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLAREAELEMENT_ONFOCUS), displaybind, bindable] + HRESULT onfocus([in] VARIANT v); + + [propget, id(DISPID_IHTMLAREAELEMENT_ONFOCUS), displaybind, bindable] + HRESULT onfocus([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLAREAELEMENT_TABINDEX), displaybind, bindable] + HRESULT tabIndex([in] short v); + + [propget, id(DISPID_IHTMLAREAELEMENT_TABINDEX), displaybind, bindable] + HRESULT tabIndex([retval, out] short *p); + + [id(DISPID_IHTMLAREAELEMENT_FOCUS)] + HRESULT focus(); + + [id(DISPID_IHTMLAREAELEMENT_BLUR)] + HRESULT blur(); +} + +/***************************************************************************** + * DispHTMLAreaElement dispinterface + */ +[ + hidden, + uuid(3050f503-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLAreaElement +{ +properties: +methods: + WINE_HTMLDATAELEMENT_DISPINTERFACE_DECL; + + [propget, id(DISPID_IHTMLDOMCONSTRUCTOR_CONSTRUCTOR), hidden] + IDispatch* constructor(); + + [propput, id(DISPID_IHTMLAREAELEMENT_SHAPE)] + void shape(BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_SHAPE)] + BSTR shape(); + + [propput, id(DISPID_IHTMLAREAELEMENT_COORDS)] + void coords(BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_COORDS)] + BSTR coords(); + + [propput, id(DISPID_IHTMLAREAELEMENT_HREF)] + void href(BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_HREF)] + BSTR href(); + + [propput, id(DISPID_IHTMLAREAELEMENT_TARGET)] + void target(BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_TARGET)] + BSTR target(); + + [propput, id(DISPID_IHTMLAREAELEMENT_ALT)] + void alt(BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_ALT)] + BSTR alt(); + + [propput, id(DISPID_IHTMLAREAELEMENT_NOHREF)] + void noHref(VARIANT_BOOL v); + + [propget, id(DISPID_IHTMLAREAELEMENT_NOHREF)] + VARIANT_BOOL noHref(); + + [propput, id(DISPID_IHTMLAREAELEMENT_HOST)] + void host(BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_HOST)] + BSTR host(); + + [propput, id(DISPID_IHTMLAREAELEMENT_HOSTNAME)] + void hostname(BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_HOSTNAME)] + BSTR hostname(); + + [propput, id(DISPID_IHTMLAREAELEMENT_PATHNAME)] + void pathname(BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_PATHNAME)] + BSTR pathname(); + + [propput, id(DISPID_IHTMLAREAELEMENT_PORT)] + void port(BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_PORT)] + BSTR port(); + + [propput, id(DISPID_IHTMLAREAELEMENT_PROTOCOL)] + void protocol(BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_PROTOCOL)] + BSTR protocol(); + + [propput, id(DISPID_IHTMLAREAELEMENT_SEARCH)] + void search(BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_SEARCH)] + BSTR search(); + + [propput, id(DISPID_IHTMLAREAELEMENT_HASH)] + void hash(BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT_HASH)] + BSTR hash(); + + [propput, id(DISPID_IHTMLAREAELEMENT2_IE8_SHAPE)] + void ie8_shape(BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT2_IE8_SHAPE)] + BSTR ie8_shape(); + + [propput, id(DISPID_IHTMLAREAELEMENT2_IE8_COORDS)] + void ie8_coords(BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT2_IE8_COORDS)] + BSTR ie8_coords(); + + [propput, id(DISPID_IHTMLAREAELEMENT2_IE8_HREF)] + void ie8_href(BSTR v); + + [propget, id(DISPID_IHTMLAREAELEMENT2_IE8_HREF)] + BSTR ie8_href(); +}; + /***************************************************************************** * IHTMLLabelElement interface */