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 "wine/unicode.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
|
|
|
|
};
|
|
|
|
|
|
|
|
void HTMLElement3_Init(HTMLElement *This)
|
|
|
|
{
|
2010-12-30 01:30:37 +01:00
|
|
|
This->IHTMLElement3_iface.lpVtbl = &HTMLElement3Vtbl;
|
2008-10-07 21:44:18 +02:00
|
|
|
}
|