Jacek Caban : jscript/tests: Allow GetTypeInfo calls.

Alexandre Julliard julliard at winehq.org
Mon Dec 16 16:47:55 CST 2019


Module: wine
Branch: master
Commit: 5bcc65d330a50cada8e07b338dbfcf3209c01fd1
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=5bcc65d330a50cada8e07b338dbfcf3209c01fd1

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Mon Dec 16 20:22:24 2019 +0100

jscript/tests: Allow GetTypeInfo calls.

It's called by some win10 versions.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/jscript/tests/activex.c | 4 +---
 dlls/jscript/tests/caller.c  | 4 +---
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/dlls/jscript/tests/activex.c b/dlls/jscript/tests/activex.c
index 636dd81e19..161e1138ff 100644
--- a/dlls/jscript/tests/activex.c
+++ b/dlls/jscript/tests/activex.c
@@ -221,10 +221,8 @@ static HRESULT WINAPI DispatchEx_GetTypeInfoCount(IDispatchEx *iface, UINT *pcti
     return E_NOTIMPL;
 }
 
-static HRESULT WINAPI DispatchEx_GetTypeInfo(IDispatchEx *iface, UINT iTInfo,
-                                              LCID lcid, ITypeInfo **ppTInfo)
+static HRESULT WINAPI DispatchEx_GetTypeInfo(IDispatchEx *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
 {
-    ok(0, "unexpected call\n");
     return E_NOTIMPL;
 }
 
diff --git a/dlls/jscript/tests/caller.c b/dlls/jscript/tests/caller.c
index dc97fb7268..336c397be9 100644
--- a/dlls/jscript/tests/caller.c
+++ b/dlls/jscript/tests/caller.c
@@ -275,10 +275,8 @@ static HRESULT WINAPI DispatchEx_GetTypeInfoCount(IDispatchEx *iface, UINT *pcti
     return E_NOTIMPL;
 }
 
-static HRESULT WINAPI DispatchEx_GetTypeInfo(IDispatchEx *iface, UINT iTInfo,
-                                              LCID lcid, ITypeInfo **ppTInfo)
+static HRESULT WINAPI DispatchEx_GetTypeInfo(IDispatchEx *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
 {
-    ok(0, "unexpected call\n");
     return E_NOTIMPL;
 }
 




More information about the wine-cvs mailing list