mshtml: Add IDOMCustomEvent::initCustomEvent implementation.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2019-01-25 12:14:09 +01:00 committed by Alexandre Julliard
parent 78d75e4a22
commit 7e15e49495
1 changed files with 9 additions and 2 deletions

View File

@ -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 = {