jscript: Implement ScriptTypeInfo_GetRefTypeOfImplType.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7be12525aa
commit
2990bc3515
|
@ -877,9 +877,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)
|
||||
|
|
Loading…
Reference in New Issue