mirror of
https://github.com/reactos/reactos.git
synced 2025-06-30 19:01:22 +00:00
Sync __crtGetStringTypeW from Wine.
Fixes msvcrt:locale crash. svn path=/trunk/; revision=47978
This commit is contained in:
parent
52ee3d51b4
commit
697fc48c13
2 changed files with 16 additions and 1 deletions
|
@ -901,3 +901,18 @@ unsigned int CDECL ___setlc_active_func(void)
|
|||
{
|
||||
return __setlc_active;
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* __crtGetStringTypeW(MSVCRT.@)
|
||||
*
|
||||
* This function was accepting different number of arguments in older
|
||||
* versions of msvcrt.
|
||||
*/
|
||||
BOOL CDECL __crtGetStringTypeW(DWORD unk, DWORD type,
|
||||
wchar_t *buffer, int len, WORD *out)
|
||||
{
|
||||
FIXME("(unk %x, type %x, wstr %p(%d), %p) partial stub\n",
|
||||
unk, type, buffer, len, out);
|
||||
|
||||
return GetStringTypeW(type, buffer, len, out);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue