mshtml: COM cleanup for the IHTMLElement3 iface.
This commit is contained in:
parent
a75e2b2789
commit
98d5a2e7f0
|
@ -1616,7 +1616,7 @@ HRESULT HTMLElement_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
|
||||||
*ppv = &This->IHTMLElement2_iface;
|
*ppv = &This->IHTMLElement2_iface;
|
||||||
}else if(IsEqualGUID(&IID_IHTMLElement3, riid)) {
|
}else if(IsEqualGUID(&IID_IHTMLElement3, riid)) {
|
||||||
TRACE("(%p)->(IID_IHTMLElement3 %p)\n", This, ppv);
|
TRACE("(%p)->(IID_IHTMLElement3 %p)\n", This, ppv);
|
||||||
*ppv = HTMLELEM3(This);
|
*ppv = &This->IHTMLElement3_iface;
|
||||||
}else if(IsEqualGUID(&IID_IConnectionPointContainer, riid)) {
|
}else if(IsEqualGUID(&IID_IConnectionPointContainer, riid)) {
|
||||||
TRACE("(%p)->(IID_IConnectionPointContainer %p)\n", This, ppv);
|
TRACE("(%p)->(IID_IConnectionPointContainer %p)\n", This, ppv);
|
||||||
*ppv = CONPTCONT(&This->cp_container);
|
*ppv = CONPTCONT(&This->cp_container);
|
||||||
|
|
|
@ -33,37 +33,40 @@
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(mshtml);
|
WINE_DEFAULT_DEBUG_CHANNEL(mshtml);
|
||||||
|
|
||||||
#define HTMLELEM3_THIS(iface) DEFINE_THIS(HTMLElement, HTMLElement3, iface)
|
static inline HTMLElement *impl_from_IHTMLElement3(IHTMLElement3 *iface)
|
||||||
|
{
|
||||||
|
return CONTAINING_RECORD(iface, HTMLElement, IHTMLElement3_iface);
|
||||||
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_QueryInterface(IHTMLElement3 *iface,
|
static HRESULT WINAPI HTMLElement3_QueryInterface(IHTMLElement3 *iface,
|
||||||
REFIID riid, void **ppv)
|
REFIID riid, void **ppv)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
return IHTMLElement_QueryInterface(&This->IHTMLElement_iface, riid, ppv);
|
return IHTMLElement_QueryInterface(&This->IHTMLElement_iface, riid, ppv);
|
||||||
}
|
}
|
||||||
|
|
||||||
static ULONG WINAPI HTMLElement3_AddRef(IHTMLElement3 *iface)
|
static ULONG WINAPI HTMLElement3_AddRef(IHTMLElement3 *iface)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
return IHTMLElement_AddRef(&This->IHTMLElement_iface);
|
return IHTMLElement_AddRef(&This->IHTMLElement_iface);
|
||||||
}
|
}
|
||||||
|
|
||||||
static ULONG WINAPI HTMLElement3_Release(IHTMLElement3 *iface)
|
static ULONG WINAPI HTMLElement3_Release(IHTMLElement3 *iface)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
return IHTMLElement_Release(&This->IHTMLElement_iface);
|
return IHTMLElement_Release(&This->IHTMLElement_iface);
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_GetTypeInfoCount(IHTMLElement3 *iface, UINT *pctinfo)
|
static HRESULT WINAPI HTMLElement3_GetTypeInfoCount(IHTMLElement3 *iface, UINT *pctinfo)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
return IDispatchEx_GetTypeInfoCount(DISPATCHEX(&This->node.dispex), pctinfo);
|
return IDispatchEx_GetTypeInfoCount(DISPATCHEX(&This->node.dispex), pctinfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_GetTypeInfo(IHTMLElement3 *iface, UINT iTInfo,
|
static HRESULT WINAPI HTMLElement3_GetTypeInfo(IHTMLElement3 *iface, UINT iTInfo,
|
||||||
LCID lcid, ITypeInfo **ppTInfo)
|
LCID lcid, ITypeInfo **ppTInfo)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
return IDispatchEx_GetTypeInfo(DISPATCHEX(&This->node.dispex), iTInfo, lcid, ppTInfo);
|
return IDispatchEx_GetTypeInfo(DISPATCHEX(&This->node.dispex), iTInfo, lcid, ppTInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -71,7 +74,7 @@ static HRESULT WINAPI HTMLElement3_GetIDsOfNames(IHTMLElement3 *iface, REFIID ri
|
||||||
LPOLESTR *rgszNames, UINT cNames,
|
LPOLESTR *rgszNames, UINT cNames,
|
||||||
LCID lcid, DISPID *rgDispId)
|
LCID lcid, DISPID *rgDispId)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
return IDispatchEx_GetIDsOfNames(DISPATCHEX(&This->node.dispex), riid, rgszNames, cNames, lcid, rgDispId);
|
return IDispatchEx_GetIDsOfNames(DISPATCHEX(&This->node.dispex), riid, rgszNames, cNames, lcid, rgDispId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -79,126 +82,126 @@ static HRESULT WINAPI HTMLElement3_Invoke(IHTMLElement3 *iface, DISPID dispIdMem
|
||||||
REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams,
|
REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams,
|
||||||
VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
|
VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
return IDispatchEx_Invoke(DISPATCHEX(&This->node.dispex), dispIdMember, riid, lcid,
|
return IDispatchEx_Invoke(DISPATCHEX(&This->node.dispex), dispIdMember, riid, lcid,
|
||||||
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
|
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_mergeAttributes(IHTMLElement3 *iface, IHTMLElement *mergeThis, VARIANT *pvarFlags)
|
static HRESULT WINAPI HTMLElement3_mergeAttributes(IHTMLElement3 *iface, IHTMLElement *mergeThis, VARIANT *pvarFlags)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%p %p)\n", This, mergeThis, pvarFlags);
|
FIXME("(%p)->(%p %p)\n", This, mergeThis, pvarFlags);
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_get_isMultiLine(IHTMLElement3 *iface, VARIANT_BOOL *p)
|
static HRESULT WINAPI HTMLElement3_get_isMultiLine(IHTMLElement3 *iface, VARIANT_BOOL *p)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%p)\n", This, p);
|
FIXME("(%p)->(%p)\n", This, p);
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_get_canHaveHTML(IHTMLElement3 *iface, VARIANT_BOOL *p)
|
static HRESULT WINAPI HTMLElement3_get_canHaveHTML(IHTMLElement3 *iface, VARIANT_BOOL *p)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%p)\n", This, p);
|
FIXME("(%p)->(%p)\n", This, p);
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_put_onlayoutcomplete(IHTMLElement3 *iface, VARIANT v)
|
static HRESULT WINAPI HTMLElement3_put_onlayoutcomplete(IHTMLElement3 *iface, VARIANT v)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_get_onlayoutcomplete(IHTMLElement3 *iface, VARIANT *p)
|
static HRESULT WINAPI HTMLElement3_get_onlayoutcomplete(IHTMLElement3 *iface, VARIANT *p)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%p)\n", This, p);
|
FIXME("(%p)->(%p)\n", This, p);
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_put_onpage(IHTMLElement3 *iface, VARIANT v)
|
static HRESULT WINAPI HTMLElement3_put_onpage(IHTMLElement3 *iface, VARIANT v)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_get_onpage(IHTMLElement3 *iface, VARIANT *p)
|
static HRESULT WINAPI HTMLElement3_get_onpage(IHTMLElement3 *iface, VARIANT *p)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%p)\n", This, p);
|
FIXME("(%p)->(%p)\n", This, p);
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_put_inflateBlock(IHTMLElement3 *iface, VARIANT_BOOL v)
|
static HRESULT WINAPI HTMLElement3_put_inflateBlock(IHTMLElement3 *iface, VARIANT_BOOL v)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%x)\n", This, v);
|
FIXME("(%p)->(%x)\n", This, v);
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_get_inflateBlock(IHTMLElement3 *iface, VARIANT_BOOL *p)
|
static HRESULT WINAPI HTMLElement3_get_inflateBlock(IHTMLElement3 *iface, VARIANT_BOOL *p)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%p)\n", This, p);
|
FIXME("(%p)->(%p)\n", This, p);
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_put_onbeforedeactivate(IHTMLElement3 *iface, VARIANT v)
|
static HRESULT WINAPI HTMLElement3_put_onbeforedeactivate(IHTMLElement3 *iface, VARIANT v)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_get_onbeforedeactivate(IHTMLElement3 *iface, VARIANT *p)
|
static HRESULT WINAPI HTMLElement3_get_onbeforedeactivate(IHTMLElement3 *iface, VARIANT *p)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%p)\n", This, p);
|
FIXME("(%p)->(%p)\n", This, p);
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_setActive(IHTMLElement3 *iface)
|
static HRESULT WINAPI HTMLElement3_setActive(IHTMLElement3 *iface)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)\n", This);
|
FIXME("(%p)\n", This);
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_put_contentEditable(IHTMLElement3 *iface, BSTR v)
|
static HRESULT WINAPI HTMLElement3_put_contentEditable(IHTMLElement3 *iface, BSTR v)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_get_contentEditable(IHTMLElement3 *iface, BSTR *p)
|
static HRESULT WINAPI HTMLElement3_get_contentEditable(IHTMLElement3 *iface, BSTR *p)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%p)\n", This, p);
|
FIXME("(%p)->(%p)\n", This, p);
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_get_isContentEditable(IHTMLElement3 *iface, VARIANT_BOOL *p)
|
static HRESULT WINAPI HTMLElement3_get_isContentEditable(IHTMLElement3 *iface, VARIANT_BOOL *p)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%p)\n", This, p);
|
FIXME("(%p)->(%p)\n", This, p);
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_put_hideFocus(IHTMLElement3 *iface, VARIANT_BOOL v)
|
static HRESULT WINAPI HTMLElement3_put_hideFocus(IHTMLElement3 *iface, VARIANT_BOOL v)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%x)\n", This, v);
|
FIXME("(%p)->(%x)\n", This, v);
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_get_hideFocus(IHTMLElement3 *iface, VARIANT_BOOL *p)
|
static HRESULT WINAPI HTMLElement3_get_hideFocus(IHTMLElement3 *iface, VARIANT_BOOL *p)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%p)\n", This, p);
|
FIXME("(%p)->(%p)\n", This, p);
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
@ -207,7 +210,7 @@ static const WCHAR disabledW[] = {'d','i','s','a','b','l','e','d',0};
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_put_disabled(IHTMLElement3 *iface, VARIANT_BOOL v)
|
static HRESULT WINAPI HTMLElement3_put_disabled(IHTMLElement3 *iface, VARIANT_BOOL v)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
VARIANT *var;
|
VARIANT *var;
|
||||||
HRESULT hres;
|
HRESULT hres;
|
||||||
|
|
||||||
|
@ -228,7 +231,7 @@ static HRESULT WINAPI HTMLElement3_put_disabled(IHTMLElement3 *iface, VARIANT_BO
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_get_disabled(IHTMLElement3 *iface, VARIANT_BOOL *p)
|
static HRESULT WINAPI HTMLElement3_get_disabled(IHTMLElement3 *iface, VARIANT_BOOL *p)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
VARIANT *var;
|
VARIANT *var;
|
||||||
HRESULT hres;
|
HRESULT hres;
|
||||||
|
|
||||||
|
@ -256,35 +259,35 @@ static HRESULT WINAPI HTMLElement3_get_disabled(IHTMLElement3 *iface, VARIANT_BO
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_get_isDisabled(IHTMLElement3 *iface, VARIANT_BOOL *p)
|
static HRESULT WINAPI HTMLElement3_get_isDisabled(IHTMLElement3 *iface, VARIANT_BOOL *p)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%p)\n", This, p);
|
FIXME("(%p)->(%p)\n", This, p);
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_put_onmove(IHTMLElement3 *iface, VARIANT v)
|
static HRESULT WINAPI HTMLElement3_put_onmove(IHTMLElement3 *iface, VARIANT v)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_get_onmove(IHTMLElement3 *iface, VARIANT *p)
|
static HRESULT WINAPI HTMLElement3_get_onmove(IHTMLElement3 *iface, VARIANT *p)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%p)\n", This, p);
|
FIXME("(%p)->(%p)\n", This, p);
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_put_oncontrolselect(IHTMLElement3 *iface, VARIANT v)
|
static HRESULT WINAPI HTMLElement3_put_oncontrolselect(IHTMLElement3 *iface, VARIANT v)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_get_oncontrolselect(IHTMLElement3 *iface, VARIANT *p)
|
static HRESULT WINAPI HTMLElement3_get_oncontrolselect(IHTMLElement3 *iface, VARIANT *p)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%p)\n", This, p);
|
FIXME("(%p)->(%p)\n", This, p);
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
@ -292,7 +295,7 @@ static HRESULT WINAPI HTMLElement3_get_oncontrolselect(IHTMLElement3 *iface, VAR
|
||||||
static HRESULT WINAPI HTMLElement3_fireEvent(IHTMLElement3 *iface, BSTR bstrEventName,
|
static HRESULT WINAPI HTMLElement3_fireEvent(IHTMLElement3 *iface, BSTR bstrEventName,
|
||||||
VARIANT *pvarEventObject, VARIANT_BOOL *pfCancelled)
|
VARIANT *pvarEventObject, VARIANT_BOOL *pfCancelled)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
|
|
||||||
TRACE("(%p)->(%s %s %p)\n", This, debugstr_w(bstrEventName), debugstr_variant(pvarEventObject),
|
TRACE("(%p)->(%s %s %p)\n", This, debugstr_w(bstrEventName), debugstr_variant(pvarEventObject),
|
||||||
pfCancelled);
|
pfCancelled);
|
||||||
|
@ -302,132 +305,130 @@ static HRESULT WINAPI HTMLElement3_fireEvent(IHTMLElement3 *iface, BSTR bstrEven
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_put_onresizestart(IHTMLElement3 *iface, VARIANT v)
|
static HRESULT WINAPI HTMLElement3_put_onresizestart(IHTMLElement3 *iface, VARIANT v)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_get_onresizestart(IHTMLElement3 *iface, VARIANT *p)
|
static HRESULT WINAPI HTMLElement3_get_onresizestart(IHTMLElement3 *iface, VARIANT *p)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%p)\n", This, p);
|
FIXME("(%p)->(%p)\n", This, p);
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_put_onresizeend(IHTMLElement3 *iface, VARIANT v)
|
static HRESULT WINAPI HTMLElement3_put_onresizeend(IHTMLElement3 *iface, VARIANT v)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_get_onresizeend(IHTMLElement3 *iface, VARIANT *p)
|
static HRESULT WINAPI HTMLElement3_get_onresizeend(IHTMLElement3 *iface, VARIANT *p)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%p)\n", This, p);
|
FIXME("(%p)->(%p)\n", This, p);
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_put_onmovestart(IHTMLElement3 *iface, VARIANT v)
|
static HRESULT WINAPI HTMLElement3_put_onmovestart(IHTMLElement3 *iface, VARIANT v)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_get_onmovestart(IHTMLElement3 *iface, VARIANT *p)
|
static HRESULT WINAPI HTMLElement3_get_onmovestart(IHTMLElement3 *iface, VARIANT *p)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%p)\n", This, p);
|
FIXME("(%p)->(%p)\n", This, p);
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_put_onmoveend(IHTMLElement3 *iface, VARIANT v)
|
static HRESULT WINAPI HTMLElement3_put_onmoveend(IHTMLElement3 *iface, VARIANT v)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_get_onmoveend(IHTMLElement3 *iface, VARIANT *p)
|
static HRESULT WINAPI HTMLElement3_get_onmoveend(IHTMLElement3 *iface, VARIANT *p)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%p)\n", This, p);
|
FIXME("(%p)->(%p)\n", This, p);
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_put_onmousecenter(IHTMLElement3 *iface, VARIANT v)
|
static HRESULT WINAPI HTMLElement3_put_onmousecenter(IHTMLElement3 *iface, VARIANT v)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_get_onmousecenter(IHTMLElement3 *iface, VARIANT *p)
|
static HRESULT WINAPI HTMLElement3_get_onmousecenter(IHTMLElement3 *iface, VARIANT *p)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%p)\n", This, p);
|
FIXME("(%p)->(%p)\n", This, p);
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_put_onmouseleave(IHTMLElement3 *iface, VARIANT v)
|
static HRESULT WINAPI HTMLElement3_put_onmouseleave(IHTMLElement3 *iface, VARIANT v)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_get_onmouseleave(IHTMLElement3 *iface, VARIANT *p)
|
static HRESULT WINAPI HTMLElement3_get_onmouseleave(IHTMLElement3 *iface, VARIANT *p)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%p)\n", This, p);
|
FIXME("(%p)->(%p)\n", This, p);
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_put_onactivate(IHTMLElement3 *iface, VARIANT v)
|
static HRESULT WINAPI HTMLElement3_put_onactivate(IHTMLElement3 *iface, VARIANT v)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_get_onactivate(IHTMLElement3 *iface, VARIANT *p)
|
static HRESULT WINAPI HTMLElement3_get_onactivate(IHTMLElement3 *iface, VARIANT *p)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%p)\n", This, p);
|
FIXME("(%p)->(%p)\n", This, p);
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_put_ondeactivate(IHTMLElement3 *iface, VARIANT v)
|
static HRESULT WINAPI HTMLElement3_put_ondeactivate(IHTMLElement3 *iface, VARIANT v)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_get_ondeactivate(IHTMLElement3 *iface, VARIANT *p)
|
static HRESULT WINAPI HTMLElement3_get_ondeactivate(IHTMLElement3 *iface, VARIANT *p)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%p)\n", This, p);
|
FIXME("(%p)->(%p)\n", This, p);
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_dragDrop(IHTMLElement3 *iface, VARIANT_BOOL *pfRet)
|
static HRESULT WINAPI HTMLElement3_dragDrop(IHTMLElement3 *iface, VARIANT_BOOL *pfRet)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%p)\n", This, pfRet);
|
FIXME("(%p)->(%p)\n", This, pfRet);
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLElement3_get_glyphMode(IHTMLElement3 *iface, LONG *p)
|
static HRESULT WINAPI HTMLElement3_get_glyphMode(IHTMLElement3 *iface, LONG *p)
|
||||||
{
|
{
|
||||||
HTMLElement *This = HTMLELEM3_THIS(iface);
|
HTMLElement *This = impl_from_IHTMLElement3(iface);
|
||||||
FIXME("(%p)->(%p)\n", This, p);
|
FIXME("(%p)->(%p)\n", This, p);
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
#undef HTMLELEM2_THIS
|
|
||||||
|
|
||||||
static const IHTMLElement3Vtbl HTMLElement3Vtbl = {
|
static const IHTMLElement3Vtbl HTMLElement3Vtbl = {
|
||||||
HTMLElement3_QueryInterface,
|
HTMLElement3_QueryInterface,
|
||||||
HTMLElement3_AddRef,
|
HTMLElement3_AddRef,
|
||||||
|
@ -483,5 +484,5 @@ static const IHTMLElement3Vtbl HTMLElement3Vtbl = {
|
||||||
|
|
||||||
void HTMLElement3_Init(HTMLElement *This)
|
void HTMLElement3_Init(HTMLElement *This)
|
||||||
{
|
{
|
||||||
This->lpHTMLElement3Vtbl = &HTMLElement3Vtbl;
|
This->IHTMLElement3_iface.lpVtbl = &HTMLElement3Vtbl;
|
||||||
}
|
}
|
||||||
|
|
|
@ -551,7 +551,7 @@ typedef struct {
|
||||||
|
|
||||||
IHTMLElement IHTMLElement_iface;
|
IHTMLElement IHTMLElement_iface;
|
||||||
IHTMLElement2 IHTMLElement2_iface;
|
IHTMLElement2 IHTMLElement2_iface;
|
||||||
const IHTMLElement3Vtbl *lpHTMLElement3Vtbl;
|
IHTMLElement3 IHTMLElement3_iface;
|
||||||
|
|
||||||
nsIDOMHTMLElement *nselem;
|
nsIDOMHTMLElement *nselem;
|
||||||
} HTMLElement;
|
} HTMLElement;
|
||||||
|
@ -642,7 +642,6 @@ struct HTMLDocumentNode {
|
||||||
#define STATUSCLB(x) ((IBindStatusCallback*) &(x)->lpBindStatusCallbackVtbl)
|
#define STATUSCLB(x) ((IBindStatusCallback*) &(x)->lpBindStatusCallbackVtbl)
|
||||||
#define BINDINFO(x) ((IInternetBindInfo*) &(x)->lpInternetBindInfoVtbl);
|
#define BINDINFO(x) ((IInternetBindInfo*) &(x)->lpInternetBindInfoVtbl);
|
||||||
|
|
||||||
#define HTMLELEM3(x) ((IHTMLElement3*) &(x)->lpHTMLElement3Vtbl)
|
|
||||||
#define HTMLDOMNODE(x) ((IHTMLDOMNode*) &(x)->lpHTMLDOMNodeVtbl)
|
#define HTMLDOMNODE(x) ((IHTMLDOMNode*) &(x)->lpHTMLDOMNodeVtbl)
|
||||||
#define HTMLDOMNODE2(x) ((IHTMLDOMNode2*) &(x)->lpHTMLDOMNode2Vtbl)
|
#define HTMLDOMNODE2(x) ((IHTMLDOMNode2*) &(x)->lpHTMLDOMNode2Vtbl)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue