diff --git a/include/mshtmdid.h b/include/mshtmdid.h index 90313583b2e..8d66633348d 100644 --- a/include/mshtmdid.h +++ b/include/mshtmdid.h @@ -946,6 +946,20 @@ #define DISPID_IHTMLDOCUMENT6_IE8_GETELEMENTBYID DISPID_OMDOCUMENT+105 #define DISPID_IHTMLDOCUMENT6_UPDATESETTINGS DISPID_OMDOCUMENT+106 +/* IHTMLEmbedElement */ +#define DISPID_IHTMLEMBEDELEMENT_HIDDEN DISPID_OBJECT+10 +#define DISPID_IHTMLEMBEDELEMENT_PALETTE DISPID_OBJECT+4 +#define DISPID_IHTMLEMBEDELEMENT_PLUGINSPAGE DISPID_OBJECT+5 +#define DISPID_IHTMLEMBEDELEMENT_SRC DISPID_OBJECT+6 +#define DISPID_IHTMLEMBEDELEMENT_UNITS DISPID_OBJECT+8 +#define DISPID_IHTMLEMBEDELEMENT_NAME STDPROPID_XOBJ_NAME +#define DISPID_IHTMLEMBEDELEMENT_WIDTH STDPROPID_XOBJ_WIDTH +#define DISPID_IHTMLEMBEDELEMENT_HEIGHT STDPROPID_XOBJ_HEIGHT + +/* IHTMLEmbedElement2 */ +#define DISPID_IHTMLEMBEDELEMENT2_IE8_SRC DISPID_IE8_EMBED +#define DISPID_IHTMLEMBEDELEMENT2_IE8_PLUGINSPAGE DISPID_IE8_EMBED+1 + /* IHTMLElementCollection */ #define DISPID_IHTMLELEMENTCOLLECTION_LENGTH DISPID_COLLECTION #define DISPID_IHTMLELEMENTCOLLECTION_TOSTRING (DISPID_COLLECTION+1) diff --git a/include/mshtml.idl b/include/mshtml.idl index 414f639f7a1..d76f20c51ca 100644 --- a/include/mshtml.idl +++ b/include/mshtml.idl @@ -13093,6 +13093,125 @@ coclass HTMLDocument interface IHTMLDOMNode2; } +/***************************************************************************** + * IHTMLEmbedElement interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f25f-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLEmbedElement : IDispatch +{ + [propput, id(DISPID_IHTMLEMBEDELEMENT_HIDDEN)] + HRESULT hidden([in] BSTR v); + + [propget, id(DISPID_IHTMLEMBEDELEMENT_HIDDEN)] + HRESULT hidden([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLEMBEDELEMENT_PALETTE)] + HRESULT palette([retval, out] BSTR *p); + + [propget, id(DISPID_IHTMLEMBEDELEMENT_PLUGINSPAGE)] + HRESULT pluginspage([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLEMBEDELEMENT_SRC)] + HRESULT src([in] BSTR v); + + [propget, id(DISPID_IHTMLEMBEDELEMENT_SRC)] + HRESULT src([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLEMBEDELEMENT_UNITS)] + HRESULT units([in] BSTR v); + + [propget, id(DISPID_IHTMLEMBEDELEMENT_UNITS)] + HRESULT units([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLEMBEDELEMENT_NAME), displaybind, bindable] + HRESULT name([in] BSTR v); + + [propget, id(DISPID_IHTMLEMBEDELEMENT_NAME), displaybind, bindable] + HRESULT name([retval, out] BSTR *p); + + [propput, id(DISPID_IHTMLEMBEDELEMENT_WIDTH)] + HRESULT width([in] VARIANT v); + + [propget, id(DISPID_IHTMLEMBEDELEMENT_WIDTH)] + HRESULT width([retval, out] VARIANT *p); + + [propput, id(DISPID_IHTMLEMBEDELEMENT_HEIGHT)] + HRESULT height([in] VARIANT v); + + [propget, id(DISPID_IHTMLEMBEDELEMENT_HEIGHT)] + HRESULT height([retval, out] VARIANT *p); +} + +/***************************************************************************** + * DispHTMLEmbedElement dispinterface + */ +[ + hidden, + uuid(3050f52e-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLEmbed +{ +properties: +methods: + WINE_HTMLELEMENT_DISPINTERFACE_DECL; + + [propput, id(DISPID_IHTMLEMBEDELEMENT_HIDDEN)] + void hidden(BSTR v); + + [propget, id(DISPID_IHTMLEMBEDELEMENT_HIDDEN)] + BSTR hidden(); + + [propget, id(DISPID_IHTMLEMBEDELEMENT_PALETTE)] + BSTR palette(); + + [propget, id(DISPID_IHTMLEMBEDELEMENT_PLUGINSPAGE)] + BSTR pluginspage(); + + [propput, id(DISPID_IHTMLEMBEDELEMENT_SRC)] + void src(BSTR v); + + [propget, id(DISPID_IHTMLEMBEDELEMENT_SRC)] + BSTR src(); + + [propput, id(DISPID_IHTMLEMBEDELEMENT_UNITS)] + void units(BSTR v); + + [propget, id(DISPID_IHTMLEMBEDELEMENT_UNITS)] + BSTR units(); + + [propput, id(DISPID_IHTMLEMBEDELEMENT_NAME), displaybind, bindable] + void name(BSTR v); + + [propget, id(DISPID_IHTMLEMBEDELEMENT_NAME), displaybind, bindable] + BSTR name(); + + [propput, id(DISPID_IHTMLEMBEDELEMENT_WIDTH)] + void width(VARIANT v); + + [propget, id(DISPID_IHTMLEMBEDELEMENT_WIDTH)] + VARIANT width(); + + [propput, id(DISPID_IHTMLEMBEDELEMENT_HEIGHT)] + void height(VARIANT v); + + [propget, id(DISPID_IHTMLEMBEDELEMENT_HEIGHT)] + VARIANT height(); + + [propput, id(DISPID_IHTMLEMBEDELEMENT2_IE8_SRC)] + void ie8_src(BSTR v); + + [propget, id(DISPID_IHTMLEMBEDELEMENT2_IE8_SRC)] + BSTR ie8_src(); + + [propget, id(DISPID_IHTMLEMBEDELEMENT2_IE8_PLUGINSPAGE)] + BSTR ie8_pluginspage(); +} + /***************************************************************************** * IHTMLCommentElement interface */