2008-10-07 21:44:18 +02:00
|
|
|
/*
|
|
|
|
* Copyright 2008 Jacek Caban for CodeWeavers
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <stdarg.h>
|
|
|
|
|
|
|
|
#define COBJMACROS
|
|
|
|
|
|
|
|
#include "windef.h"
|
|
|
|
#include "winbase.h"
|
|
|
|
#include "winuser.h"
|
|
|
|
#include "ole2.h"
|
|
|
|
|
|
|
|
#include "wine/debug.h"
|
|
|
|
|
|
|
|
#include "mshtml_private.h"
|
2009-10-13 00:42:02 +02:00
|
|
|
#include "htmlevent.h"
|
2008-10-07 21:44:18 +02:00
|
|
|
|
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(mshtml);
|
|
|
|
|
2010-12-30 01:30:37 +01:00
|
|
|
static inline HTMLElement *impl_from_IHTMLElement3(IHTMLElement3 *iface)
|
|
|
|
{
|
|
|
|
return CONTAINING_RECORD(iface, HTMLElement, IHTMLElement3_iface);
|
|
|
|
}
|
2008-10-07 21:44:18 +02:00
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_QueryInterface(IHTMLElement3 *iface,
|
|
|
|
REFIID riid, void **ppv)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2010-12-30 01:24:59 +01:00
|
|
|
return IHTMLElement_QueryInterface(&This->IHTMLElement_iface, riid, ppv);
|
2008-10-07 21:44:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static ULONG WINAPI HTMLElement3_AddRef(IHTMLElement3 *iface)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2010-12-30 01:24:59 +01:00
|
|
|
return IHTMLElement_AddRef(&This->IHTMLElement_iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static ULONG WINAPI HTMLElement3_Release(IHTMLElement3 *iface)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2010-12-30 01:24:59 +01:00
|
|
|
return IHTMLElement_Release(&This->IHTMLElement_iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_GetTypeInfoCount(IHTMLElement3 *iface, UINT *pctinfo)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2010-12-31 11:07:33 +01:00
|
|
|
return IDispatchEx_GetTypeInfoCount(&This->node.dispex.IDispatchEx_iface, pctinfo);
|
2008-10-07 21:44:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_GetTypeInfo(IHTMLElement3 *iface, UINT iTInfo,
|
|
|
|
LCID lcid, ITypeInfo **ppTInfo)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2010-12-31 11:07:33 +01:00
|
|
|
return IDispatchEx_GetTypeInfo(&This->node.dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
|
2008-10-07 21:44:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_GetIDsOfNames(IHTMLElement3 *iface, REFIID riid,
|
|
|
|
LPOLESTR *rgszNames, UINT cNames,
|
|
|
|
LCID lcid, DISPID *rgDispId)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2010-12-31 11:07:33 +01:00
|
|
|
return IDispatchEx_GetIDsOfNames(&This->node.dispex.IDispatchEx_iface, riid, rgszNames, cNames,
|
|
|
|
lcid, rgDispId);
|
2008-10-07 21:44:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_Invoke(IHTMLElement3 *iface, DISPID dispIdMember,
|
|
|
|
REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams,
|
|
|
|
VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2010-12-31 11:07:33 +01:00
|
|
|
return IDispatchEx_Invoke(&This->node.dispex.IDispatchEx_iface, dispIdMember, riid, lcid,
|
2008-10-07 21:44:18 +02:00
|
|
|
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_mergeAttributes(IHTMLElement3 *iface, IHTMLElement *mergeThis, VARIANT *pvarFlags)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%p %p)\n", This, mergeThis, pvarFlags);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_get_isMultiLine(IHTMLElement3 *iface, VARIANT_BOOL *p)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_get_canHaveHTML(IHTMLElement3 *iface, VARIANT_BOOL *p)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_put_onlayoutcomplete(IHTMLElement3 *iface, VARIANT v)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_get_onlayoutcomplete(IHTMLElement3 *iface, VARIANT *p)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_put_onpage(IHTMLElement3 *iface, VARIANT v)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_get_onpage(IHTMLElement3 *iface, VARIANT *p)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_put_inflateBlock(IHTMLElement3 *iface, VARIANT_BOOL v)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%x)\n", This, v);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_get_inflateBlock(IHTMLElement3 *iface, VARIANT_BOOL *p)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_put_onbeforedeactivate(IHTMLElement3 *iface, VARIANT v)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_get_onbeforedeactivate(IHTMLElement3 *iface, VARIANT *p)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_setActive(IHTMLElement3 *iface)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)\n", This);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_put_contentEditable(IHTMLElement3 *iface, BSTR v)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_get_contentEditable(IHTMLElement3 *iface, BSTR *p)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_get_isContentEditable(IHTMLElement3 *iface, VARIANT_BOOL *p)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_put_hideFocus(IHTMLElement3 *iface, VARIANT_BOOL v)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%x)\n", This, v);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_get_hideFocus(IHTMLElement3 *iface, VARIANT_BOOL *p)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
2008-10-09 22:30:51 +02:00
|
|
|
static const WCHAR disabledW[] = {'d','i','s','a','b','l','e','d',0};
|
|
|
|
|
2008-10-07 21:44:18 +02:00
|
|
|
static HRESULT WINAPI HTMLElement3_put_disabled(IHTMLElement3 *iface, VARIANT_BOOL v)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-09 22:30:51 +02:00
|
|
|
VARIANT *var;
|
|
|
|
HRESULT hres;
|
2008-10-09 22:26:41 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%x)\n", This, v);
|
|
|
|
|
|
|
|
if(This->node.vtbl->put_disabled)
|
|
|
|
return This->node.vtbl->put_disabled(&This->node, v);
|
|
|
|
|
2008-10-09 22:30:51 +02:00
|
|
|
hres = dispex_get_dprop_ref(&This->node.dispex, disabledW, TRUE, &var);
|
|
|
|
if(FAILED(hres))
|
|
|
|
return hres;
|
|
|
|
|
|
|
|
VariantClear(var);
|
|
|
|
V_VT(var) = VT_BOOL;
|
|
|
|
V_BOOL(var) = v;
|
|
|
|
return S_OK;
|
2008-10-07 21:44:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_get_disabled(IHTMLElement3 *iface, VARIANT_BOOL *p)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-09 22:30:51 +02:00
|
|
|
VARIANT *var;
|
|
|
|
HRESULT hres;
|
2008-10-09 22:26:41 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
|
|
|
if(This->node.vtbl->get_disabled)
|
|
|
|
return This->node.vtbl->get_disabled(&This->node, p);
|
|
|
|
|
2008-10-09 22:30:51 +02:00
|
|
|
hres = dispex_get_dprop_ref(&This->node.dispex, disabledW, FALSE, &var);
|
|
|
|
if(hres == DISP_E_UNKNOWNNAME) {
|
|
|
|
*p = VARIANT_FALSE;
|
|
|
|
return S_OK;
|
|
|
|
}
|
|
|
|
if(FAILED(hres))
|
|
|
|
return hres;
|
|
|
|
|
|
|
|
if(V_VT(var) != VT_BOOL) {
|
|
|
|
FIXME("vt %d\n", V_VT(var));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
*p = V_BOOL(var);
|
|
|
|
return S_OK;
|
2008-10-07 21:44:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_get_isDisabled(IHTMLElement3 *iface, VARIANT_BOOL *p)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_put_onmove(IHTMLElement3 *iface, VARIANT v)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_get_onmove(IHTMLElement3 *iface, VARIANT *p)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_put_oncontrolselect(IHTMLElement3 *iface, VARIANT v)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_get_oncontrolselect(IHTMLElement3 *iface, VARIANT *p)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_fireEvent(IHTMLElement3 *iface, BSTR bstrEventName,
|
|
|
|
VARIANT *pvarEventObject, VARIANT_BOOL *pfCancelled)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2009-10-13 00:42:02 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s %s %p)\n", This, debugstr_w(bstrEventName), debugstr_variant(pvarEventObject),
|
|
|
|
pfCancelled);
|
|
|
|
|
|
|
|
return dispatch_event(&This->node, bstrEventName, pvarEventObject, pfCancelled);
|
2008-10-07 21:44:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_put_onresizestart(IHTMLElement3 *iface, VARIANT v)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_get_onresizestart(IHTMLElement3 *iface, VARIANT *p)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_put_onresizeend(IHTMLElement3 *iface, VARIANT v)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_get_onresizeend(IHTMLElement3 *iface, VARIANT *p)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_put_onmovestart(IHTMLElement3 *iface, VARIANT v)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_get_onmovestart(IHTMLElement3 *iface, VARIANT *p)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_put_onmoveend(IHTMLElement3 *iface, VARIANT v)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_get_onmoveend(IHTMLElement3 *iface, VARIANT *p)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_put_onmousecenter(IHTMLElement3 *iface, VARIANT v)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_get_onmousecenter(IHTMLElement3 *iface, VARIANT *p)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_put_onmouseleave(IHTMLElement3 *iface, VARIANT v)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_get_onmouseleave(IHTMLElement3 *iface, VARIANT *p)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_put_onactivate(IHTMLElement3 *iface, VARIANT v)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_get_onactivate(IHTMLElement3 *iface, VARIANT *p)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_put_ondeactivate(IHTMLElement3 *iface, VARIANT v)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_get_ondeactivate(IHTMLElement3 *iface, VARIANT *p)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_dragDrop(IHTMLElement3 *iface, VARIANT_BOOL *pfRet)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, pfRet);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement3_get_glyphMode(IHTMLElement3 *iface, LONG *p)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
2008-10-07 21:44:18 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static const IHTMLElement3Vtbl HTMLElement3Vtbl = {
|
|
|
|
HTMLElement3_QueryInterface,
|
|
|
|
HTMLElement3_AddRef,
|
|
|
|
HTMLElement3_Release,
|
|
|
|
HTMLElement3_GetTypeInfoCount,
|
|
|
|
HTMLElement3_GetTypeInfo,
|
|
|
|
HTMLElement3_GetIDsOfNames,
|
|
|
|
HTMLElement3_Invoke,
|
|
|
|
HTMLElement3_mergeAttributes,
|
|
|
|
HTMLElement3_get_isMultiLine,
|
|
|
|
HTMLElement3_get_canHaveHTML,
|
|
|
|
HTMLElement3_put_onlayoutcomplete,
|
|
|
|
HTMLElement3_get_onlayoutcomplete,
|
|
|
|
HTMLElement3_put_onpage,
|
|
|
|
HTMLElement3_get_onpage,
|
|
|
|
HTMLElement3_put_inflateBlock,
|
|
|
|
HTMLElement3_get_inflateBlock,
|
|
|
|
HTMLElement3_put_onbeforedeactivate,
|
|
|
|
HTMLElement3_get_onbeforedeactivate,
|
|
|
|
HTMLElement3_setActive,
|
|
|
|
HTMLElement3_put_contentEditable,
|
|
|
|
HTMLElement3_get_contentEditable,
|
|
|
|
HTMLElement3_get_isContentEditable,
|
|
|
|
HTMLElement3_put_hideFocus,
|
|
|
|
HTMLElement3_get_hideFocus,
|
|
|
|
HTMLElement3_put_disabled,
|
|
|
|
HTMLElement3_get_disabled,
|
|
|
|
HTMLElement3_get_isDisabled,
|
|
|
|
HTMLElement3_put_onmove,
|
|
|
|
HTMLElement3_get_onmove,
|
|
|
|
HTMLElement3_put_oncontrolselect,
|
|
|
|
HTMLElement3_get_oncontrolselect,
|
|
|
|
HTMLElement3_fireEvent,
|
|
|
|
HTMLElement3_put_onresizestart,
|
|
|
|
HTMLElement3_get_onresizestart,
|
|
|
|
HTMLElement3_put_onresizeend,
|
|
|
|
HTMLElement3_get_onresizeend,
|
|
|
|
HTMLElement3_put_onmovestart,
|
|
|
|
HTMLElement3_get_onmovestart,
|
|
|
|
HTMLElement3_put_onmoveend,
|
|
|
|
HTMLElement3_get_onmoveend,
|
|
|
|
HTMLElement3_put_onmousecenter,
|
|
|
|
HTMLElement3_get_onmousecenter,
|
|
|
|
HTMLElement3_put_onmouseleave,
|
|
|
|
HTMLElement3_get_onmouseleave,
|
|
|
|
HTMLElement3_put_onactivate,
|
|
|
|
HTMLElement3_get_onactivate,
|
|
|
|
HTMLElement3_put_ondeactivate,
|
|
|
|
HTMLElement3_get_ondeactivate,
|
|
|
|
HTMLElement3_dragDrop,
|
|
|
|
HTMLElement3_get_glyphMode
|
|
|
|
};
|
|
|
|
|
2011-02-24 13:03:42 +01:00
|
|
|
static inline HTMLElement *impl_from_IHTMLElement4(IHTMLElement4 *iface)
|
|
|
|
{
|
|
|
|
return CONTAINING_RECORD(iface, HTMLElement, IHTMLElement4_iface);
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement4_QueryInterface(IHTMLElement4 *iface,
|
|
|
|
REFIID riid, void **ppv)
|
|
|
|
{
|
|
|
|
HTMLElement *This = impl_from_IHTMLElement4(iface);
|
|
|
|
return IHTMLElement_QueryInterface(&This->IHTMLElement_iface, riid, ppv);
|
|
|
|
}
|
|
|
|
|
|
|
|
static ULONG WINAPI HTMLElement4_AddRef(IHTMLElement4 *iface)
|
|
|
|
{
|
|
|
|
HTMLElement *This = impl_from_IHTMLElement4(iface);
|
|
|
|
return IHTMLElement_AddRef(&This->IHTMLElement_iface);
|
|
|
|
}
|
|
|
|
|
|
|
|
static ULONG WINAPI HTMLElement4_Release(IHTMLElement4 *iface)
|
|
|
|
{
|
|
|
|
HTMLElement *This = impl_from_IHTMLElement4(iface);
|
|
|
|
return IHTMLElement_Release(&This->IHTMLElement_iface);
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement4_GetTypeInfoCount(IHTMLElement4 *iface, UINT *pctinfo)
|
|
|
|
{
|
|
|
|
HTMLElement *This = impl_from_IHTMLElement4(iface);
|
|
|
|
return IDispatchEx_GetTypeInfoCount(&This->node.dispex.IDispatchEx_iface, pctinfo);
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement4_GetTypeInfo(IHTMLElement4 *iface, UINT iTInfo,
|
|
|
|
LCID lcid, ITypeInfo **ppTInfo)
|
|
|
|
{
|
|
|
|
HTMLElement *This = impl_from_IHTMLElement4(iface);
|
|
|
|
return IDispatchEx_GetTypeInfo(&This->node.dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement4_GetIDsOfNames(IHTMLElement4 *iface, REFIID riid,
|
|
|
|
LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
|
|
|
|
{
|
|
|
|
HTMLElement *This = impl_from_IHTMLElement4(iface);
|
|
|
|
return IDispatchEx_GetIDsOfNames(&This->node.dispex.IDispatchEx_iface, riid, rgszNames, cNames,
|
|
|
|
lcid, rgDispId);
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement4_Invoke(IHTMLElement4 *iface, DISPID dispIdMember, REFIID riid,
|
|
|
|
LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
|
|
|
|
{
|
|
|
|
HTMLElement *This = impl_from_IHTMLElement4(iface);
|
|
|
|
return IDispatchEx_Invoke(&This->node.dispex.IDispatchEx_iface, dispIdMember, riid, lcid,
|
|
|
|
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement4_put_onmousewheel(IHTMLElement4 *iface, VARIANT v)
|
|
|
|
{
|
|
|
|
HTMLElement *This = impl_from_IHTMLElement4(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement4_get_onmousewheel(IHTMLElement4 *iface, VARIANT *p)
|
|
|
|
{
|
|
|
|
HTMLElement *This = impl_from_IHTMLElement4(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement4_normalize(IHTMLElement4 *iface)
|
|
|
|
{
|
|
|
|
HTMLElement *This = impl_from_IHTMLElement4(iface);
|
|
|
|
FIXME("(%p)\n", This);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
2011-03-02 13:34:24 +01:00
|
|
|
/* FIXME: This should be done in IDispatchEx implementation layer */
|
|
|
|
static BOOL get_attr_from_nselem(HTMLElement *This, BSTR name, DISPID *dispid)
|
2011-02-24 13:03:42 +01:00
|
|
|
{
|
2011-03-02 13:34:24 +01:00
|
|
|
const PRUnichar *v;
|
2011-02-24 13:04:08 +01:00
|
|
|
nsIDOMAttr *nsattr;
|
2011-03-02 13:34:24 +01:00
|
|
|
nsAString nsstr;
|
|
|
|
BSTR val = NULL;
|
2011-02-24 13:04:08 +01:00
|
|
|
nsresult nsres;
|
|
|
|
HRESULT hres;
|
|
|
|
|
2011-03-02 13:34:24 +01:00
|
|
|
nsAString_InitDepend(&nsstr, name);
|
|
|
|
nsres = nsIDOMHTMLElement_GetAttributeNode(This->nselem, &nsstr, &nsattr);
|
|
|
|
nsAString_Finish(&nsstr);
|
|
|
|
if(NS_FAILED(nsres) || !nsattr)
|
|
|
|
return FALSE;
|
|
|
|
|
|
|
|
FIXME("HACK\n");
|
2011-02-24 13:04:08 +01:00
|
|
|
|
2011-03-02 13:34:24 +01:00
|
|
|
nsAString_Init(&nsstr, NULL);
|
|
|
|
nsres = nsIDOMAttr_GetNodeValue(nsattr, &nsstr);
|
2011-02-24 13:04:08 +01:00
|
|
|
if(NS_FAILED(nsres)) {
|
2011-03-02 13:34:24 +01:00
|
|
|
nsAString_Finish(&nsstr);
|
|
|
|
return FALSE;
|
2011-02-24 13:04:08 +01:00
|
|
|
}
|
|
|
|
|
2011-03-02 13:34:24 +01:00
|
|
|
nsAString_GetData(&nsstr, &v);
|
|
|
|
if(*v) {
|
|
|
|
val = SysAllocString(v);
|
|
|
|
if(!val) {
|
|
|
|
nsAString_Finish(&nsstr);
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
nsAString_Finish(&nsstr);
|
|
|
|
|
|
|
|
hres = IDispatchEx_GetDispID(&This->node.dispex.IDispatchEx_iface, name, fdexNameEnsure, dispid);
|
|
|
|
if(SUCCEEDED(hres)) {
|
|
|
|
VARIANT arg;
|
|
|
|
DISPPARAMS dp = {&arg, NULL, 1, 0};
|
|
|
|
EXCEPINFO ei;
|
|
|
|
|
|
|
|
V_VT(&arg) = VT_BSTR;
|
|
|
|
V_BSTR(&arg) = val;
|
|
|
|
memset(&ei, 0, sizeof(ei));
|
|
|
|
hres = IDispatchEx_InvokeEx(&This->node.dispex.IDispatchEx_iface, *dispid,
|
|
|
|
LOCALE_SYSTEM_DEFAULT, DISPATCH_PROPERTYPUT, &dp, NULL, &ei, NULL);
|
|
|
|
}
|
|
|
|
|
|
|
|
SysFreeString(val);
|
|
|
|
return SUCCEEDED(hres);
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement4_getAttributeNode(IHTMLElement4 *iface, BSTR bstrname, IHTMLDOMAttribute **ppAttribute)
|
|
|
|
{
|
|
|
|
HTMLElement *This = impl_from_IHTMLElement4(iface);
|
|
|
|
HTMLDOMAttribute *attr = NULL, *iter;
|
|
|
|
DISPID dispid;
|
|
|
|
HRESULT hres;
|
|
|
|
|
|
|
|
TRACE("(%p)->(%s %p)\n", This, debugstr_w(bstrname), ppAttribute);
|
|
|
|
|
|
|
|
hres = IDispatchEx_GetDispID(&This->node.dispex.IDispatchEx_iface, bstrname, fdexNameCaseInsensitive, &dispid);
|
|
|
|
if(hres == DISP_E_UNKNOWNNAME) {
|
|
|
|
if(!get_attr_from_nselem(This, bstrname, &dispid)) {
|
|
|
|
*ppAttribute = NULL;
|
|
|
|
return S_OK;
|
|
|
|
}
|
|
|
|
}else if(FAILED(hres)) {
|
|
|
|
return hres;
|
2011-03-02 13:34:04 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
LIST_FOR_EACH_ENTRY(iter, &This->attrs, HTMLDOMAttribute, entry) {
|
2011-03-02 13:34:24 +01:00
|
|
|
if(iter->dispid == dispid) {
|
2011-03-02 13:34:04 +01:00
|
|
|
attr = iter;
|
|
|
|
break;
|
|
|
|
}
|
2011-02-24 13:04:08 +01:00
|
|
|
}
|
2011-03-02 13:34:04 +01:00
|
|
|
|
|
|
|
if(!attr) {
|
2011-03-02 13:34:24 +01:00
|
|
|
hres = HTMLDOMAttribute_Create(This, dispid, &attr);
|
|
|
|
if(FAILED(hres))
|
2011-03-02 13:34:04 +01:00
|
|
|
return hres;
|
|
|
|
}
|
|
|
|
|
|
|
|
IHTMLDOMAttribute_AddRef(&attr->IHTMLDOMAttribute_iface);
|
|
|
|
*ppAttribute = &attr->IHTMLDOMAttribute_iface;
|
2011-02-24 13:04:08 +01:00
|
|
|
return S_OK;
|
2011-02-24 13:03:42 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement4_setAttributeNode(IHTMLElement4 *iface, IHTMLDOMAttribute *pattr,
|
|
|
|
IHTMLDOMAttribute **ppretAttribute)
|
|
|
|
{
|
|
|
|
HTMLElement *This = impl_from_IHTMLElement4(iface);
|
|
|
|
FIXME("(%p)->(%p %p)\n", This, pattr, ppretAttribute);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement4_removeAttributeNode(IHTMLElement4 *iface, IHTMLDOMAttribute *pattr,
|
|
|
|
IHTMLDOMAttribute **ppretAttribute)
|
|
|
|
{
|
|
|
|
HTMLElement *This = impl_from_IHTMLElement4(iface);
|
|
|
|
FIXME("(%p)->(%p %p)\n", This, pattr, ppretAttribute);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement4_put_onbeforeactivate(IHTMLElement4 *iface, VARIANT v)
|
|
|
|
{
|
|
|
|
HTMLElement *This = impl_from_IHTMLElement4(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement4_get_onbeforeactivate(IHTMLElement4 *iface, VARIANT *p)
|
|
|
|
{
|
|
|
|
HTMLElement *This = impl_from_IHTMLElement4(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement4_put_onfocusin(IHTMLElement4 *iface, VARIANT v)
|
|
|
|
{
|
|
|
|
HTMLElement *This = impl_from_IHTMLElement4(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement4_get_onfocusin(IHTMLElement4 *iface, VARIANT *p)
|
|
|
|
{
|
|
|
|
HTMLElement *This = impl_from_IHTMLElement4(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement4_put_onfocusout(IHTMLElement4 *iface, VARIANT v)
|
|
|
|
{
|
|
|
|
HTMLElement *This = impl_from_IHTMLElement4(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLElement4_get_onfocusout(IHTMLElement4 *iface, VARIANT *p)
|
|
|
|
{
|
|
|
|
HTMLElement *This = impl_from_IHTMLElement4(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static const IHTMLElement4Vtbl HTMLElement4Vtbl = {
|
|
|
|
HTMLElement4_QueryInterface,
|
|
|
|
HTMLElement4_AddRef,
|
|
|
|
HTMLElement4_Release,
|
|
|
|
HTMLElement4_GetTypeInfoCount,
|
|
|
|
HTMLElement4_GetTypeInfo,
|
|
|
|
HTMLElement4_GetIDsOfNames,
|
|
|
|
HTMLElement4_Invoke,
|
|
|
|
HTMLElement4_put_onmousewheel,
|
|
|
|
HTMLElement4_get_onmousewheel,
|
|
|
|
HTMLElement4_normalize,
|
|
|
|
HTMLElement4_getAttributeNode,
|
|
|
|
HTMLElement4_setAttributeNode,
|
|
|
|
HTMLElement4_removeAttributeNode,
|
|
|
|
HTMLElement4_put_onbeforeactivate,
|
|
|
|
HTMLElement4_get_onbeforeactivate,
|
|
|
|
HTMLElement4_put_onfocusin,
|
|
|
|
HTMLElement4_get_onfocusin,
|
|
|
|
HTMLElement4_put_onfocusout,
|
|
|
|
HTMLElement4_get_onfocusout
|
|
|
|
};
|
|
|
|
|
2008-10-07 21:44:18 +02:00
|
|
|
void HTMLElement3_Init(HTMLElement *This)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
This->IHTMLElement3_iface.lpVtbl = &HTMLElement3Vtbl;
|
2011-02-24 13:03:42 +01:00
|
|
|
This->IHTMLElement4_iface.lpVtbl = &HTMLElement4Vtbl;
|
2008-10-07 21:44:18 +02:00
|
|
|
}
|