mshtml: Added IDOMUIEvent::detail property implementation.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2018-02-06 00:09:20 +01:00 committed by Alexandre Julliard
parent f5a0252670
commit 18ae7c7deb
1 changed files with 11 additions and 2 deletions

View File

@ -1211,8 +1211,17 @@ static HRESULT WINAPI DOMUIEvent_get_view(IDOMUIEvent *iface, IHTMLWindow2 **p)
static HRESULT WINAPI DOMUIEvent_get_detail(IDOMUIEvent *iface, LONG *p) static HRESULT WINAPI DOMUIEvent_get_detail(IDOMUIEvent *iface, LONG *p)
{ {
DOMEvent *This = impl_from_IDOMUIEvent(iface); DOMEvent *This = impl_from_IDOMUIEvent(iface);
FIXME("(%p)->(%p)\n", This, p); INT32 detail;
return E_NOTIMPL; nsresult nsres;
TRACE("(%p)->(%p)\n", This, p);
nsres = nsIDOMUIEvent_GetDetail(This->ui_event, &detail);
if(NS_FAILED(nsres))
return E_FAIL;
*p = detail;
return S_OK;
} }
static HRESULT WINAPI DOMUIEvent_initUIEvent(IDOMUIEvent *iface, BSTR type, VARIANT_BOOL can_bubble, static HRESULT WINAPI DOMUIEvent_initUIEvent(IDOMUIEvent *iface, BSTR type, VARIANT_BOOL can_bubble,