From 2ea84373cfd9854293bab8cb6e9bde284977d3bb Mon Sep 17 00:00:00 2001 From: Daniel Lehman Date: Thu, 31 Mar 2016 14:27:27 -0700 Subject: [PATCH] ucrtbase: Add some wide functions called on startup. Signed-off-by: Daniel Lehman Signed-off-by: Piotr Caban Signed-off-by: Alexandre Julliard --- .../api-ms-win-crt-runtime-l1-1-0.spec | 4 ++-- dlls/msvcrt/data.c | 18 ++++++++++++++++++ dlls/ucrtbase/ucrtbase.spec | 4 ++-- 3 files changed, 22 insertions(+), 4 deletions(-) diff --git a/dlls/api-ms-win-crt-runtime-l1-1-0/api-ms-win-crt-runtime-l1-1-0.spec b/dlls/api-ms-win-crt-runtime-l1-1-0/api-ms-win-crt-runtime-l1-1-0.spec index 65a73adc40e..cd2c33d5daa 100644 --- a/dlls/api-ms-win-crt-runtime-l1-1-0/api-ms-win-crt-runtime-l1-1-0.spec +++ b/dlls/api-ms-win-crt-runtime-l1-1-0/api-ms-win-crt-runtime-l1-1-0.spec @@ -24,7 +24,7 @@ @ cdecl _cexit() ucrtbase._cexit @ cdecl _clearfp() ucrtbase._clearfp @ cdecl _configure_narrow_argv(long) ucrtbase._configure_narrow_argv -@ stub _configure_wide_argv +@ cdecl _configure_wide_argv(long) ucrtbase._configure_wide_argv @ cdecl _control87(long long) ucrtbase._control87 @ cdecl _controlfp(long long) ucrtbase._controlfp @ cdecl _controlfp_s(ptr long long) ucrtbase._controlfp_s @@ -53,7 +53,7 @@ @ cdecl _getpid() ucrtbase._getpid @ cdecl _initialize_narrow_environment() ucrtbase._initialize_narrow_environment @ stub _initialize_onexit_table -@ stub _initialize_wide_environment +@ cdecl _initialize_wide_environment() ucrtbase._initialize_wide_environment @ cdecl _initterm(ptr ptr) ucrtbase._initterm @ cdecl _initterm_e(ptr ptr) ucrtbase._initterm_e @ cdecl _invalid_parameter_noinfo() ucrtbase._invalid_parameter_noinfo diff --git a/dlls/msvcrt/data.c b/dlls/msvcrt/data.c index 7e75a7f0efe..b665333a3f5 100644 --- a/dlls/msvcrt/data.c +++ b/dlls/msvcrt/data.c @@ -666,3 +666,21 @@ int CDECL _initialize_narrow_environment(void) TRACE("\n"); return 0; } + +/********************************************************************* + * _configure_wide_argv (UCRTBASE.@) + */ +int CDECL _configure_wide_argv(int mode) +{ + FIXME("(%d) stub\n", mode); + return 0; +} + +/********************************************************************* + * _initialize_wide_environment (UCRTBASE.@) + */ +int CDECL _initialize_wide_environment(void) +{ + FIXME("stub\n"); + return 0; +} diff --git a/dlls/ucrtbase/ucrtbase.spec b/dlls/ucrtbase/ucrtbase.spec index 5c86de843d6..c697eeec34d 100644 --- a/dlls/ucrtbase/ucrtbase.spec +++ b/dlls/ucrtbase/ucrtbase.spec @@ -230,7 +230,7 @@ @ cdecl _commit(long) MSVCRT__commit @ cdecl _configthreadlocale(long) @ cdecl _configure_narrow_argv(long) -@ stub _configure_wide_argv +@ cdecl _configure_wide_argv(long) @ cdecl _control87(long long) @ cdecl _controlfp(long long) @ cdecl _controlfp_s(ptr long long) @@ -420,7 +420,7 @@ @ cdecl _i64tow_s(int64 ptr long long) MSVCRT__i64tow_s @ cdecl _initialize_narrow_environment() @ stub _initialize_onexit_table -@ stub _initialize_wide_environment +@ cdecl _initialize_wide_environment() @ cdecl _initterm(ptr ptr) @ cdecl _initterm_e(ptr ptr) @ cdecl _invalid_parameter_noinfo()