Jacek Caban : mshtml: Added IHTMLWindow2::get_event implementation.
Alexandre Julliard
julliard at winehq.org
Mon Oct 13 06:37:20 CDT 2008
Module: wine
Branch: master
Commit: 28d918f58102b47842fb62ddd5187f78fb291cdc
URL: http://source.winehq.org/git/wine.git/?a=commit;h=28d918f58102b47842fb62ddd5187f78fb291cdc
Author: Jacek Caban <jacek at codeweavers.com>
Date: Fri Oct 10 15:47:02 2008 -0500
mshtml: Added IHTMLWindow2::get_event implementation.
---
dlls/mshtml/htmlwindow.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/dlls/mshtml/htmlwindow.c b/dlls/mshtml/htmlwindow.c
index 1027399..6e8a8ea 100644
--- a/dlls/mshtml/htmlwindow.c
+++ b/dlls/mshtml/htmlwindow.c
@@ -504,8 +504,13 @@ static HRESULT WINAPI HTMLWindow2_get_document(IHTMLWindow2 *iface, IHTMLDocumen
static HRESULT WINAPI HTMLWindow2_get_event(IHTMLWindow2 *iface, IHTMLEventObj **p)
{
HTMLWindow *This = HTMLWINDOW2_THIS(iface);
- FIXME("(%p)->(%p)\n", This, p);
- return E_NOTIMPL;
+
+ TRACE("(%p)->(%p)\n", This, p);
+
+ if(This->event)
+ IHTMLEventObj_AddRef(This->event);
+ *p = This->event;
+ return S_OK;
}
static HRESULT WINAPI HTMLWindow2_get__newEnum(IHTMLWindow2 *iface, IUnknown **p)
More information about the wine-cvs
mailing list