Commit 7119b989 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml.idl: Added IHTMLStyleElement and DispHTMLStyleElement declarations.

parent 6e796da7
...@@ -2596,6 +2596,16 @@ ...@@ -2596,6 +2596,16 @@
#define DISPID_IHTMLIFRAMEELEMENT2_HEIGHT STDPROPID_XOBJ_HEIGHT #define DISPID_IHTMLIFRAMEELEMENT2_HEIGHT STDPROPID_XOBJ_HEIGHT
#define DISPID_IHTMLIFRAMEELEMENT2_WIDTH STDPROPID_XOBJ_WIDTH #define DISPID_IHTMLIFRAMEELEMENT2_WIDTH STDPROPID_XOBJ_WIDTH
/* IHTMLStyleElement */
#define DISPID_IHTMLSTYLEELEMENT_TYPE DISPID_STYLEELEMENT+2
#define DISPID_IHTMLSTYLEELEMENT_READYSTATE DISPID_A_READYSTATE
#define DISPID_IHTMLSTYLEELEMENT_ONREADYSTATECHANGE DISPID_EVPROP_ONREADYSTATECHANGE
#define DISPID_IHTMLSTYLEELEMENT_ONLOAD DISPID_EVPROP_ONLOAD
#define DISPID_IHTMLSTYLEELEMENT_ONERROR DISPID_EVPROP_ONERROR
#define DISPID_IHTMLSTYLEELEMENT_STYLESHEET DISPID_STYLEELEMENT+4
#define DISPID_IHTMLSTYLEELEMENT_DISABLED STDPROPID_XOBJ_DISABLED
#define DISPID_IHTMLSTYLEELEMENT_MEDIA DISPID_STYLEELEMENT+6
/* IHTMLControlElement */ /* IHTMLControlElement */
#define DISPID_IHTMLCONTROLELEMENT_TABINDEX STDPROPID_XOBJ_TABINDEX #define DISPID_IHTMLCONTROLELEMENT_TABINDEX STDPROPID_XOBJ_TABINDEX
#define DISPID_IHTMLCONTROLELEMENT_FOCUS (DISPID_SITE+0) #define DISPID_IHTMLCONTROLELEMENT_FOCUS (DISPID_SITE+0)
......
...@@ -15574,6 +15574,101 @@ methods: ...@@ -15574,6 +15574,101 @@ methods:
} }
/***************************************************************************** /*****************************************************************************
* IHTMLStyleElement interface
*/
[
odl,
oleautomation,
dual,
uuid(3050f375-98b5-11cf-bb82-00aa00bdce0b)
]
interface IHTMLStyleElement : IDispatch
{
[propput, id(DISPID_IHTMLSTYLEELEMENT_TYPE), displaybind, bindable]
HRESULT type([in] BSTR v);
[propget, id(DISPID_IHTMLSTYLEELEMENT_TYPE), displaybind, bindable]
HRESULT type([retval, out] BSTR *p);
[propget, id(DISPID_IHTMLSTYLEELEMENT_READYSTATE)]
HRESULT readyState([retval, out] BSTR *p);
[propput, id(DISPID_IHTMLSTYLEELEMENT_ONREADYSTATECHANGE), displaybind, bindable]
HRESULT onreadystatechange([in] VARIANT v);
[propget, id(DISPID_IHTMLSTYLEELEMENT_ONREADYSTATECHANGE), displaybind, bindable]
HRESULT onreadystatechange([retval, out] VARIANT *p);
[propput, id(DISPID_IHTMLSTYLEELEMENT_ONLOAD), displaybind, bindable]
HRESULT onload([in] VARIANT v);
[propget, id(DISPID_IHTMLSTYLEELEMENT_ONLOAD), displaybind, bindable]
HRESULT onload([retval, out] VARIANT *p);
[propput, id(DISPID_IHTMLSTYLEELEMENT_ONERROR), displaybind, bindable]
HRESULT onerror([in] VARIANT v);
[propget, id(DISPID_IHTMLSTYLEELEMENT_ONERROR), displaybind, bindable]
HRESULT onerror([retval, out] VARIANT *p);
[propget, id(DISPID_IHTMLSTYLEELEMENT_STYLESHEET)]
HRESULT styleSheet([retval, out] IHTMLStyleSheet **p);
[propput, id(DISPID_IHTMLSTYLEELEMENT_DISABLED), displaybind, bindable]
HRESULT disabled([in] VARIANT_BOOL v);
[propget, id(DISPID_IHTMLSTYLEELEMENT_DISABLED), displaybind, bindable]
HRESULT disabled([retval, out] VARIANT_BOOL *p);
[propput, id(DISPID_IHTMLSTYLEELEMENT_MEDIA), displaybind, bindable]
HRESULT media([in] BSTR v);
[propget, id(DISPID_IHTMLSTYLEELEMENT_MEDIA), displaybind, bindable]
HRESULT media([retval, out] BSTR *p);
}
/*****************************************************************************
* DispHTMLStyleElement dispinterface
*/
[
hidden,
uuid(3050f511-98b5-11cf-bb82-00aa00bdce0b)
]
dispinterface DispHTMLStyleElement
{
properties:
methods:
WINE_HTMLELEMENT_DISPINTERFACE_DECL;
[propput, id(DISPID_IHTMLSTYLEELEMENT_TYPE), displaybind, bindable]
void type(BSTR v);
[propget, id(DISPID_IHTMLSTYLEELEMENT_TYPE), displaybind, bindable]
BSTR type();
[propput, id(DISPID_IHTMLSTYLEELEMENT_ONLOAD), displaybind, bindable]
void onload(VARIANT v);
[propget, id(DISPID_IHTMLSTYLEELEMENT_ONLOAD), displaybind, bindable]
VARIANT onload();
[propput, id(DISPID_IHTMLSTYLEELEMENT_ONERROR), displaybind, bindable]
void onerror(VARIANT v);
[propget, id(DISPID_IHTMLSTYLEELEMENT_ONERROR), displaybind, bindable]
VARIANT onerror();
[propget, id(DISPID_IHTMLSTYLEELEMENT_STYLESHEET)]
IHTMLStyleSheet *styleSheet();
[propput, id(DISPID_IHTMLSTYLEELEMENT_MEDIA), displaybind, bindable]
void media(BSTR v);
[propget, id(DISPID_IHTMLSTYLEELEMENT_MEDIA), displaybind, bindable]
BSTR media();
}
/*****************************************************************************
* IMarkupContainer interface * IMarkupContainer interface
*/ */
[ [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment