ReactOS 0.4.16-dev-91-g764881a
htmlobject.c File Reference
#include "mshtml_private.h"
Include dependency graph for htmlobject.c:

Go to the source code of this file.

Classes

struct  HTMLObjectElement
 

Functions

static HTMLObjectElementimpl_from_IHTMLObjectElement (IHTMLObjectElement *iface)
 
static HRESULT WINAPI HTMLObjectElement_QueryInterface (IHTMLObjectElement *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI HTMLObjectElement_AddRef (IHTMLObjectElement *iface)
 
static ULONG WINAPI HTMLObjectElement_Release (IHTMLObjectElement *iface)
 
static HRESULT WINAPI HTMLObjectElement_GetTypeInfoCount (IHTMLObjectElement *iface, UINT *pctinfo)
 
static HRESULT WINAPI HTMLObjectElement_GetTypeInfo (IHTMLObjectElement *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
 
static HRESULT WINAPI HTMLObjectElement_GetIDsOfNames (IHTMLObjectElement *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
 
static HRESULT WINAPI HTMLObjectElement_Invoke (IHTMLObjectElement *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
 
static HRESULT WINAPI HTMLObjectElement_get_object (IHTMLObjectElement *iface, IDispatch **p)
 
static HRESULT WINAPI HTMLObjectElement_get_classid (IHTMLObjectElement *iface, BSTR *p)
 
static HRESULT WINAPI HTMLObjectElement_get_data (IHTMLObjectElement *iface, BSTR *p)
 
static HRESULT WINAPI HTMLObjectElement_put_recordset (IHTMLObjectElement *iface, IDispatch *v)
 
static HRESULT WINAPI HTMLObjectElement_get_recordset (IHTMLObjectElement *iface, IDispatch **p)
 
static HRESULT WINAPI HTMLObjectElement_put_align (IHTMLObjectElement *iface, BSTR v)
 
static HRESULT WINAPI HTMLObjectElement_get_align (IHTMLObjectElement *iface, BSTR *p)
 
static HRESULT WINAPI HTMLObjectElement_put_name (IHTMLObjectElement *iface, BSTR v)
 
static HRESULT WINAPI HTMLObjectElement_get_name (IHTMLObjectElement *iface, BSTR *p)
 
static HRESULT WINAPI HTMLObjectElement_put_codeBase (IHTMLObjectElement *iface, BSTR v)
 
static HRESULT WINAPI HTMLObjectElement_get_codeBase (IHTMLObjectElement *iface, BSTR *p)
 
static HRESULT WINAPI HTMLObjectElement_put_codeType (IHTMLObjectElement *iface, BSTR v)
 
static HRESULT WINAPI HTMLObjectElement_get_codeType (IHTMLObjectElement *iface, BSTR *p)
 
static HRESULT WINAPI HTMLObjectElement_put_code (IHTMLObjectElement *iface, BSTR v)
 
static HRESULT WINAPI HTMLObjectElement_get_code (IHTMLObjectElement *iface, BSTR *p)
 
static HRESULT WINAPI HTMLObjectElement_get_BaseHref (IHTMLObjectElement *iface, BSTR *p)
 
static HRESULT WINAPI HTMLObjectElement_put_type (IHTMLObjectElement *iface, BSTR v)
 
static HRESULT WINAPI HTMLObjectElement_get_type (IHTMLObjectElement *iface, BSTR *p)
 
static HRESULT WINAPI HTMLObjectElement_get_form (IHTMLObjectElement *iface, IHTMLFormElement **p)
 
static HRESULT WINAPI HTMLObjectElement_put_width (IHTMLObjectElement *iface, VARIANT v)
 
static HRESULT WINAPI HTMLObjectElement_get_width (IHTMLObjectElement *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLObjectElement_put_height (IHTMLObjectElement *iface, VARIANT v)
 
static HRESULT WINAPI HTMLObjectElement_get_height (IHTMLObjectElement *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLObjectElement_get_readyState (IHTMLObjectElement *iface, LONG *p)
 
static HRESULT WINAPI HTMLObjectElement_put_onreadystatechange (IHTMLObjectElement *iface, VARIANT v)
 
static HRESULT WINAPI HTMLObjectElement_get_onreadystatechange (IHTMLObjectElement *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLObjectElement_put_onerror (IHTMLObjectElement *iface, VARIANT v)
 
static HRESULT WINAPI HTMLObjectElement_get_onerror (IHTMLObjectElement *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLObjectElement_put_altHtml (IHTMLObjectElement *iface, BSTR v)
 
static HRESULT WINAPI HTMLObjectElement_get_altHtml (IHTMLObjectElement *iface, BSTR *p)
 
static HRESULT WINAPI HTMLObjectElement_put_vspace (IHTMLObjectElement *iface, LONG v)
 
static HRESULT WINAPI HTMLObjectElement_get_vspace (IHTMLObjectElement *iface, LONG *p)
 
static HRESULT WINAPI HTMLObjectElement_put_hspace (IHTMLObjectElement *iface, LONG v)
 
static HRESULT WINAPI HTMLObjectElement_get_hspace (IHTMLObjectElement *iface, LONG *p)
 
static HTMLObjectElementimpl_from_IHTMLObjectElement2 (IHTMLObjectElement2 *iface)
 
static HRESULT WINAPI HTMLObjectElement2_QueryInterface (IHTMLObjectElement2 *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI HTMLObjectElement2_AddRef (IHTMLObjectElement2 *iface)
 
static ULONG WINAPI HTMLObjectElement2_Release (IHTMLObjectElement2 *iface)
 
static HRESULT WINAPI HTMLObjectElement2_GetTypeInfoCount (IHTMLObjectElement2 *iface, UINT *pctinfo)
 
static HRESULT WINAPI HTMLObjectElement2_GetTypeInfo (IHTMLObjectElement2 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
 
static HRESULT WINAPI HTMLObjectElement2_GetIDsOfNames (IHTMLObjectElement2 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
 
static HRESULT WINAPI HTMLObjectElement2_Invoke (IHTMLObjectElement2 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
 
static HRESULT WINAPI HTMLObjectElement2_namedRecordset (IHTMLObjectElement2 *iface, BSTR dataMember, VARIANT *hierarchy, IDispatch **ppRecordset)
 
static HRESULT WINAPI HTMLObjectElement2_put_classid (IHTMLObjectElement2 *iface, BSTR v)
 
static HRESULT WINAPI HTMLObjectElement2_get_classid (IHTMLObjectElement2 *iface, BSTR *p)
 
static HRESULT WINAPI HTMLObjectElement2_put_data (IHTMLObjectElement2 *iface, BSTR v)
 
static HRESULT WINAPI HTMLObjectElement2_get_data (IHTMLObjectElement2 *iface, BSTR *p)
 
static HTMLObjectElementimpl_from_HTMLDOMNode (HTMLDOMNode *iface)
 
static HRESULT HTMLObjectElement_QI (HTMLDOMNode *iface, REFIID riid, void **ppv)
 
static void HTMLObjectElement_destructor (HTMLDOMNode *iface)
 
static HRESULT HTMLObjectElement_get_readystate (HTMLDOMNode *iface, BSTR *p)
 
static HRESULT HTMLObjectElement_get_dispid (HTMLDOMNode *iface, BSTR name, DWORD grfdex, DISPID *pid)
 
static HRESULT HTMLObjectElement_invoke (HTMLDOMNode *iface, DISPID id, LCID lcid, WORD flags, DISPPARAMS *params, VARIANT *res, EXCEPINFO *ei, IServiceProvider *caller)
 
static void HTMLObjectElement_traverse (HTMLDOMNode *iface, nsCycleCollectionTraversalCallback *cb)
 
static void HTMLObjectElement_unlink (HTMLDOMNode *iface)
 
HRESULT HTMLObjectElement_Create (HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, HTMLElement **elem)
 

Variables

static const IHTMLObjectElementVtbl HTMLObjectElementVtbl
 
static const IHTMLObjectElement2Vtbl HTMLObjectElement2Vtbl
 
static const NodeImplVtbl HTMLObjectElementImplVtbl
 
static const tid_t HTMLObjectElement_iface_tids []
 
static dispex_static_data_t HTMLObjectElement_dispex
 

Function Documentation

◆ HTMLObjectElement2_AddRef()

static ULONG WINAPI HTMLObjectElement2_AddRef ( IHTMLObjectElement2 *  iface)
static

Definition at line 505 of file htmlobject.c.

506{
508
509 return IHTMLDOMNode_AddRef(&This->plugin_container.element.node.IHTMLDOMNode_iface);
510}
static HTMLObjectElement * impl_from_IHTMLObjectElement2(IHTMLObjectElement2 *iface)
Definition: htmlobject.c:491

◆ HTMLObjectElement2_get_classid()

static HRESULT WINAPI HTMLObjectElement2_get_classid ( IHTMLObjectElement2 *  iface,
BSTR p 
)
static

Definition at line 587 of file htmlobject.c.

588{
590 FIXME("(%p)->(%p)\n", This, p);
591 return E_NOTIMPL;
592}
#define FIXME(fmt,...)
Definition: precomp.h:53
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLObjectElement2_get_data()

static HRESULT WINAPI HTMLObjectElement2_get_data ( IHTMLObjectElement2 *  iface,
BSTR p 
)
static

Definition at line 601 of file htmlobject.c.

602{
604 FIXME("(%p)->(%p)\n", This, p);
605 return E_NOTIMPL;
606}

◆ HTMLObjectElement2_GetIDsOfNames()

static HRESULT WINAPI HTMLObjectElement2_GetIDsOfNames ( IHTMLObjectElement2 *  iface,
REFIID  riid,
LPOLESTR rgszNames,
UINT  cNames,
LCID  lcid,
DISPID rgDispId 
)
static

Definition at line 534 of file htmlobject.c.

536{
538 return IDispatchEx_GetIDsOfNames(&This->plugin_container.element.node.event_target.dispex.IDispatchEx_iface,
539 riid, rgszNames, cNames, lcid, rgDispId);
540}
REFIID riid
Definition: atlbase.h:39

◆ HTMLObjectElement2_GetTypeInfo()

static HRESULT WINAPI HTMLObjectElement2_GetTypeInfo ( IHTMLObjectElement2 *  iface,
UINT  iTInfo,
LCID  lcid,
ITypeInfo **  ppTInfo 
)
static

Definition at line 526 of file htmlobject.c.

528{
530 return IDispatchEx_GetTypeInfo(&This->plugin_container.element.node.event_target.dispex.IDispatchEx_iface,
531 iTInfo, lcid, ppTInfo);
532}

◆ HTMLObjectElement2_GetTypeInfoCount()

static HRESULT WINAPI HTMLObjectElement2_GetTypeInfoCount ( IHTMLObjectElement2 *  iface,
UINT pctinfo 
)
static

Definition at line 519 of file htmlobject.c.

520{
522 return IDispatchEx_GetTypeInfoCount(&This->plugin_container.element.node.event_target.dispex.IDispatchEx_iface,
523 pctinfo);
524}

◆ HTMLObjectElement2_Invoke()

static HRESULT WINAPI HTMLObjectElement2_Invoke ( IHTMLObjectElement2 *  iface,
DISPID  dispIdMember,
REFIID  riid,
LCID  lcid,
WORD  wFlags,
DISPPARAMS *  pDispParams,
VARIANT pVarResult,
EXCEPINFO *  pExcepInfo,
UINT puArgErr 
)
static

Definition at line 542 of file htmlobject.c.

545{
547 return IDispatchEx_Invoke(&This->plugin_container.element.node.event_target.dispex.IDispatchEx_iface,
548 dispIdMember, riid, lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
549}
_In_ DWORD _Out_ _In_ WORD wFlags
Definition: wincon.h:531

◆ HTMLObjectElement2_namedRecordset()

static HRESULT WINAPI HTMLObjectElement2_namedRecordset ( IHTMLObjectElement2 *  iface,
BSTR  dataMember,
VARIANT hierarchy,
IDispatch **  ppRecordset 
)
static

Definition at line 551 of file htmlobject.c.

553{
555 FIXME("(%p)->(%s %p %p)\n", This, debugstr_w(dataMember), hierarchy, ppRecordset);
556 return E_NOTIMPL;
557}
#define debugstr_w
Definition: kernel32.h:32
static const h_entry hierarchy[]
Definition: dialog.c:66

◆ HTMLObjectElement2_put_classid()

static HRESULT WINAPI HTMLObjectElement2_put_classid ( IHTMLObjectElement2 *  iface,
BSTR  v 
)
static

Definition at line 559 of file htmlobject.c.

560{
563
564 static const WCHAR classidW[] = {'c','l','a','s','s','i','d',0};
565
566 FIXME("(%p)->(%s) semi-stub\n", This, debugstr_w(v));
567
568 hres = elem_string_attr_setter(&This->plugin_container.element, classidW, v);
569 if(FAILED(hres))
570 return hres;
571
572 if(This->plugin_container.plugin_host) {
573 FIXME("Host already associated.\n");
574 return E_NOTIMPL;
575 }
576
577 /*
578 * NOTE:
579 * If the element is not yet in DOM tree, we should embed it as soon as it's added.
580 * However, Gecko for some reason decides not to create NP plugin in this case,
581 * so this won't work.
582 */
583
584 return create_plugin_host(This->plugin_container.element.node.doc, &This->plugin_container);
585}
const GLdouble * v
Definition: gl.h:2040
HRESULT elem_string_attr_setter(HTMLElement *elem, const WCHAR *name, const WCHAR *value)
Definition: htmlelem.c:186
#define FAILED(hr)
Definition: intsafe.h:51
HRESULT hres
Definition: protocol.c:465
HRESULT create_plugin_host(HTMLDocumentNode *doc, HTMLPluginContainer *container)
Definition: pluginhost.c:2048
__wchar_t WCHAR
Definition: xmlstorage.h:180

◆ HTMLObjectElement2_put_data()

static HRESULT WINAPI HTMLObjectElement2_put_data ( IHTMLObjectElement2 *  iface,
BSTR  v 
)
static

Definition at line 594 of file htmlobject.c.

595{
597 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
598 return E_NOTIMPL;
599}

◆ HTMLObjectElement2_QueryInterface()

static HRESULT WINAPI HTMLObjectElement2_QueryInterface ( IHTMLObjectElement2 *  iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 496 of file htmlobject.c.

498{
500
501 return IHTMLDOMNode_QueryInterface(&This->plugin_container.element.node.IHTMLDOMNode_iface,
502 riid, ppv);
503}
REFIID LPVOID * ppv
Definition: atlbase.h:39

◆ HTMLObjectElement2_Release()

static ULONG WINAPI HTMLObjectElement2_Release ( IHTMLObjectElement2 *  iface)
static

Definition at line 512 of file htmlobject.c.

513{
515
516 return IHTMLDOMNode_Release(&This->plugin_container.element.node.IHTMLDOMNode_iface);
517}

◆ HTMLObjectElement_AddRef()

static ULONG WINAPI HTMLObjectElement_AddRef ( IHTMLObjectElement *  iface)
static

Definition at line 44 of file htmlobject.c.

45{
47
48 return IHTMLDOMNode_AddRef(&This->plugin_container.element.node.IHTMLDOMNode_iface);
49}
static HTMLObjectElement * impl_from_IHTMLObjectElement(IHTMLObjectElement *iface)
Definition: htmlobject.c:30

◆ HTMLObjectElement_Create()

HRESULT HTMLObjectElement_Create ( HTMLDocumentNode doc,
nsIDOMHTMLElement nselem,
HTMLElement **  elem 
)

Definition at line 764 of file htmlobject.c.

765{
767 nsresult nsres;
768
769 ret = heap_alloc_zero(sizeof(*ret));
770 if(!ret)
771 return E_OUTOFMEMORY;
772
773 ret->IHTMLObjectElement_iface.lpVtbl = &HTMLObjectElementVtbl;
774 ret->IHTMLObjectElement2_iface.lpVtbl = &HTMLObjectElement2Vtbl;
775 ret->plugin_container.element.node.vtbl = &HTMLObjectElementImplVtbl;
776
777 HTMLElement_Init(&ret->plugin_container.element, doc, nselem, &HTMLObjectElement_dispex);
778
779 nsres = nsIDOMHTMLElement_QueryInterface(nselem, &IID_nsIDOMHTMLObjectElement, (void**)&ret->nsobject);
780 assert(nsres == NS_OK);
781
782 *elem = &ret->plugin_container.element;
783 return S_OK;
784}
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
#define assert(x)
Definition: debug.h:53
void HTMLElement_Init(HTMLElement *This, HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, dispex_static_data_t *dispex_data)
Definition: htmlelem.c:4008
static const IHTMLObjectElementVtbl HTMLObjectElementVtbl
Definition: htmlobject.c:447
static const IHTMLObjectElement2Vtbl HTMLObjectElement2Vtbl
Definition: htmlobject.c:608
static const NodeImplVtbl HTMLObjectElementImplVtbl
Definition: htmlobject.c:731
static dispex_static_data_t HTMLObjectElement_dispex
Definition: htmlobject.c:757
#define S_OK
Definition: intsafe.h:52
static size_t elem
Definition: string.c:68
#define NS_OK
int ret

◆ HTMLObjectElement_destructor()

static void HTMLObjectElement_destructor ( HTMLDOMNode iface)
static

Definition at line 674 of file htmlobject.c.

675{
677
678 if(This->plugin_container.plugin_host)
679 detach_plugin_host(This->plugin_container.plugin_host);
680
681 HTMLElement_destructor(&This->plugin_container.element.node);
682}
void HTMLElement_destructor(HTMLDOMNode *iface)
Definition: htmlelem.c:3764
static HTMLObjectElement * impl_from_HTMLDOMNode(HTMLDOMNode *iface)
Definition: htmlobject.c:623
void detach_plugin_host(PluginHost *host)
Definition: pluginhost.c:1988

◆ HTMLObjectElement_get_align()

static HRESULT WINAPI HTMLObjectElement_get_align ( IHTMLObjectElement *  iface,
BSTR p 
)
static

Definition at line 139 of file htmlobject.c.

140{
142 FIXME("(%p)->(%p)\n", This, p);
143 return E_NOTIMPL;
144}

◆ HTMLObjectElement_get_altHtml()

static HRESULT WINAPI HTMLObjectElement_get_altHtml ( IHTMLObjectElement *  iface,
BSTR p 
)
static

Definition at line 403 of file htmlobject.c.

404{
406 FIXME("(%p)->(%p)\n", This, p);
407 return E_NOTIMPL;
408}

◆ HTMLObjectElement_get_BaseHref()

static HRESULT WINAPI HTMLObjectElement_get_BaseHref ( IHTMLObjectElement *  iface,
BSTR p 
)
static

Definition at line 215 of file htmlobject.c.

216{
218 FIXME("(%p)->(%p)\n", This, p);
219 return E_NOTIMPL;
220}

◆ HTMLObjectElement_get_classid()

static HRESULT WINAPI HTMLObjectElement_get_classid ( IHTMLObjectElement *  iface,
BSTR p 
)
static

Definition at line 100 of file htmlobject.c.

101{
103
104 TRACE("(%p)->(%p)\n", This, p);
105
106 return IHTMLObjectElement2_get_classid(&This->IHTMLObjectElement2_iface, p);
107}
#define TRACE(s)
Definition: solgame.cpp:4

◆ HTMLObjectElement_get_code()

static HRESULT WINAPI HTMLObjectElement_get_code ( IHTMLObjectElement *  iface,
BSTR p 
)
static

Definition at line 208 of file htmlobject.c.

209{
211 FIXME("(%p)->(%p)\n", This, p);
212 return E_NOTIMPL;
213}

◆ HTMLObjectElement_get_codeBase()

static HRESULT WINAPI HTMLObjectElement_get_codeBase ( IHTMLObjectElement *  iface,
BSTR p 
)
static

Definition at line 180 of file htmlobject.c.

181{
183 FIXME("(%p)->(%p)\n", This, p);
184 return E_NOTIMPL;
185}

◆ HTMLObjectElement_get_codeType()

static HRESULT WINAPI HTMLObjectElement_get_codeType ( IHTMLObjectElement *  iface,
BSTR p 
)
static

Definition at line 194 of file htmlobject.c.

195{
197 FIXME("(%p)->(%p)\n", This, p);
198 return E_NOTIMPL;
199}

◆ HTMLObjectElement_get_data()

static HRESULT WINAPI HTMLObjectElement_get_data ( IHTMLObjectElement *  iface,
BSTR p 
)
static

Definition at line 109 of file htmlobject.c.

110{
112
113 TRACE("(%p)->(%p)\n", This, p);
114
115 return IHTMLObjectElement2_get_data(&This->IHTMLObjectElement2_iface, p);
116}

◆ HTMLObjectElement_get_dispid()

static HRESULT HTMLObjectElement_get_dispid ( HTMLDOMNode iface,
BSTR  name,
DWORD  grfdex,
DISPID pid 
)
static

Definition at line 691 of file htmlobject.c.

693{
695
696 TRACE("(%p)->(%s %x %p)\n", This, debugstr_w(name), grfdex, pid);
697
698 return get_plugin_dispid(&This->plugin_container, name, pid);
699}
HRESULT get_plugin_dispid(HTMLPluginContainer *plugin_container, WCHAR *name, DISPID *ret)
Definition: pluginhost.c:377
Definition: name.c:39
_In_ ULONG_PTR _In_ ULONG _Out_ ULONG_PTR * pid
Definition: winddi.h:3837

◆ HTMLObjectElement_get_form()

static HRESULT WINAPI HTMLObjectElement_get_form ( IHTMLObjectElement *  iface,
IHTMLFormElement **  p 
)
static

Definition at line 236 of file htmlobject.c.

237{
239 FIXME("(%p)->(%p)\n", This, p);
240 return E_NOTIMPL;
241}

◆ HTMLObjectElement_get_height()

static HRESULT WINAPI HTMLObjectElement_get_height ( IHTMLObjectElement *  iface,
VARIANT p 
)
static

Definition at line 334 of file htmlobject.c.

335{
337 nsAString height_str;
338 nsresult nsres;
340
341 TRACE("(%p)->(%p)\n", This, p);
342
343 nsAString_Init(&height_str, NULL);
344 nsres = nsIDOMHTMLObjectElement_GetHeight(This->nsobject, &height_str);
345 if(NS_SUCCEEDED(nsres)) {
346 const PRUnichar *height;
347
348 nsAString_GetData(&height_str, &height);
349 V_VT(p) = VT_BSTR;
352 }else {
353 ERR("GetHeight failed: %08x\n", nsres);
354 hres = E_FAIL;
355 }
356
357 nsAString_Finish(&height_str);
358 return hres;
359}
#define ERR(fmt,...)
Definition: precomp.h:57
#define E_FAIL
Definition: ddrawi.h:102
#define NULL
Definition: types.h:112
@ VT_BSTR
Definition: compat.h:2303
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
void nsAString_Finish(nsAString *) DECLSPEC_HIDDEN
Definition: nsembed.c:836
UINT32 nsAString_GetData(const nsAString *, const PRUnichar **) DECLSPEC_HIDDEN
Definition: nsembed.c:831
BOOL nsAString_Init(nsAString *, const PRUnichar *) DECLSPEC_HIDDEN
Definition: nsembed.c:817
#define NS_SUCCEEDED(res)
WCHAR PRUnichar
Definition: nsiface.idl:48
BSTR WINAPI SysAllocString(LPCOLESTR str)
Definition: oleaut.c:238
#define V_VT(A)
Definition: oleauto.h:211
#define V_BSTR(A)
Definition: oleauto.h:226

◆ HTMLObjectElement_get_hspace()

static HRESULT WINAPI HTMLObjectElement_get_hspace ( IHTMLObjectElement *  iface,
LONG p 
)
static

Definition at line 440 of file htmlobject.c.

441{
443 FIXME("(%p)->(%p)\n", This, p);
444 return E_NOTIMPL;
445}

◆ HTMLObjectElement_get_name()

static HRESULT WINAPI HTMLObjectElement_get_name ( IHTMLObjectElement *  iface,
BSTR p 
)
static

Definition at line 160 of file htmlobject.c.

161{
163 nsAString nsstr;
164 nsresult nsres;
165
166 TRACE("(%p)->(%p)\n", This, p);
167
168 nsAString_Init(&nsstr, NULL);
169 nsres = nsIDOMHTMLObjectElement_GetName(This->nsobject, &nsstr);
170 return return_nsstr(nsres, &nsstr, p);
171}
HRESULT return_nsstr(nsresult, nsAString *, BSTR *) DECLSPEC_HIDDEN
Definition: nsembed.c:841

◆ HTMLObjectElement_get_object()

static HRESULT WINAPI HTMLObjectElement_get_object ( IHTMLObjectElement *  iface,
IDispatch **  p 
)
static

Definition at line 91 of file htmlobject.c.

92{
94
95 TRACE("(%p)->(%p)\n", This, p);
96
97 return get_plugin_disp(&This->plugin_container, p);
98}
HRESULT get_plugin_disp(HTMLPluginContainer *plugin_container, IDispatch **ret)
Definition: pluginhost.c:352

◆ HTMLObjectElement_get_onerror()

static HRESULT WINAPI HTMLObjectElement_get_onerror ( IHTMLObjectElement *  iface,
VARIANT p 
)
static

Definition at line 389 of file htmlobject.c.

390{
392 FIXME("(%p)->(%p)\n", This, p);
393 return E_NOTIMPL;
394}

◆ HTMLObjectElement_get_onreadystatechange()

static HRESULT WINAPI HTMLObjectElement_get_onreadystatechange ( IHTMLObjectElement *  iface,
VARIANT p 
)
static

Definition at line 375 of file htmlobject.c.

376{
378 FIXME("(%p)->(%p)\n", This, p);
379 return E_NOTIMPL;
380}

◆ HTMLObjectElement_get_readystate()

static HRESULT HTMLObjectElement_get_readystate ( HTMLDOMNode iface,
BSTR p 
)
static

Definition at line 684 of file htmlobject.c.

685{
687 FIXME("(%p)->(%p)\n", This, p);
688 return E_NOTIMPL;
689}

◆ HTMLObjectElement_get_readyState()

static HRESULT WINAPI HTMLObjectElement_get_readyState ( IHTMLObjectElement *  iface,
LONG p 
)
static

Definition at line 361 of file htmlobject.c.

362{
364 FIXME("(%p)->(%p)\n", This, p);
365 return E_NOTIMPL;
366}

◆ HTMLObjectElement_get_recordset()

static HRESULT WINAPI HTMLObjectElement_get_recordset ( IHTMLObjectElement *  iface,
IDispatch **  p 
)
static

Definition at line 125 of file htmlobject.c.

126{
128 FIXME("(%p)->(%p)\n", This, p);
129 return E_NOTIMPL;
130}

◆ HTMLObjectElement_get_type()

static HRESULT WINAPI HTMLObjectElement_get_type ( IHTMLObjectElement *  iface,
BSTR p 
)
static

Definition at line 229 of file htmlobject.c.

230{
232 FIXME("(%p)->(%p)\n", This, p);
233 return E_NOTIMPL;
234}

◆ HTMLObjectElement_get_vspace()

static HRESULT WINAPI HTMLObjectElement_get_vspace ( IHTMLObjectElement *  iface,
LONG p 
)
static

Definition at line 417 of file htmlobject.c.

418{
420 nsresult nsres;
421
422 TRACE("(%p)->(%p)\n", This, p);
423
424 nsres = nsIDOMHTMLObjectElement_GetVspace(This->nsobject, p);
425 if(NS_FAILED(nsres)) {
426 ERR("GetVspace failed: %08x\n", nsres);
427 return E_FAIL;
428 }
429
430 return S_OK;
431}
#define NS_FAILED(res)

◆ HTMLObjectElement_get_width()

static HRESULT WINAPI HTMLObjectElement_get_width ( IHTMLObjectElement *  iface,
VARIANT p 
)
static

Definition at line 275 of file htmlobject.c.

276{
278 nsAString width_str;
279 nsresult nsres;
281
282 TRACE("(%p)->(%p)\n", This, p);
283
284 nsAString_Init(&width_str, NULL);
285 nsres = nsIDOMHTMLObjectElement_GetWidth(This->nsobject, &width_str);
286 if(NS_SUCCEEDED(nsres)) {
287 const PRUnichar *width;
288
289 nsAString_GetData(&width_str, &width);
290 V_VT(p) = VT_BSTR;
293 }else {
294 ERR("GetWidth failed: %08x\n", nsres);
295 hres = E_FAIL;
296 }
297
298 nsAString_Finish(&width_str);
299 return hres;
300}
GLint GLint GLsizei width
Definition: gl.h:1546

◆ HTMLObjectElement_GetIDsOfNames()

static HRESULT WINAPI HTMLObjectElement_GetIDsOfNames ( IHTMLObjectElement *  iface,
REFIID  riid,
LPOLESTR rgszNames,
UINT  cNames,
LCID  lcid,
DISPID rgDispId 
)
static

Definition at line 73 of file htmlobject.c.

76{
78 return IDispatchEx_GetIDsOfNames(&This->plugin_container.element.node.event_target.dispex.IDispatchEx_iface,
79 riid, rgszNames, cNames, lcid, rgDispId);
80}

◆ HTMLObjectElement_GetTypeInfo()

static HRESULT WINAPI HTMLObjectElement_GetTypeInfo ( IHTMLObjectElement *  iface,
UINT  iTInfo,
LCID  lcid,
ITypeInfo **  ppTInfo 
)
static

Definition at line 65 of file htmlobject.c.

67{
69 return IDispatchEx_GetTypeInfo(&This->plugin_container.element.node.event_target.dispex.IDispatchEx_iface,
70 iTInfo, lcid, ppTInfo);
71}

◆ HTMLObjectElement_GetTypeInfoCount()

static HRESULT WINAPI HTMLObjectElement_GetTypeInfoCount ( IHTMLObjectElement *  iface,
UINT pctinfo 
)
static

Definition at line 58 of file htmlobject.c.

59{
61 return IDispatchEx_GetTypeInfoCount(&This->plugin_container.element.node.event_target.dispex.IDispatchEx_iface,
62 pctinfo);
63}

◆ HTMLObjectElement_invoke()

static HRESULT HTMLObjectElement_invoke ( HTMLDOMNode iface,
DISPID  id,
LCID  lcid,
WORD  flags,
DISPPARAMS *  params,
VARIANT res,
EXCEPINFO *  ei,
IServiceProvider caller 
)
static

Definition at line 701 of file htmlobject.c.

703{
705
706 TRACE("(%p)->(%d)\n", This, id);
707
708 return invoke_plugin_prop(&This->plugin_container, id, lcid, flags, params, res, ei);
709}
GLuint res
Definition: glext.h:9613
GLenum const GLfloat * params
Definition: glext.h:5645
GLbitfield flags
Definition: glext.h:7161
HRESULT invoke_plugin_prop(HTMLPluginContainer *plugin_container, DISPID id, LCID lcid, WORD flags, DISPPARAMS *params, VARIANT *res, EXCEPINFO *ei)
Definition: pluginhost.c:428

◆ HTMLObjectElement_Invoke()

static HRESULT WINAPI HTMLObjectElement_Invoke ( IHTMLObjectElement *  iface,
DISPID  dispIdMember,
REFIID  riid,
LCID  lcid,
WORD  wFlags,
DISPPARAMS *  pDispParams,
VARIANT pVarResult,
EXCEPINFO *  pExcepInfo,
UINT puArgErr 
)
static

Definition at line 82 of file htmlobject.c.

85{
87 return IDispatchEx_Invoke(&This->plugin_container.element.node.event_target.dispex.IDispatchEx_iface,
88 dispIdMember, riid, lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
89}

◆ HTMLObjectElement_put_align()

static HRESULT WINAPI HTMLObjectElement_put_align ( IHTMLObjectElement *  iface,
BSTR  v 
)
static

Definition at line 132 of file htmlobject.c.

133{
135 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
136 return E_NOTIMPL;
137}

◆ HTMLObjectElement_put_altHtml()

static HRESULT WINAPI HTMLObjectElement_put_altHtml ( IHTMLObjectElement *  iface,
BSTR  v 
)
static

Definition at line 396 of file htmlobject.c.

397{
399 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
400 return E_NOTIMPL;
401}

◆ HTMLObjectElement_put_code()

static HRESULT WINAPI HTMLObjectElement_put_code ( IHTMLObjectElement *  iface,
BSTR  v 
)
static

Definition at line 201 of file htmlobject.c.

202{
204 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
205 return E_NOTIMPL;
206}

◆ HTMLObjectElement_put_codeBase()

static HRESULT WINAPI HTMLObjectElement_put_codeBase ( IHTMLObjectElement *  iface,
BSTR  v 
)
static

Definition at line 173 of file htmlobject.c.

174{
176 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
177 return E_NOTIMPL;
178}

◆ HTMLObjectElement_put_codeType()

static HRESULT WINAPI HTMLObjectElement_put_codeType ( IHTMLObjectElement *  iface,
BSTR  v 
)
static

Definition at line 187 of file htmlobject.c.

188{
190 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
191 return E_NOTIMPL;
192}

◆ HTMLObjectElement_put_height()

static HRESULT WINAPI HTMLObjectElement_put_height ( IHTMLObjectElement *  iface,
VARIANT  v 
)
static

Definition at line 302 of file htmlobject.c.

303{
305 nsAString height_str;
306 PRUnichar buf[12];
307 nsresult nsres;
308
309 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
310
311 switch(V_VT(&v)) {
312 case VT_I4: {
313 static const WCHAR formatW[] = {'%','d',0};
314 sprintfW(buf, formatW, V_I4(&v));
315 break;
316 }
317 default:
318 FIXME("unimplemented for arg %s\n", debugstr_variant(&v));
319 return E_NOTIMPL;
320 }
321
322 nsAString_InitDepend(&height_str, buf);
323 nsres = nsIDOMHTMLObjectElement_SetHeight(This->nsobject, &height_str);
324 nsAString_Finish(&height_str);
325 if(NS_FAILED(nsres)) {
326 FIXME("SetHeight failed: %08x\n", nsres);
327 return E_FAIL;
328 }
329
330 notif_container_change(&This->plugin_container, DISPID_UNKNOWN);
331 return S_OK;
332}
@ VT_I4
Definition: compat.h:2298
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
static const char * debugstr_variant(const VARIANT *var)
Definition: container.c:46
void nsAString_InitDepend(nsAString *, const PRUnichar *) DECLSPEC_HIDDEN
Definition: nsembed.c:826
#define V_I4(A)
Definition: oleauto.h:247
void notif_container_change(HTMLPluginContainer *plugin_container, DISPID dispid)
Definition: pluginhost.c:335
#define sprintfW
Definition: unicode.h:64

◆ HTMLObjectElement_put_hspace()

static HRESULT WINAPI HTMLObjectElement_put_hspace ( IHTMLObjectElement *  iface,
LONG  v 
)
static

Definition at line 433 of file htmlobject.c.

434{
436 FIXME("(%p)->(%d)\n", This, v);
437 return E_NOTIMPL;
438}

◆ HTMLObjectElement_put_name()

static HRESULT WINAPI HTMLObjectElement_put_name ( IHTMLObjectElement *  iface,
BSTR  v 
)
static

Definition at line 146 of file htmlobject.c.

147{
149 nsAString nsstr;
150 nsresult nsres;
151
152 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
153
154 nsAString_InitDepend(&nsstr, v);
155 nsres = nsIDOMHTMLObjectElement_SetName(This->nsobject, &nsstr);
156 nsAString_Finish(&nsstr);
157 return NS_SUCCEEDED(nsres) ? S_OK : E_FAIL;
158}

◆ HTMLObjectElement_put_onerror()

static HRESULT WINAPI HTMLObjectElement_put_onerror ( IHTMLObjectElement *  iface,
VARIANT  v 
)
static

Definition at line 382 of file htmlobject.c.

383{
385 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
386 return E_NOTIMPL;
387}

◆ HTMLObjectElement_put_onreadystatechange()

static HRESULT WINAPI HTMLObjectElement_put_onreadystatechange ( IHTMLObjectElement *  iface,
VARIANT  v 
)
static

Definition at line 368 of file htmlobject.c.

369{
371 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
372 return E_NOTIMPL;
373}

◆ HTMLObjectElement_put_recordset()

static HRESULT WINAPI HTMLObjectElement_put_recordset ( IHTMLObjectElement *  iface,
IDispatch v 
)
static

Definition at line 118 of file htmlobject.c.

119{
121 FIXME("(%p)->(%p)\n", This, v);
122 return E_NOTIMPL;
123}

◆ HTMLObjectElement_put_type()

static HRESULT WINAPI HTMLObjectElement_put_type ( IHTMLObjectElement *  iface,
BSTR  v 
)
static

Definition at line 222 of file htmlobject.c.

223{
225 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
226 return E_NOTIMPL;
227}

◆ HTMLObjectElement_put_vspace()

static HRESULT WINAPI HTMLObjectElement_put_vspace ( IHTMLObjectElement *  iface,
LONG  v 
)
static

Definition at line 410 of file htmlobject.c.

411{
413 FIXME("(%p)->(%d)\n", This, v);
414 return E_NOTIMPL;
415}

◆ HTMLObjectElement_put_width()

static HRESULT WINAPI HTMLObjectElement_put_width ( IHTMLObjectElement *  iface,
VARIANT  v 
)
static

Definition at line 243 of file htmlobject.c.

244{
246 nsAString width_str;
247 PRUnichar buf[12];
248 nsresult nsres;
249
250 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
251
252 switch(V_VT(&v)) {
253 case VT_I4: {
254 static const WCHAR formatW[] = {'%','d',0};
255 sprintfW(buf, formatW, V_I4(&v));
256 break;
257 }
258 default:
259 FIXME("unimplemented for arg %s\n", debugstr_variant(&v));
260 return E_NOTIMPL;
261 }
262
263 nsAString_InitDepend(&width_str, buf);
264 nsres = nsIDOMHTMLObjectElement_SetWidth(This->nsobject, &width_str);
265 nsAString_Finish(&width_str);
266 if(NS_FAILED(nsres)) {
267 FIXME("SetWidth failed: %08x\n", nsres);
268 return E_FAIL;
269 }
270
271 notif_container_change(&This->plugin_container, DISPID_UNKNOWN);
272 return S_OK;
273}

◆ HTMLObjectElement_QI()

static HRESULT HTMLObjectElement_QI ( HTMLDOMNode iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 628 of file htmlobject.c.

629{
631
632 TRACE("(%p)->(%s %p)\n", This, debugstr_mshtml_guid(riid), ppv);
633
635 *ppv = &This->IHTMLObjectElement_iface;
636 }else if(IsEqualGUID(&IID_IDispatch, riid)) {
637 *ppv = &This->IHTMLObjectElement_iface;
638 }else if(IsEqualGUID(&IID_IHTMLObjectElement, riid)) {
639 *ppv = &This->IHTMLObjectElement_iface;
640 }else if(IsEqualGUID(&IID_IHTMLObjectElement2, riid)) {
641 *ppv = &This->IHTMLObjectElement2_iface;
642 }else if(IsEqualGUID(&IID_HTMLPluginContainer, riid)) {
643 /* Special pseudo-interface returning HTMLPluginContainse struct. */
644 *ppv = &This->plugin_container;
645 node_addref(&This->plugin_container.element.node);
646 return S_OK;
647 }else {
649
650 hres = HTMLElement_QI(&This->plugin_container.element.node, riid, ppv);
651 if(hres == E_NOINTERFACE && This->plugin_container.plugin_host && This->plugin_container.plugin_host->plugin_unk) {
652 IUnknown *plugin_iface, *ret;
653
654 hres = IUnknown_QueryInterface(This->plugin_container.plugin_host->plugin_unk, riid, (void**)&plugin_iface);
655 if(hres == S_OK) {
656 hres = wrap_iface(plugin_iface, (IUnknown*)&This->IHTMLObjectElement_iface, &ret);
657 IUnknown_Release(plugin_iface);
658 if(FAILED(hres))
659 return hres;
660
661 TRACE("returning plugin iface %p wrapped to %p\n", plugin_iface, ret);
662 *ppv = ret;
663 return S_OK;
664 }
665 }
666
667 return hres;
668 }
669
670 IUnknown_AddRef((IUnknown*)*ppv);
671 return S_OK;
672}
const GUID IID_IUnknown
const char * debugstr_mshtml_guid(const GUID *iid)
Definition: main.c:542
HRESULT HTMLElement_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
Definition: htmlelem.c:3738
HRESULT wrap_iface(IUnknown *iface, IUnknown *ref_unk, IUnknown **ret)
Definition: ifacewrap.c:311
static void node_addref(HTMLDOMNode *node)
const GUID IID_IDispatch
#define IsEqualGUID(rguid1, rguid2)
Definition: guiddef.h:147
#define E_NOINTERFACE
Definition: winerror.h:2364

◆ HTMLObjectElement_QueryInterface()

static HRESULT WINAPI HTMLObjectElement_QueryInterface ( IHTMLObjectElement *  iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 35 of file htmlobject.c.

37{
39
40 return IHTMLDOMNode_QueryInterface(&This->plugin_container.element.node.IHTMLDOMNode_iface,
41 riid, ppv);
42}

◆ HTMLObjectElement_Release()

static ULONG WINAPI HTMLObjectElement_Release ( IHTMLObjectElement *  iface)
static

Definition at line 51 of file htmlobject.c.

52{
54
55 return IHTMLDOMNode_Release(&This->plugin_container.element.node.IHTMLDOMNode_iface);
56}

◆ HTMLObjectElement_traverse()

static void HTMLObjectElement_traverse ( HTMLDOMNode iface,
nsCycleCollectionTraversalCallback cb 
)
static

Definition at line 711 of file htmlobject.c.

712{
714
715 if(This->nsobject)
716 note_cc_edge((nsISupports*)This->nsobject, "This->nsobject", cb);
717}
static HMODULE MODULEINFO DWORD cb
Definition: module.c:33

◆ HTMLObjectElement_unlink()

static void HTMLObjectElement_unlink ( HTMLDOMNode iface)
static

Definition at line 719 of file htmlobject.c.

720{
722
723 if(This->nsobject) {
724 nsIDOMHTMLObjectElement *nsobject = This->nsobject;
725
726 This->nsobject = NULL;
727 nsIDOMHTMLObjectElement_Release(nsobject);
728 }
729}

◆ impl_from_HTMLDOMNode()

static HTMLObjectElement * impl_from_HTMLDOMNode ( HTMLDOMNode iface)
inlinestatic

Definition at line 623 of file htmlobject.c.

624{
625 return CONTAINING_RECORD(iface, HTMLObjectElement, plugin_container.element.node);
626}
#define CONTAINING_RECORD(address, type, field)
Definition: typedefs.h:260

Referenced by HTMLObjectElement_destructor(), HTMLObjectElement_get_dispid(), HTMLObjectElement_get_readystate(), HTMLObjectElement_invoke(), HTMLObjectElement_QI(), HTMLObjectElement_traverse(), and HTMLObjectElement_unlink().

◆ impl_from_IHTMLObjectElement()

static HTMLObjectElement * impl_from_IHTMLObjectElement ( IHTMLObjectElement *  iface)
inlinestatic

◆ impl_from_IHTMLObjectElement2()

Variable Documentation

◆ HTMLObjectElement2Vtbl

const IHTMLObjectElement2Vtbl HTMLObjectElement2Vtbl
static
Initial value:
= {
}
static HRESULT WINAPI HTMLObjectElement2_put_classid(IHTMLObjectElement2 *iface, BSTR v)
Definition: htmlobject.c:559
static HRESULT WINAPI HTMLObjectElement2_get_data(IHTMLObjectElement2 *iface, BSTR *p)
Definition: htmlobject.c:601
static HRESULT WINAPI HTMLObjectElement2_Invoke(IHTMLObjectElement2 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
Definition: htmlobject.c:542
static ULONG WINAPI HTMLObjectElement2_AddRef(IHTMLObjectElement2 *iface)
Definition: htmlobject.c:505
static HRESULT WINAPI HTMLObjectElement2_namedRecordset(IHTMLObjectElement2 *iface, BSTR dataMember, VARIANT *hierarchy, IDispatch **ppRecordset)
Definition: htmlobject.c:551
static HRESULT WINAPI HTMLObjectElement2_QueryInterface(IHTMLObjectElement2 *iface, REFIID riid, void **ppv)
Definition: htmlobject.c:496
static HRESULT WINAPI HTMLObjectElement2_get_classid(IHTMLObjectElement2 *iface, BSTR *p)
Definition: htmlobject.c:587
static HRESULT WINAPI HTMLObjectElement2_GetIDsOfNames(IHTMLObjectElement2 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
Definition: htmlobject.c:534
static HRESULT WINAPI HTMLObjectElement2_GetTypeInfoCount(IHTMLObjectElement2 *iface, UINT *pctinfo)
Definition: htmlobject.c:519
static HRESULT WINAPI HTMLObjectElement2_GetTypeInfo(IHTMLObjectElement2 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
Definition: htmlobject.c:526
static ULONG WINAPI HTMLObjectElement2_Release(IHTMLObjectElement2 *iface)
Definition: htmlobject.c:512
static HRESULT WINAPI HTMLObjectElement2_put_data(IHTMLObjectElement2 *iface, BSTR v)
Definition: htmlobject.c:594

Definition at line 608 of file htmlobject.c.

Referenced by HTMLObjectElement_Create().

◆ HTMLObjectElement_dispex

dispex_static_data_t HTMLObjectElement_dispex
static
Initial value:
= {
DispHTMLObjectElement_tid,
}
static const tid_t HTMLObjectElement_iface_tids[]
Definition: htmlobject.c:751

Definition at line 757 of file htmlobject.c.

Referenced by HTMLObjectElement_Create().

◆ HTMLObjectElement_iface_tids

const tid_t HTMLObjectElement_iface_tids[]
static
Initial value:
= {
IHTMLObjectElement2_tid,
IHTMLObjectElement_tid,
0
}
#define HTMLELEMENT_TIDS

Definition at line 751 of file htmlobject.c.

◆ HTMLObjectElementImplVtbl

const NodeImplVtbl HTMLObjectElementImplVtbl
static
Initial value:
= {
}
HRESULT HTMLElement_clone(HTMLDOMNode *iface, nsIDOMNode *nsnode, HTMLDOMNode **ret)
Definition: htmlelem.c:3793
HRESULT HTMLElement_handle_event(HTMLDOMNode *iface, DWORD eid, nsIDOMEvent *event, BOOL *prevent_default)
Definition: htmlelem.c:3815
const cpc_entry_t HTMLElement_cpc[]
Definition: htmlelem.c:3847
HRESULT HTMLElement_get_attr_col(HTMLDOMNode *iface, HTMLAttributeCollection **ac)
Definition: htmlelem.c:4827
static void HTMLObjectElement_destructor(HTMLDOMNode *iface)
Definition: htmlobject.c:674
static HRESULT HTMLObjectElement_invoke(HTMLDOMNode *iface, DISPID id, LCID lcid, WORD flags, DISPPARAMS *params, VARIANT *res, EXCEPINFO *ei, IServiceProvider *caller)
Definition: htmlobject.c:701
static HRESULT HTMLObjectElement_get_dispid(HTMLDOMNode *iface, BSTR name, DWORD grfdex, DISPID *pid)
Definition: htmlobject.c:691
static HRESULT HTMLObjectElement_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
Definition: htmlobject.c:628
static HRESULT HTMLObjectElement_get_readystate(HTMLDOMNode *iface, BSTR *p)
Definition: htmlobject.c:684
static void HTMLObjectElement_unlink(HTMLDOMNode *iface)
Definition: htmlobject.c:719
static void HTMLObjectElement_traverse(HTMLDOMNode *iface, nsCycleCollectionTraversalCallback *cb)
Definition: htmlobject.c:711

Definition at line 731 of file htmlobject.c.

Referenced by HTMLObjectElement_Create().

◆ HTMLObjectElementVtbl

const IHTMLObjectElementVtbl HTMLObjectElementVtbl
static

Definition at line 447 of file htmlobject.c.

Referenced by HTMLObjectElement_Create().