Commit 8ce98552 authored by Gabriel Ivăncescu's avatar Gabriel Ivăncescu Committed by Alexandre Julliard

vbscript: Implement ScriptTypeInfo_GetRefTypeOfImplType.

parent c4819437
......@@ -780,9 +780,14 @@ static HRESULT WINAPI ScriptTypeInfo_GetRefTypeOfImplType(ITypeInfo *iface, UINT
{
ScriptTypeInfo *This = ScriptTypeInfo_from_ITypeInfo(iface);
FIXME("(%p)->(%u %p)\n", This, index, pRefType);
TRACE("(%p)->(%u %p)\n", This, index, pRefType);
return E_NOTIMPL;
/* We only inherit from IDispatch */
if (!pRefType) return E_INVALIDARG;
if (index != 0) return TYPE_E_ELEMENTNOTFOUND;
*pRefType = 1;
return S_OK;
}
static HRESULT WINAPI ScriptTypeInfo_GetImplTypeFlags(ITypeInfo *iface, UINT index, INT *pImplTypeFlags)
......
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