Jacek Caban : mshtml: Add IDOMCustomEvent::detail property implementation.

Alexandre Julliard julliard at winehq.org
Fri Jan 25 16:29:08 CST 2019


Module: wine
Branch: master
Commit: 757c3025c1b1acf588f6ea59f845bba59539c0ee
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=757c3025c1b1acf588f6ea59f845bba59539c0ee

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Fri Jan 25 12:14:16 2019 +0100

mshtml: Add IDOMCustomEvent::detail property implementation.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/mshtml/htmlevent.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dlls/mshtml/htmlevent.c b/dlls/mshtml/htmlevent.c
index 0ec147d..1403542 100644
--- a/dlls/mshtml/htmlevent.c
+++ b/dlls/mshtml/htmlevent.c
@@ -2108,8 +2108,11 @@ static HRESULT WINAPI DOMCustomEvent_Invoke(IDOMCustomEvent *iface, DISPID dispI
 static HRESULT WINAPI DOMCustomEvent_get_detail(IDOMCustomEvent *iface, VARIANT *p)
 {
     DOMCustomEvent *This = impl_from_IDOMCustomEvent(iface);
-    FIXME("(%p)->(%p)\n", This, p);
-    return E_NOTIMPL;
+
+    TRACE("(%p)->(%p)\n", This, p);
+
+    V_VT(p) = VT_EMPTY;
+    return VariantCopy(p, &This->detail);
 }
 
 static HRESULT WINAPI DOMCustomEvent_initCustomEvent(IDOMCustomEvent *iface, BSTR type, VARIANT_BOOL can_bubble,




More information about the wine-cvs mailing list