ieframe: Added semi-stub IHTMLWindow2::close implementation.

This commit is contained in:
Jacek Caban 2012-01-09 17:56:26 +01:00 committed by Alexandre Julliard
parent a8816f51d8
commit c3f681788b
1 changed files with 7 additions and 2 deletions

View File

@ -215,8 +215,13 @@ static HRESULT WINAPI IEHTMLWindow2_get_history(IHTMLWindow2 *iface, IOmHistory
static HRESULT WINAPI IEHTMLWindow2_close(IHTMLWindow2 *iface) static HRESULT WINAPI IEHTMLWindow2_close(IHTMLWindow2 *iface)
{ {
IEHTMLWindow *This = impl_from_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) static HRESULT WINAPI IEHTMLWindow2_put_opener(IHTMLWindow2 *iface, VARIANT v)