Module: wine Branch: master Commit: 18ae7c7deb5f45f280cc02d436bb826f2977892d URL: https://source.winehq.org/git/wine.git/?a=commit;h=18ae7c7deb5f45f280cc02d43... Author: Jacek Caban <jacek(a)codeweavers.com> Date: Tue Feb 6 00:09:20 2018 +0100 mshtml: Added IDOMUIEvent::detail property implementation. Signed-off-by: Jacek Caban <jacek(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/mshtml/htmlevent.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/dlls/mshtml/htmlevent.c b/dlls/mshtml/htmlevent.c index b788b2e..a855b02 100644 --- a/dlls/mshtml/htmlevent.c +++ b/dlls/mshtml/htmlevent.c @@ -1211,8 +1211,17 @@ static HRESULT WINAPI DOMUIEvent_get_view(IDOMUIEvent *iface, IHTMLWindow2 **p) static HRESULT WINAPI DOMUIEvent_get_detail(IDOMUIEvent *iface, LONG *p) { DOMEvent *This = impl_from_IDOMUIEvent(iface); - FIXME("(%p)->(%p)\n", This, p); - return E_NOTIMPL; + INT32 detail; + 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,