msvcrt: Implement ___setlc_active_func/___unguarded_readlc_active_add_func.

This commit is contained in:
Jon Griffiths 2008-07-06 10:48:54 -07:00 committed by Alexandre Julliard
parent bc6f1b0ceb
commit a4037eb463
3 changed files with 20 additions and 2 deletions

View file

@ -94,8 +94,8 @@
@ stub ___lc_collate_cp_func
@ stub ___lc_handle_func
@ stub ___mb_cur_max_func
@ stub ___setlc_active_func
@ stub ___unguarded_readlc_active_add_func
@ cdecl ___setlc_active_func() msvcrt.___setlc_active_func
@ cdecl ___unguarded_readlc_active_add_func() msvcrt.___unguarded_readlc_active_add_func
@ extern __argc msvcrt.__argc
@ extern __argv msvcrt.__argv
@ extern __badioinfo msvcrt.__badioinfo

View file

@ -239,6 +239,22 @@ MSVCRT_wchar_t *msvcrt_wstrdupa(const char *str)
return wstr;
}
/*********************************************************************
* ___unguarded_readlc_active_add_func (MSVCRT.@)
*/
unsigned int * CDECL MSVCRT____unguarded_readlc_active_add_func(void)
{
return &MSVCRT___unguarded_readlc_active;
}
/*********************************************************************
* ___setlc_active_func (MSVCRT.@)
*/
unsigned int CDECL MSVCRT____setlc_active_func(void)
{
return MSVCRT___setlc_active;
}
/* INTERNAL: Since we can't rely on Winelib startup code calling w/getmainargs,
* we initialise data values during DLL loading. When called by a native
* program we simply return the data we've already initialised. This also means

View file

@ -140,6 +140,7 @@
@ stub __pxcptinfoptrs #()
@ cdecl __set_app_type(long) MSVCRT___set_app_type
@ extern __setlc_active MSVCRT___setlc_active
@ cdecl ___setlc_active_func() MSVCRT____setlc_active_func
@ cdecl __setusermatherr(ptr) MSVCRT___setusermatherr
@ cdecl __threadhandle() kernel32.GetCurrentThread
@ cdecl __threadid() kernel32.GetCurrentThreadId
@ -147,6 +148,7 @@
@ cdecl __unDName(ptr str long ptr ptr long)
@ cdecl __unDNameEx(ptr str long ptr ptr ptr long)
@ extern __unguarded_readlc_active MSVCRT___unguarded_readlc_active
@ cdecl ___unguarded_readlc_active_add_func() MSVCRT____unguarded_readlc_active_add_func
@ extern __wargv MSVCRT___wargv
@ cdecl __wgetmainargs(ptr ptr ptr long ptr)
@ extern __winitenv MSVCRT___winitenv