mshtml: Implement IHTMLWindow4::get_frameElement.

This commit is contained in:
Andrew Eikum 2009-11-13 14:13:04 -06:00 committed by Alexandre Julliard
parent 334f2ce074
commit 0eaae2745c
1 changed files with 9 additions and 2 deletions

View File

@ -1425,8 +1425,15 @@ static HRESULT WINAPI HTMLWindow4_createPopup(IHTMLWindow4 *iface, VARIANT *varA
static HRESULT WINAPI HTMLWindow4_get_frameElement(IHTMLWindow4 *iface, IHTMLFrameBase **p)
{
HTMLWindow *This = HTMLWINDOW4_THIS(iface);
FIXME("(%p)->(%p)\n", This, p);
return E_NOTIMPL;
TRACE("(%p)->(%p)\n", This, p);
if(This->frame_element) {
*p = HTMLFRAMEBASE(This->frame_element);
IHTMLFrameBase_AddRef(*p);
}else
*p = NULL;
return S_OK;
}
#undef HTMLWINDOW4_THIS