Commit 691faf0e authored by Gabriel Ivăncescu's avatar Gabriel Ivăncescu Committed by Alexandre Julliard

jscript: Implement ScriptTypeInfo_GetMops.

parent 0dc32852
......@@ -1120,10 +1120,23 @@ static HRESULT WINAPI ScriptTypeInfo_CreateInstance(ITypeInfo *iface, IUnknown *
static HRESULT WINAPI ScriptTypeInfo_GetMops(ITypeInfo *iface, MEMBERID memid, BSTR *pBstrMops)
{
ScriptTypeInfo *This = ScriptTypeInfo_from_ITypeInfo(iface);
ITypeInfo *disp_typeinfo;
HRESULT hr;
FIXME("(%p)->(%d %p)\n", This, memid, pBstrMops);
TRACE("(%p)->(%d %p)\n", This, memid, pBstrMops);
return E_NOTIMPL;
if (!pBstrMops) return E_INVALIDARG;
if (!get_func_from_memid(This, memid) && !get_var_from_memid(This, memid))
{
hr = get_dispatch_typeinfo(&disp_typeinfo);
if (FAILED(hr)) return hr;
return ITypeInfo_GetMops(disp_typeinfo, memid, pBstrMops);
}
*pBstrMops = NULL;
return S_OK;
}
static HRESULT WINAPI ScriptTypeInfo_GetContainingTypeLib(ITypeInfo *iface, ITypeLib **ppTLib, UINT *pIndex)
......
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