Commit a4d5bf99 authored by Martin Storsjo's avatar Martin Storsjo Committed by Alexandre Julliard

ucrtbase: Add stub functions for narrow environment.

parent d2ae1054
......@@ -23,7 +23,7 @@
@ cdecl _c_exit() ucrtbase._c_exit
@ cdecl _cexit() ucrtbase._cexit
@ cdecl _clearfp() ucrtbase._clearfp
@ stub _configure_narrow_argv
@ cdecl _configure_narrow_argv(long) ucrtbase._configure_narrow_argv
@ stub _configure_wide_argv
@ cdecl _control87(long long) ucrtbase._control87
@ cdecl _controlfp(long long) ucrtbase._controlfp
......@@ -40,7 +40,7 @@
@ cdecl _fpreset() ucrtbase._fpreset
@ cdecl _get_doserrno(ptr) ucrtbase._get_doserrno
@ cdecl _get_errno(ptr) ucrtbase._get_errno
@ stub _get_initial_narrow_environment
@ cdecl _get_initial_narrow_environment() ucrtbase._get_initial_narrow_environment
@ stub _get_initial_wide_environment
@ cdecl _get_invalid_parameter_handler() ucrtbase._get_invalid_parameter_handler
@ stub _get_narrow_winmain_command_line
......@@ -51,7 +51,7 @@
@ cdecl _get_wpgmptr(ptr) ucrtbase._get_wpgmptr
@ cdecl _getdllprocaddr(long str long) ucrtbase._getdllprocaddr
@ cdecl _getpid() ucrtbase._getpid
@ stub _initialize_narrow_environment
@ cdecl _initialize_narrow_environment() ucrtbase._initialize_narrow_environment
@ stub _initialize_onexit_table
@ stub _initialize_wide_environment
@ cdecl _initterm(ptr ptr) ucrtbase._initterm
......
......@@ -640,3 +640,29 @@ void CDECL MSVCRT___set_app_type(int app_type)
TRACE("(%d) %s application\n", app_type, app_type == 2 ? "Gui" : "Console");
MSVCRT_app_type = app_type;
}
/*********************************************************************
* _get_initial_narrow_environment (UCRTBASE.@)
*/
char** CDECL _get_initial_narrow_environment(void)
{
return MSVCRT___argv;
}
/*********************************************************************
* _configure_narrow_argv (UCRTBASE.@)
*/
int CDECL _configure_narrow_argv(int mode)
{
TRACE("(%d)\n", mode);
return 0;
}
/*********************************************************************
* _initialize_narrow_environment (UCRTBASE.@)
*/
int CDECL _initialize_narrow_environment(void)
{
TRACE("\n");
return 0;
}
......@@ -229,7 +229,7 @@
@ cdecl _close(long) MSVCRT__close
@ cdecl _commit(long) MSVCRT__commit
@ cdecl _configthreadlocale(long)
@ stub _configure_narrow_argv
@ cdecl _configure_narrow_argv(long)
@ stub _configure_wide_argv
@ cdecl _control87(long long)
@ cdecl _controlfp(long long)
......@@ -365,7 +365,7 @@
@ cdecl _get_errno(ptr)
@ cdecl _get_fmode(ptr) MSVCRT__get_fmode
@ cdecl _get_heap_handle()
@ stub _get_initial_narrow_environment
@ cdecl _get_initial_narrow_environment()
@ stub _get_initial_wide_environment
@ cdecl _get_invalid_parameter_handler()
@ stub _get_narrow_winmain_command_line
......@@ -418,7 +418,7 @@
@ cdecl _i64toa_s(int64 ptr long long) MSVCRT__i64toa_s
@ cdecl _i64tow(int64 ptr long) ntdll._i64tow
@ cdecl _i64tow_s(int64 ptr long long) MSVCRT__i64tow_s
@ stub _initialize_narrow_environment
@ cdecl _initialize_narrow_environment()
@ stub _initialize_onexit_table
@ stub _initialize_wide_environment
@ cdecl _initterm(ptr ptr)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment