shdocvw: Added get_Document implementation.

This commit is contained in:
Jacek Caban 2005-12-06 10:57:29 +01:00 committed by Alexandre Julliard
parent 4d7f9f7c65
commit 5ba7b1778c
1 changed files with 8 additions and 2 deletions

View File

@ -260,8 +260,14 @@ static HRESULT WINAPI WebBrowser_get_Container(IWebBrowser2 *iface, IDispatch **
static HRESULT WINAPI WebBrowser_get_Document(IWebBrowser2 *iface, IDispatch **ppDisp)
{
WebBrowser *This = WEBBROWSER_THIS(iface);
FIXME("(%p)->(%p)\n", This, ppDisp);
return E_NOTIMPL;
TRACE("(%p)->(%p)\n", This, ppDisp);
*ppDisp = NULL;
if(This->document)
IUnknown_QueryInterface(This->document, &IID_IDispatch, (void**)ppDisp);
return S_OK;
}
static HRESULT WINAPI WebBrowser_get_TopLevelContainer(IWebBrowser2 *iface, VARIANT_BOOL *pBool)