40 return IHTMLDOMNode_QueryInterface(&
This->plugin_container.element.node.IHTMLDOMNode_iface,
48 return IHTMLDOMNode_AddRef(&
This->plugin_container.element.node.IHTMLDOMNode_iface);
55 return IHTMLDOMNode_Release(&
This->plugin_container.element.node.IHTMLDOMNode_iface);
61 return IDispatchEx_GetTypeInfoCount(&
This->plugin_container.element.node.event_target.dispex.IDispatchEx_iface,
69 return IDispatchEx_GetTypeInfo(&
This->plugin_container.element.node.event_target.dispex.IDispatchEx_iface,
70 iTInfo, lcid, ppTInfo);
78 return IDispatchEx_GetIDsOfNames(&
This->plugin_container.element.node.event_target.dispex.IDispatchEx_iface,
79 riid, rgszNames, cNames, lcid, rgDispId);
84 VARIANT *pVarResult, EXCEPINFO *pExcepInfo,
UINT *puArgErr)
87 return IDispatchEx_Invoke(&
This->plugin_container.element.node.event_target.dispex.IDispatchEx_iface,
88 dispIdMember,
riid, lcid,
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
106 return IHTMLObjectElement2_get_classid(&
This->IHTMLObjectElement2_iface,
p);
115 return IHTMLObjectElement2_get_data(&
This->IHTMLObjectElement2_iface,
p);
155 nsres = nsIDOMHTMLObjectElement_SetName(
This->nsobject, &nsstr);
169 nsres = nsIDOMHTMLObjectElement_GetName(
This->nsobject, &nsstr);
254 static const WCHAR formatW[] = {
'%',
'd',0};
264 nsres = nsIDOMHTMLObjectElement_SetWidth(
This->nsobject, &width_str);
267 FIXME(
"SetWidth failed: %08x\n", nsres);
285 nsres = nsIDOMHTMLObjectElement_GetWidth(
This->nsobject, &width_str);
294 ERR(
"GetWidth failed: %08x\n", nsres);
313 static const WCHAR formatW[] = {
'%',
'd',0};
323 nsres = nsIDOMHTMLObjectElement_SetHeight(
This->nsobject, &height_str);
326 FIXME(
"SetHeight failed: %08x\n", nsres);
344 nsres = nsIDOMHTMLObjectElement_GetHeight(
This->nsobject, &height_str);
353 ERR(
"GetHeight failed: %08x\n", nsres);
424 nsres = nsIDOMHTMLObjectElement_GetVspace(
This->nsobject,
p);
426 ERR(
"GetVspace failed: %08x\n", nsres);
501 return IHTMLDOMNode_QueryInterface(&
This->plugin_container.element.node.IHTMLDOMNode_iface,
509 return IHTMLDOMNode_AddRef(&
This->plugin_container.element.node.IHTMLDOMNode_iface);
516 return IHTMLDOMNode_Release(&
This->plugin_container.element.node.IHTMLDOMNode_iface);
522 return IDispatchEx_GetTypeInfoCount(&
This->plugin_container.element.node.event_target.dispex.IDispatchEx_iface,
530 return IDispatchEx_GetTypeInfo(&
This->plugin_container.element.node.event_target.dispex.IDispatchEx_iface,
531 iTInfo, lcid, ppTInfo);
538 return IDispatchEx_GetIDsOfNames(&
This->plugin_container.element.node.event_target.dispex.IDispatchEx_iface,
539 riid, rgszNames, cNames, lcid, rgDispId);
544 EXCEPINFO *pExcepInfo,
UINT *puArgErr)
547 return IDispatchEx_Invoke(&
This->plugin_container.element.node.event_target.dispex.IDispatchEx_iface,
548 dispIdMember,
riid, lcid,
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
564 static const WCHAR classidW[] = {
'c',
'l',
'a',
's',
's',
'i',
'd',0};
572 if(
This->plugin_container.plugin_host) {
573 FIXME(
"Host already associated.\n");
635 *
ppv = &
This->IHTMLObjectElement_iface;
637 *
ppv = &
This->IHTMLObjectElement_iface;
639 *
ppv = &
This->IHTMLObjectElement_iface;
641 *
ppv = &
This->IHTMLObjectElement2_iface;
644 *
ppv = &
This->plugin_container;
654 hres = IUnknown_QueryInterface(
This->plugin_container.plugin_host->plugin_unk,
riid, (
void**)&plugin_iface);
657 IUnknown_Release(plugin_iface);
661 TRACE(
"returning plugin iface %p wrapped to %p\n", plugin_iface,
ret);
678 if(
This->plugin_container.plugin_host)
727 nsIDOMHTMLObjectElement_Release(nsobject);
752 IHTMLObjectElement2_tid,
753 IHTMLObjectElement_tid,
759 DispHTMLObjectElement_tid,
769 ret = heap_alloc_zero(
sizeof(*
ret));
779 nsres = nsIDOMHTMLElement_QueryInterface(nselem, &IID_nsIDOMHTMLObjectElement, (
void**)&
ret->nsobject);
782 *
elem = &
ret->plugin_container.element;
const char * debugstr_mshtml_guid(const GUID *iid)
GLint GLint GLsizei GLsizei height
GLint GLint GLsizei width
GLenum const GLfloat * params
GLenum GLuint GLenum GLsizei const GLchar * buf
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)
HRESULT elem_string_attr_setter(HTMLElement *elem, const WCHAR *name, const WCHAR *value)
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 HTMLObjectElement_get_type(IHTMLObjectElement *iface, BSTR *p)
static HRESULT WINAPI HTMLObjectElement_put_height(IHTMLObjectElement *iface, VARIANT v)
static void HTMLObjectElement_destructor(HTMLDOMNode *iface)
static const IHTMLObjectElementVtbl HTMLObjectElementVtbl
static HTMLObjectElement * impl_from_HTMLDOMNode(HTMLDOMNode *iface)
static HRESULT WINAPI HTMLObjectElement2_put_classid(IHTMLObjectElement2 *iface, BSTR v)
static HRESULT WINAPI HTMLObjectElement_get_readyState(IHTMLObjectElement *iface, LONG *p)
static const tid_t HTMLObjectElement_iface_tids[]
static HRESULT WINAPI HTMLObjectElement_get_codeType(IHTMLObjectElement *iface, BSTR *p)
static HTMLObjectElement * impl_from_IHTMLObjectElement(IHTMLObjectElement *iface)
static HRESULT WINAPI HTMLObjectElement2_get_data(IHTMLObjectElement2 *iface, BSTR *p)
static HRESULT WINAPI HTMLObjectElement_put_name(IHTMLObjectElement *iface, BSTR v)
static HRESULT WINAPI HTMLObjectElement2_Invoke(IHTMLObjectElement2 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static ULONG WINAPI HTMLObjectElement2_AddRef(IHTMLObjectElement2 *iface)
static HRESULT WINAPI HTMLObjectElement_put_codeBase(IHTMLObjectElement *iface, BSTR v)
static HRESULT WINAPI HTMLObjectElement_get_code(IHTMLObjectElement *iface, BSTR *p)
static HRESULT WINAPI HTMLObjectElement2_namedRecordset(IHTMLObjectElement2 *iface, BSTR dataMember, VARIANT *hierarchy, IDispatch **ppRecordset)
static HRESULT WINAPI HTMLObjectElement_GetIDsOfNames(IHTMLObjectElement *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI HTMLObjectElement_GetTypeInfo(IHTMLObjectElement *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static HRESULT WINAPI HTMLObjectElement_get_BaseHref(IHTMLObjectElement *iface, BSTR *p)
static HRESULT WINAPI HTMLObjectElement2_QueryInterface(IHTMLObjectElement2 *iface, REFIID riid, void **ppv)
static HRESULT WINAPI HTMLObjectElement_put_hspace(IHTMLObjectElement *iface, LONG v)
static HRESULT HTMLObjectElement_invoke(HTMLDOMNode *iface, DISPID id, LCID lcid, WORD flags, DISPPARAMS *params, VARIANT *res, EXCEPINFO *ei, IServiceProvider *caller)
static HRESULT HTMLObjectElement_get_dispid(HTMLDOMNode *iface, BSTR name, DWORD grfdex, DISPID *pid)
static HRESULT WINAPI HTMLObjectElement_get_name(IHTMLObjectElement *iface, BSTR *p)
static HRESULT HTMLObjectElement_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
static ULONG WINAPI HTMLObjectElement_Release(IHTMLObjectElement *iface)
static HRESULT WINAPI HTMLObjectElement_get_form(IHTMLObjectElement *iface, IHTMLFormElement **p)
static HRESULT WINAPI HTMLObjectElement_put_recordset(IHTMLObjectElement *iface, IDispatch *v)
static HRESULT WINAPI HTMLObjectElement_get_width(IHTMLObjectElement *iface, VARIANT *p)
static HRESULT WINAPI HTMLObjectElement_QueryInterface(IHTMLObjectElement *iface, REFIID riid, void **ppv)
static HRESULT WINAPI HTMLObjectElement2_get_classid(IHTMLObjectElement2 *iface, BSTR *p)
static HRESULT WINAPI HTMLObjectElement_get_object(IHTMLObjectElement *iface, IDispatch **p)
static HRESULT WINAPI HTMLObjectElement_get_hspace(IHTMLObjectElement *iface, LONG *p)
static HRESULT WINAPI HTMLObjectElement_get_altHtml(IHTMLObjectElement *iface, BSTR *p)
static HRESULT WINAPI HTMLObjectElement2_GetIDsOfNames(IHTMLObjectElement2 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI HTMLObjectElement_put_type(IHTMLObjectElement *iface, BSTR v)
static HRESULT WINAPI HTMLObjectElement_GetTypeInfoCount(IHTMLObjectElement *iface, UINT *pctinfo)
static HRESULT WINAPI HTMLObjectElement_get_onreadystatechange(IHTMLObjectElement *iface, VARIANT *p)
static HRESULT WINAPI HTMLObjectElement_get_codeBase(IHTMLObjectElement *iface, BSTR *p)
static HRESULT WINAPI HTMLObjectElement_get_data(IHTMLObjectElement *iface, BSTR *p)
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 HTMLObjectElement_get_onerror(IHTMLObjectElement *iface, VARIANT *p)
static HRESULT WINAPI HTMLObjectElement_put_codeType(IHTMLObjectElement *iface, BSTR v)
static HTMLObjectElement * impl_from_IHTMLObjectElement2(IHTMLObjectElement2 *iface)
static const IHTMLObjectElement2Vtbl HTMLObjectElement2Vtbl
static HRESULT HTMLObjectElement_get_readystate(HTMLDOMNode *iface, BSTR *p)
static HRESULT WINAPI HTMLObjectElement_put_onerror(IHTMLObjectElement *iface, VARIANT v)
static HRESULT WINAPI HTMLObjectElement_put_vspace(IHTMLObjectElement *iface, LONG v)
static HRESULT WINAPI HTMLObjectElement_put_altHtml(IHTMLObjectElement *iface, BSTR v)
HRESULT HTMLObjectElement_Create(HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, HTMLElement **elem)
static HRESULT WINAPI HTMLObjectElement_put_onreadystatechange(IHTMLObjectElement *iface, VARIANT v)
static HRESULT WINAPI HTMLObjectElement_get_vspace(IHTMLObjectElement *iface, LONG *p)
static HRESULT WINAPI HTMLObjectElement_get_classid(IHTMLObjectElement *iface, BSTR *p)
static void HTMLObjectElement_unlink(HTMLDOMNode *iface)
static ULONG WINAPI HTMLObjectElement_AddRef(IHTMLObjectElement *iface)
static const NodeImplVtbl HTMLObjectElementImplVtbl
static ULONG WINAPI HTMLObjectElement2_Release(IHTMLObjectElement2 *iface)
static HRESULT WINAPI HTMLObjectElement_Invoke(IHTMLObjectElement *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static void HTMLObjectElement_traverse(HTMLDOMNode *iface, nsCycleCollectionTraversalCallback *cb)
static HRESULT WINAPI HTMLObjectElement_put_align(IHTMLObjectElement *iface, BSTR v)
static HRESULT WINAPI HTMLObjectElement_get_recordset(IHTMLObjectElement *iface, IDispatch **p)
static HRESULT WINAPI HTMLObjectElement2_put_data(IHTMLObjectElement2 *iface, BSTR v)
static dispex_static_data_t HTMLObjectElement_dispex
static HRESULT WINAPI HTMLObjectElement_put_width(IHTMLObjectElement *iface, VARIANT v)
static HRESULT WINAPI HTMLObjectElement_get_height(IHTMLObjectElement *iface, VARIANT *p)
static HRESULT WINAPI HTMLObjectElement_put_code(IHTMLObjectElement *iface, BSTR v)
static HRESULT WINAPI HTMLObjectElement_get_align(IHTMLObjectElement *iface, BSTR *p)
HRESULT wrap_iface(IUnknown *iface, IUnknown *ref_unk, IUnknown **ret)
static const char * debugstr_variant(const VARIANT *var)
static HMODULE MODULEINFO DWORD cb
static VARIANTARG static DISPID
static const h_entry hierarchy[]
void nsAString_Finish(nsAString *) DECLSPEC_HIDDEN
UINT32 nsAString_GetData(const nsAString *, const PRUnichar **) DECLSPEC_HIDDEN
static void node_addref(HTMLDOMNode *node)
void nsAString_InitDepend(nsAString *, const PRUnichar *) DECLSPEC_HIDDEN
BOOL nsAString_Init(nsAString *, const PRUnichar *) DECLSPEC_HIDDEN
struct nsCycleCollectionTraversalCallback nsCycleCollectionTraversalCallback
#define NS_SUCCEEDED(res)
HRESULT return_nsstr(nsresult, nsAString *, BSTR *) DECLSPEC_HIDDEN
BSTR WINAPI SysAllocString(LPCOLESTR str)
HRESULT invoke_plugin_prop(HTMLPluginContainer *plugin_container, DISPID id, LCID lcid, WORD flags, DISPPARAMS *params, VARIANT *res, EXCEPINFO *ei)
HRESULT get_plugin_disp(HTMLPluginContainer *plugin_container, IDispatch **ret)
void notif_container_change(HTMLPluginContainer *plugin_container, DISPID dispid)
HRESULT get_plugin_dispid(HTMLPluginContainer *plugin_container, WCHAR *name, DISPID *ret)
void detach_plugin_host(PluginHost *host)
HRESULT create_plugin_host(HTMLDocumentNode *doc, HTMLPluginContainer *container)
#define IsEqualGUID(rguid1, rguid2)
nsIDOMHTMLObjectElement * nsobject
HTMLPluginContainer plugin_container
IHTMLObjectElement2 IHTMLObjectElement2_iface
IHTMLObjectElement IHTMLObjectElement_iface
#define CONTAINING_RECORD(address, type, field)
_In_ DWORD _Out_ _In_ WORD wFlags
_In_ ULONG_PTR _In_ ULONG _Out_ ULONG_PTR * pid