Module: wine Branch: master Commit: c3f681788b7dad81ce6948969d704e51251e38dc URL: http://source.winehq.org/git/wine.git/?a=commit;h=c3f681788b7dad81ce6948969d...
Author: Jacek Caban jacek@codeweavers.com Date: Mon Jan 9 17:56:26 2012 +0100
ieframe: Added semi-stub IHTMLWindow2::close implementation.
---
dlls/ieframe/iehtmlwnd.c | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/dlls/ieframe/iehtmlwnd.c b/dlls/ieframe/iehtmlwnd.c index 1d1f214..04f6dfa 100644 --- a/dlls/ieframe/iehtmlwnd.c +++ b/dlls/ieframe/iehtmlwnd.c @@ -215,8 +215,13 @@ static HRESULT WINAPI IEHTMLWindow2_get_history(IHTMLWindow2 *iface, IOmHistory static HRESULT WINAPI IEHTMLWindow2_close(IHTMLWindow2 *iface) { IEHTMLWindow *This = impl_from_IHTMLWindow2(iface); - FIXME("(%p)->()\n", This); - return E_NOTIMPL; + + FIXME("(%p) semi-stub\n", This); + + if(!This->doc_host->wb) + return E_UNEXPECTED; + + return IWebBrowser2_put_Visible(This->doc_host->wb, VARIANT_FALSE); }
static HRESULT WINAPI IEHTMLWindow2_put_opener(IHTMLWindow2 *iface, VARIANT v)