Commit 0eaae274 authored by Andrew Eikum's avatar Andrew Eikum Committed by Alexandre Julliard

mshtml: Implement IHTMLWindow4::get_frameElement.

parent 334f2ce0
...@@ -1425,8 +1425,15 @@ static HRESULT WINAPI HTMLWindow4_createPopup(IHTMLWindow4 *iface, VARIANT *varA ...@@ -1425,8 +1425,15 @@ static HRESULT WINAPI HTMLWindow4_createPopup(IHTMLWindow4 *iface, VARIANT *varA
static HRESULT WINAPI HTMLWindow4_get_frameElement(IHTMLWindow4 *iface, IHTMLFrameBase **p) static HRESULT WINAPI HTMLWindow4_get_frameElement(IHTMLWindow4 *iface, IHTMLFrameBase **p)
{ {
HTMLWindow *This = HTMLWINDOW4_THIS(iface); HTMLWindow *This = HTMLWINDOW4_THIS(iface);
FIXME("(%p)->(%p)\n", This, p); TRACE("(%p)->(%p)\n", This, p);
return E_NOTIMPL;
if(This->frame_element) {
*p = HTMLFRAMEBASE(This->frame_element);
IHTMLFrameBase_AddRef(*p);
}else
*p = NULL;
return S_OK;
} }
#undef HTMLWINDOW4_THIS #undef HTMLWINDOW4_THIS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment