Jacek Caban : mshtml: Added IHTMLDocument3::attachEvent implementation.
Alexandre Julliard
julliard at winehq.org
Mon Sep 28 11:54:36 CDT 2009
Module: wine
Branch: master
Commit: 73aec9bd001e513389fafbfe441c92748107c486
URL: http://source.winehq.org/git/wine.git/?a=commit;h=73aec9bd001e513389fafbfe441c92748107c486
Author: Jacek Caban <jacek at codeweavers.com>
Date: Sun Sep 27 20:59:52 2009 +0200
mshtml: Added IHTMLDocument3::attachEvent implementation.
---
dlls/mshtml/htmldoc3.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/dlls/mshtml/htmldoc3.c b/dlls/mshtml/htmldoc3.c
index 4b249e6..f4f923f 100644
--- a/dlls/mshtml/htmldoc3.c
+++ b/dlls/mshtml/htmldoc3.c
@@ -31,6 +31,7 @@
#include "wine/debug.h"
#include "mshtml_private.h"
+#include "htmlevent.h"
WINE_DEFAULT_DEBUG_CHANNEL(mshtml);
@@ -173,8 +174,10 @@ static HRESULT WINAPI HTMLDocument3_attachEvent(IHTMLDocument3 *iface, BSTR even
IDispatch* pDisp, VARIANT_BOOL *pfResult)
{
HTMLDocument *This = HTMLDOC3_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->doc_node->node.event_target, This, event, pDisp, pfResult);
}
static HRESULT WINAPI HTMLDocument3_detachEvent(IHTMLDocument3 *iface, BSTR event,
More information about the wine-cvs
mailing list