static HRESULT WINAPI HTMLElement3_get_disabled(IHTMLElement3 *iface, VARIANT_BOOL *p) { HTMLElement *This = HTMLELEM3_THIS(iface); VARIANT *var; HRESULT hres; TRACE("(%p)->(%p)\n", This, p); if(This->node.vtbl->get_disabled) return This->node.vtbl->get_disabled(&This->node, p); 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; }
static HRESULT WINAPI HTMLElement3_GetIDsOfNames(IHTMLElement3 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId) { HTMLElement *This = HTMLELEM3_THIS(iface); return IDispatchEx_GetIDsOfNames(DISPATCHEX(&This->node.dispex), riid, rgszNames, cNames, lcid, rgDispId); }
static HRESULT WINAPI HTMLElement3_fireEvent(IHTMLElement3 *iface, BSTR bstrEventName, VARIANT *pvarEventObject, VARIANT_BOOL *pfCancelled) { HTMLElement *This = HTMLELEM3_THIS(iface); FIXME("(%p)->(%s %p %p)\n", This, debugstr_w(bstrEventName), pvarEventObject, pfCancelled); return E_NOTIMPL; }
static HRESULT WINAPI HTMLElement3_Invoke(IHTMLElement3 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr) { HTMLElement *This = HTMLELEM3_THIS(iface); return IDispatchEx_Invoke(DISPATCHEX(&This->node.dispex), dispIdMember, riid, lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr); }
static HRESULT WINAPI HTMLElement3_fireEvent(IHTMLElement3 *iface, BSTR bstrEventName, VARIANT *pvarEventObject, VARIANT_BOOL *pfCancelled) { HTMLElement *This = HTMLELEM3_THIS(iface); TRACE("(%p)->(%s %s %p)\n", This, debugstr_w(bstrEventName), debugstr_variant(pvarEventObject), pfCancelled); return dispatch_event(&This->node, bstrEventName, pvarEventObject, pfCancelled); }
static HRESULT WINAPI HTMLElement3_put_disabled(IHTMLElement3 *iface, VARIANT_BOOL v) { HTMLElement *This = HTMLELEM3_THIS(iface); VARIANT *var; HRESULT hres; TRACE("(%p)->(%x)\n", This, v); if(This->node.vtbl->put_disabled) return This->node.vtbl->put_disabled(&This->node, v); 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; }
static HRESULT WINAPI HTMLElement3_put_ondeactivate(IHTMLElement3 *iface, VARIANT v) { HTMLElement *This = HTMLELEM3_THIS(iface); FIXME("(%p)->(%s)\n", This, debugstr_variant(&v)); return E_NOTIMPL; }
static HRESULT WINAPI HTMLElement3_put_contentEditable(IHTMLElement3 *iface, BSTR v) { HTMLElement *This = HTMLELEM3_THIS(iface); FIXME("(%p)->(%s)\n", This, debugstr_w(v)); return E_NOTIMPL; }
static HRESULT WINAPI HTMLElement3_GetTypeInfo(IHTMLElement3 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo) { HTMLElement *This = HTMLELEM3_THIS(iface); return IDispatchEx_GetTypeInfo(DISPATCHEX(&This->node.dispex), iTInfo, lcid, ppTInfo); }
static HRESULT WINAPI HTMLElement3_GetTypeInfoCount(IHTMLElement3 *iface, UINT *pctinfo) { HTMLElement *This = HTMLELEM3_THIS(iface); return IDispatchEx_GetTypeInfoCount(DISPATCHEX(&This->node.dispex), pctinfo); }
static ULONG WINAPI HTMLElement3_Release(IHTMLElement3 *iface) { HTMLElement *This = HTMLELEM3_THIS(iface); return IHTMLElement_Release(HTMLELEM(This)); }
static ULONG WINAPI HTMLElement3_AddRef(IHTMLElement3 *iface) { HTMLElement *This = HTMLELEM3_THIS(iface); return IHTMLElement_AddRef(HTMLELEM(This)); }
static HRESULT WINAPI HTMLElement3_get_glyphMode(IHTMLElement3 *iface, LONG *p) { HTMLElement *This = HTMLELEM3_THIS(iface); FIXME("(%p)->(%p)\n", This, p); return E_NOTIMPL; }
static HRESULT WINAPI HTMLElement3_dragDrop(IHTMLElement3 *iface, VARIANT_BOOL *pfRet) { HTMLElement *This = HTMLELEM3_THIS(iface); FIXME("(%p)->(%p)\n", This, pfRet); return E_NOTIMPL; }
static HRESULT WINAPI HTMLElement3_setActive(IHTMLElement3 *iface) { HTMLElement *This = HTMLELEM3_THIS(iface); FIXME("(%p)\n", This); return E_NOTIMPL; }
static HRESULT WINAPI HTMLElement3_mergeAttributes(IHTMLElement3 *iface, IHTMLElement *mergeThis, VARIANT *pvarFlags) { HTMLElement *This = HTMLELEM3_THIS(iface); FIXME("(%p)->(%p %p)\n", This, mergeThis, pvarFlags); return E_NOTIMPL; }
static HRESULT WINAPI HTMLElement3_QueryInterface(IHTMLElement3 *iface, REFIID riid, void **ppv) { HTMLElement *This = HTMLELEM3_THIS(iface); return IHTMLElement_QueryInterface(HTMLELEM(This), riid, ppv); }
static HRESULT WINAPI HTMLElement3_get_contentEditable(IHTMLElement3 *iface, BSTR *p) { HTMLElement *This = HTMLELEM3_THIS(iface); FIXME("(%p)->(%p)\n", This, p); return E_NOTIMPL; }
static HRESULT WINAPI HTMLElement3_put_hideFocus(IHTMLElement3 *iface, VARIANT_BOOL v) { HTMLElement *This = HTMLELEM3_THIS(iface); FIXME("(%p)->(%x)\n", This, v); return E_NOTIMPL; }
static HRESULT WINAPI HTMLElement3_get_isMultiLine(IHTMLElement3 *iface, VARIANT_BOOL *p) { HTMLElement *This = HTMLELEM3_THIS(iface); FIXME("(%p)->(%p)\n", This, p); return E_NOTIMPL; }
static HRESULT WINAPI HTMLElement3_get_ondeactivate(IHTMLElement3 *iface, VARIANT *p) { HTMLElement *This = HTMLELEM3_THIS(iface); FIXME("(%p)->(%p)\n", This, p); return E_NOTIMPL; }