[PATCH 07/14] vbscript: Implement ScriptTypeInfo_GetImplTypeFlags. (original) (raw)
Gabriel Ivăncescu gabrielopcode at gmail.com
Mon Dec 9 09:29:30 CST 2019
- Previous message (by thread): [PATCH 06/14] vbscript: Implement ScriptTypeInfo_GetRefTypeInfo.
- Next message (by thread): [PATCH 08/14] vbscript: Implement ScriptTypeInfo_Invoke.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Signed-off-by: Gabriel Ivăncescu <gabrielopcode at gmail.com>
dlls/vbscript/vbdisp.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/dlls/vbscript/vbdisp.c b/dlls/vbscript/vbdisp.c index db94478..a74b0ba 100644 --- a/dlls/vbscript/vbdisp.c +++ b/dlls/vbscript/vbdisp.c @@ -802,9 +802,13 @@ static HRESULT WINAPI ScriptTypeInfo_GetImplTypeFlags(ITypeInfo *iface, UINT ind { ScriptTypeInfo *This = ScriptTypeInfo_from_ITypeInfo(iface); - FIXME("(%p)->(%u %p)\n", This, index, pImplTypeFlags); + TRACE("(%p)->(%u %p)\n", This, index, pImplTypeFlags); - return E_NOTIMPL; + if (!pImplTypeFlags) return E_INVALIDARG; + if (index != 0) return TYPE_E_ELEMENTNOTFOUND; + + *pImplTypeFlags = 0; + return S_OK; } static HRESULT WINAPI ScriptTypeInfo_GetIDsOfNames(ITypeInfo *iface, LPOLESTR *rgszNames, UINT cNames,
2.21.0
- Previous message (by thread): [PATCH 06/14] vbscript: Implement ScriptTypeInfo_GetRefTypeInfo.
- Next message (by thread): [PATCH 08/14] vbscript: Implement ScriptTypeInfo_Invoke.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]