Jacek Caban : mshtml: Added IHTMLWindow3::attachEvent implementation.

Alexandre Julliard julliard at winehq.org
Wed Sep 9 09:56:21 CDT 2009


Module: wine
Branch: master
Commit: dfc27cd720f5fa248e26e5f4f92e22fe9096bc71
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=dfc27cd720f5fa248e26e5f4f92e22fe9096bc71

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Tue Sep  8 22:31:10 2009 +0200

mshtml: Added IHTMLWindow3::attachEvent implementation.

---

 dlls/mshtml/htmlwindow.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dlls/mshtml/htmlwindow.c b/dlls/mshtml/htmlwindow.c
index 91b56f0..869b13c 100644
--- a/dlls/mshtml/htmlwindow.c
+++ b/dlls/mshtml/htmlwindow.c
@@ -995,8 +995,10 @@ static HRESULT WINAPI HTMLWindow3_get_screenTop(IHTMLWindow3 *iface, LONG *p)
 static HRESULT WINAPI HTMLWindow3_attachEvent(IHTMLWindow3 *iface, BSTR event, IDispatch *pDisp, VARIANT_BOOL *pfResult)
 {
     HTMLWindow *This = HTMLWINDOW3_THIS(iface);
-    FIXME("(%p)->(%s %p %p)\n", This, debugstr_w(event), pDisp, pfResult);
-    return E_NOTIMPL;
+
+    TRACE("(%p)->(%s %p %p)\n", This, debugstr_w(event), pDisp, pfResult);
+
+    return attach_event(&This->event_target, This->doc, event, pDisp, pfResult);
 }
 
 static HRESULT WINAPI HTMLWindow3_detachEvent(IHTMLWindow3 *iface, BSTR event, IDispatch *pDisp)




More information about the wine-cvs mailing list