msvcrt: Add a stub for _wsetlocale.

This commit is contained in:
Mike McCormack 2006-02-28 13:15:50 +09:00 committed by Alexandre Julliard
parent 20d5741fd1
commit d16c72dea5
2 changed files with 14 additions and 1 deletions

View File

@ -464,6 +464,19 @@ char* MSVCRT_setlocale(int category, const char* locale)
return MSVCRT_current_lc_all;
}
/*********************************************************************
* setlocale (MSVCRT.@)
*/
MSVCRT_wchar_t* MSVCRT__wsetlocale(int category, const MSVCRT_wchar_t* locale)
{
static MSVCRT_wchar_t fake[] = {
'E','n','g','l','i','s','h','_','U','n','i','t','e','d',' ',
'S','t','a','t','e','s','.','1','2','5','2',0 };
FIXME("%d %s\n", category, debugstr_w(locale));
return fake;
}
/*********************************************************************
* _Getdays (MSVCRT.@)

View File

@ -541,7 +541,7 @@
@ cdecl _write(long ptr long)
@ cdecl _wrmdir(wstr)
@ stub _wsearchenv #(wstr wstr ptr)
@ stub _wsetlocale #(long wstr)
@ cdecl _wsetlocale(long wstr) MSVCRT__wsetlocale
@ varargs _wsopen (wstr long long) MSVCRT__wsopen
@ stub _wspawnl #(long wstr wstr) varargs
@ stub _wspawnle #(long wstr wstr) varargs