Gabriel Ivăncescu : jscript: Implement ScriptTypeInfo_GetImplTypeFlags.
Alexandre Julliard
julliard at winehq.org
Fri Dec 13 15:27:23 CST 2019
Module: wine
Branch: master
Commit: d9a560b1cebed8354283c362f4921f168508bdd4
URL: https://source.winehq.org/git/wine.git/?a=commit;h=d9a560b1cebed8354283c362f4921f168508bdd4
Author: Gabriel Ivăncescu <gabrielopcode at gmail.com>
Date: Fri Dec 13 14:59:48 2019 +0200
jscript: Implement ScriptTypeInfo_GetImplTypeFlags.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode at gmail.com>
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/jscript/dispex.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/dlls/jscript/dispex.c b/dlls/jscript/dispex.c
index 63c1edb082..acfe00f7df 100644
--- a/dlls/jscript/dispex.c
+++ b/dlls/jscript/dispex.c
@@ -891,9 +891,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,
More information about the wine-cvs
mailing list