40 return IHTMLDOMNode_QueryInterface(&
This->element.node.IHTMLDOMNode_iface,
riid,
ppv);
47 return IHTMLDOMNode_AddRef(&
This->element.node.IHTMLDOMNode_iface);
54 return IHTMLDOMNode_Release(&
This->element.node.IHTMLDOMNode_iface);
60 return IDispatchEx_GetTypeInfoCount(&
This->element.node.event_target.dispex.IDispatchEx_iface, pctinfo);
67 return IDispatchEx_GetTypeInfo(&
This->element.node.event_target.dispex.IDispatchEx_iface, iTInfo, lcid,
75 return IDispatchEx_GetIDsOfNames(&
This->element.node.event_target.dispex.IDispatchEx_iface,
riid, rgszNames,
76 cNames, lcid, rgDispId);
81 VARIANT *pVarResult, EXCEPINFO *pExcepInfo,
UINT *puArgErr)
84 return IDispatchEx_Invoke(&
This->element.node.event_target.dispex.IDispatchEx_iface, dispIdMember,
riid,
85 lcid,
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
97 nsres = nsIDOMHTMLStyleElement_SetType(
This->nsstyle, &type_str);
100 ERR(
"SetType failed: %08x\n", nsres);
116 nsres = nsIDOMHTMLStyleElement_GetType(
This->nsstyle, &nsstr);
178 if(!
This->style_sheet) {
182 nsres = nsIDOMHTMLStyleElement_GetDOMStyleSheet(
This->nsstyle, &
ss);
187 nsIDOMStyleSheet_Release(
ss);
188 if(!
This->style_sheet)
193 if(
This->style_sheet)
194 IHTMLStyleSheet_AddRef(
This->style_sheet);
195 *
p =
This->style_sheet;
222 nsres = nsIDOMHTMLStyleElement_SetMedia(
This->nsstyle, &media_str);
225 ERR(
"SetMedia failed: %08x\n", nsres);
241 nsres = nsIDOMHTMLStyleElement_GetMedia(
This->nsstyle, &nsstr);
280 *
ppv = &
This->IHTMLStyleElement_iface;
283 *
ppv = &
This->IHTMLStyleElement_iface;
286 *
ppv = &
This->IHTMLStyleElement_iface;
299 if(
This->style_sheet) {
300 IHTMLStyleSheet_Release(
This->style_sheet);
323 nsIDOMHTMLStyleElement_Release(nsstyle);
349 IHTMLStyleElement_tid,
354 DispHTMLStyleElement_tid,
364 ret = heap_alloc_zero(
sizeof(*
ret));
373 nsres = nsIDOMHTMLElement_QueryInterface(nselem, &IID_nsIDOMHTMLStyleElement, (
void**)&
ret->nsstyle);
HRESULT HTMLElement_clone(HTMLDOMNode *iface, nsIDOMNode *nsnode, HTMLDOMNode **ret)
void HTMLElement_destructor(HTMLDOMNode *iface)
HRESULT HTMLElement_handle_event(HTMLDOMNode *iface, DWORD eid, nsIDOMEvent *event, BOOL *prevent_default)
const cpc_entry_t HTMLElement_cpc[]
void HTMLElement_Init(HTMLElement *This, HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, dispex_static_data_t *dispex_data)
HRESULT HTMLElement_get_attr_col(HTMLDOMNode *iface, HTMLAttributeCollection **ac)
HRESULT HTMLElement_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
static HRESULT WINAPI HTMLStyleElement_get_onload(IHTMLStyleElement *iface, VARIANT *p)
static HRESULT WINAPI HTMLStyleElement_get_onerror(IHTMLStyleElement *iface, VARIANT *p)
static HRESULT HTMLStyleElement_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
static HRESULT WINAPI HTMLStyleElement_get_media(IHTMLStyleElement *iface, BSTR *p)
static HRESULT WINAPI HTMLStyleElement_get_styleSheet(IHTMLStyleElement *iface, IHTMLStyleSheet **p)
static HRESULT WINAPI HTMLStyleElement_put_onreadystatechange(IHTMLStyleElement *iface, VARIANT v)
static HRESULT WINAPI HTMLStyleElement_get_type(IHTMLStyleElement *iface, BSTR *p)
static const tid_t HTMLStyleElement_iface_tids[]
static dispex_static_data_t HTMLStyleElement_dispex
static HRESULT WINAPI HTMLStyleElement_put_disabled(IHTMLStyleElement *iface, VARIANT_BOOL v)
static HRESULT WINAPI HTMLStyleElement_put_onerror(IHTMLStyleElement *iface, VARIANT v)
static void HTMLStyleElement_unlink(HTMLDOMNode *iface)
static HRESULT WINAPI HTMLStyleElement_put_onload(IHTMLStyleElement *iface, VARIANT v)
static HTMLStyleElement * impl_from_IHTMLStyleElement(IHTMLStyleElement *iface)
static HRESULT WINAPI HTMLStyleElement_QueryInterface(IHTMLStyleElement *iface, REFIID riid, void **ppv)
static HRESULT WINAPI HTMLStyleElement_get_onreadystatechange(IHTMLStyleElement *iface, VARIANT *p)
static HRESULT WINAPI HTMLStyleElement_put_type(IHTMLStyleElement *iface, BSTR v)
static const IHTMLStyleElementVtbl HTMLStyleElementVtbl
static void HTMLStyleElement_traverse(HTMLDOMNode *iface, nsCycleCollectionTraversalCallback *cb)
static const NodeImplVtbl HTMLStyleElementImplVtbl
static ULONG WINAPI HTMLStyleElement_AddRef(IHTMLStyleElement *iface)
static HRESULT WINAPI HTMLStyleElement_GetIDsOfNames(IHTMLStyleElement *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HTMLStyleElement * impl_from_HTMLDOMNode(HTMLDOMNode *iface)
static HRESULT WINAPI HTMLStyleElement_get_readyState(IHTMLStyleElement *iface, BSTR *p)
static HRESULT WINAPI HTMLStyleElement_get_disabled(IHTMLStyleElement *iface, VARIANT_BOOL *p)
HRESULT HTMLStyleElement_Create(HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, HTMLElement **elem)
static ULONG WINAPI HTMLStyleElement_Release(IHTMLStyleElement *iface)
static HRESULT WINAPI HTMLStyleElement_GetTypeInfoCount(IHTMLStyleElement *iface, UINT *pctinfo)
static HRESULT WINAPI HTMLStyleElement_Invoke(IHTMLStyleElement *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static HRESULT WINAPI HTMLStyleElement_GetTypeInfo(IHTMLStyleElement *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static void HTMLStyleElement_destructor(HTMLDOMNode *iface)
static HRESULT WINAPI HTMLStyleElement_put_media(IHTMLStyleElement *iface, BSTR v)
IHTMLStyleSheet * HTMLStyleSheet_Create(nsIDOMStyleSheet *nsstylesheet)
static const char * debugstr_variant(const VARIANT *var)
static HMODULE MODULEINFO DWORD cb
static VARIANTARG static DISPID
void nsAString_Finish(nsAString *) DECLSPEC_HIDDEN
void nsAString_InitDepend(nsAString *, const PRUnichar *) DECLSPEC_HIDDEN
BOOL nsAString_Init(nsAString *, const PRUnichar *) DECLSPEC_HIDDEN
struct nsCycleCollectionTraversalCallback nsCycleCollectionTraversalCallback
HRESULT return_nsstr(nsresult, nsAString *, BSTR *) DECLSPEC_HIDDEN
#define IsEqualGUID(rguid1, rguid2)
nsIDOMHTMLStyleElement * nsstyle
IHTMLStyleSheet * style_sheet
IHTMLStyleElement IHTMLStyleElement_iface
#define CONTAINING_RECORD(address, type, field)
_In_ DWORD _Out_ _In_ WORD wFlags