static HRESULT WINAPI HTMLElement2_detachEvent(IHTMLElement2 *iface, BSTR event, IDispatch *pDisp) { HTMLElement *This = impl_from_IHTMLElement2(iface); TRACE("(%p)->(%s %p)\n", This, debugstr_w(event), pDisp); return detach_event(*get_node_event_target(&This->node), &This->node.doc->basedoc, event, pDisp); }
static HRESULT WINAPI HTMLDocument3_detachEvent(IHTMLDocument3 *iface, BSTR event, IDispatch *pDisp) { HTMLDocument *This = impl_from_IHTMLDocument3(iface); TRACE("(%p)->(%s %p)\n", This, debugstr_w(event), pDisp); return detach_event(This->doc_node->node.event_target, This, event, pDisp); }