From 6c31674545b1aa7dfa7729d0427b3f1d4ba48226 Mon Sep 17 00:00:00 2001 From: Shuai Meng Date: Sun, 16 Mar 2014 00:03:30 +0800 Subject: [PATCH 04/11] vbscript: Implemented CCur. --- dlls/vbscript/global.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dlls/vbscript/global.c b/dlls/vbscript/global.c index 1ddc76c..071f052 100644 --- a/dlls/vbscript/global.c +++ b/dlls/vbscript/global.c @@ -375,8 +375,11 @@ static HRESULT show_msgbox(script_ctx_t *ctx, BSTR prompt, VARIANT *res) static HRESULT Global_CCur(vbdisp_t *This, VARIANT *arg, unsigned args_cnt, VARIANT *res) { - FIXME("\n"); - return E_NOTIMPL; + TRACE("%s\n", debugstr_variant(arg)); + assert(args_cnt == 1); + + V_VT(res) = VT_EMPTY; + return VariantChangeType(res, arg, VARIANT_LOCALBOOL, VT_CY); } static HRESULT Global_CInt(vbdisp_t *This, VARIANT *arg, unsigned args_cnt, VARIANT *res) -- 1.8.1.2