mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
mshtml: Added IActiveScriptSite::GetItemInfo implementation.
This commit is contained in:
parent
b24151b5df
commit
4383503211
@ -255,8 +255,27 @@ static HRESULT WINAPI ActiveScriptSite_GetItemInfo(IActiveScriptSite *iface, LPC
|
||||
DWORD dwReturnMask, IUnknown **ppiunkItem, ITypeInfo **ppti)
|
||||
{
|
||||
ScriptHost *This = ACTSCPSITE_THIS(iface);
|
||||
FIXME("(%p)->(%s %x %p %p)\n", This, debugstr_w(pstrName), dwReturnMask, ppiunkItem, ppti);
|
||||
return E_NOTIMPL;
|
||||
|
||||
TRACE("(%p)->(%s %x %p %p)\n", This, debugstr_w(pstrName), dwReturnMask, ppiunkItem, ppti);
|
||||
|
||||
if(dwReturnMask != SCRIPTINFO_IUNKNOWN) {
|
||||
FIXME("Unsupported mask %x\n", dwReturnMask);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
*ppiunkItem = NULL;
|
||||
|
||||
if(strcmpW(pstrName, windowW))
|
||||
return DISP_E_MEMBERNOTFOUND;
|
||||
|
||||
if(!This->doc)
|
||||
return E_FAIL;
|
||||
|
||||
/* FIXME: Return proxy object */
|
||||
*ppiunkItem = (IUnknown*)HTMLWINDOW2(This->doc->window);
|
||||
IUnknown_AddRef(*ppiunkItem);
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI ActiveScriptSite_GetDocVersionString(IActiveScriptSite *iface, BSTR *pbstrVersion)
|
||||
|
Loading…
Reference in New Issue
Block a user