Jacek Caban : mshtml: Added IHTMLWindow::get_window implementation.
Alexandre Julliard
julliard at winehq.org
Tue Jul 1 08:27:29 CDT 2008
Module: wine
Branch: master
Commit: ebb4a9b1974ec0f77a13fe1d5ca337d98c0dc187
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ebb4a9b1974ec0f77a13fe1d5ca337d98c0dc187
Author: Jacek Caban <jacek at codeweavers.com>
Date: Mon Jun 30 21:37:18 2008 +0200
mshtml: Added IHTMLWindow::get_window 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 e8ed7d9..3a9a17b 100644
--- a/dlls/mshtml/htmlwindow.c
+++ b/dlls/mshtml/htmlwindow.c
@@ -335,8 +335,13 @@ static HRESULT WINAPI HTMLWindow2_get_top(IHTMLWindow2 *iface, IHTMLWindow2 **p)
static HRESULT WINAPI HTMLWindow2_get_window(IHTMLWindow2 *iface, IHTMLWindow2 **p)
{
HTMLWindow *This = HTMLWINDOW2_THIS(iface);
- FIXME("(%p)->(%p)\n", This, p);
- return E_NOTIMPL;
+
+ TRACE("(%p)->(%p)\n", This, p);
+
+ /* FIXME: We should return kind of proxy window here. */
+ IHTMLWindow2_AddRef(HTMLWINDOW2(This));
+ *p = HTMLWINDOW2(This);
+ return S_OK;
}
static HRESULT WINAPI HTMLWindow2_navigate(IHTMLWindow2 *iface, BSTR url)
More information about the wine-cvs
mailing list