mshtml: Implement IHTMLElement get_document.

This commit is contained in:
Alistair Leslie-Hughes 2008-10-30 21:38:23 +11:00 committed by Alexandre Julliard
parent 26fcfb4b24
commit f5c5951a3c
1 changed files with 10 additions and 2 deletions

View File

@ -579,8 +579,16 @@ static HRESULT WINAPI HTMLElement_get_onmouseup(IHTMLElement *iface, VARIANT *p)
static HRESULT WINAPI HTMLElement_get_document(IHTMLElement *iface, IDispatch **p)
{
HTMLElement *This = HTMLELEM_THIS(iface);
FIXME("(%p)->(%p)\n", This, p);
return E_NOTIMPL;
TRACE("(%p)->(%p)\n", This, p);
if(!p)
return E_POINTER;
*p = (IDispatch*)This->node.doc;
IDispatch_AddRef(*p);
return S_OK;
}
static HRESULT WINAPI HTMLElement_put_title(IHTMLElement *iface, BSTR v)