Commit 7e15e494 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Add IDOMCustomEvent::initCustomEvent implementation.

parent 78d75e4a
......@@ -2116,8 +2116,15 @@ static HRESULT WINAPI DOMCustomEvent_initCustomEvent(IDOMCustomEvent *iface, BST
VARIANT_BOOL cancelable, VARIANT *detail)
{
DOMCustomEvent *This = impl_from_IDOMCustomEvent(iface);
FIXME("(%p)->(%s %x %x %p)\n", This, debugstr_w(type), can_bubble, cancelable, debugstr_variant(detail));
return E_NOTIMPL;
HRESULT hres;
TRACE("(%p)->(%s %x %x %p)\n", This, debugstr_w(type), can_bubble, cancelable, debugstr_variant(detail));
hres = IDOMEvent_initEvent(&This->event.IDOMEvent_iface, type, can_bubble, cancelable);
if(FAILED(hres))
return hres;
return VariantCopy(&This->detail, detail);
}
static const IDOMCustomEventVtbl DOMCustomEventVtbl = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment