mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
msvcrt: Added implementation of a few more __crt functions.
This commit is contained in:
parent
35602d4106
commit
fcae6777a4
@ -542,6 +542,40 @@ int CDECL __crtLCMapStringA(
|
||||
return LCMapStringA(lcid,mapflags,src,srclen,dst,dstlen);
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* __crtCompareStringA (MSVCRT.@)
|
||||
*/
|
||||
int CDECL __crtCompareStringA( LCID lcid, DWORD flags, const char *src1, int len1,
|
||||
const char *src2, int len2 )
|
||||
{
|
||||
FIXME("(lcid %x, flags %x, %s(%d), %s(%d), partial stub\n",
|
||||
lcid, flags, debugstr_a(src1), len1, debugstr_a(src2), len2 );
|
||||
/* FIXME: probably not entirely right */
|
||||
return CompareStringA( lcid, flags, src1, len1, src2, len2 );
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* __crtCompareStringW (MSVCRT.@)
|
||||
*/
|
||||
int CDECL __crtCompareStringW( LCID lcid, DWORD flags, const MSVCRT_wchar_t *src1, int len1,
|
||||
const MSVCRT_wchar_t *src2, int len2 )
|
||||
{
|
||||
FIXME("(lcid %x, flags %x, %s(%d), %s(%d), partial stub\n",
|
||||
lcid, flags, debugstr_w(src1), len1, debugstr_w(src2), len2 );
|
||||
/* FIXME: probably not entirely right */
|
||||
return CompareStringW( lcid, flags, src1, len1, src2, len2 );
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* __crtGetLocaleInfoW (MSVCRT.@)
|
||||
*/
|
||||
int CDECL __crtGetLocaleInfoW( LCID lcid, LCTYPE type, MSVCRT_wchar_t *buffer, int len )
|
||||
{
|
||||
FIXME("(lcid %x, type %x, %p(%d), partial stub\n", lcid, type, buffer, len );
|
||||
/* FIXME: probably not entirely right */
|
||||
return GetLocaleInfoW( lcid, type, buffer, len );
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* localeconv (MSVCRT.@)
|
||||
*/
|
||||
|
@ -84,8 +84,9 @@
|
||||
@ extern __argc MSVCRT___argc
|
||||
@ extern __argv MSVCRT___argv
|
||||
@ extern __badioinfo MSVCRT___badioinfo
|
||||
@ stub __crtCompareStringA
|
||||
@ stub __crtGetLocaleInfoW
|
||||
@ cdecl __crtCompareStringA(long long str long str long)
|
||||
@ cdecl __crtCompareStringW(long long wstr long wstr long)
|
||||
@ cdecl __crtGetLocaleInfoW(long long ptr long)
|
||||
@ cdecl __crtLCMapStringA(long long str long ptr long long long)
|
||||
@ cdecl __dllonexit(ptr ptr ptr)
|
||||
@ cdecl __doserrno() MSVCRT___doserrno
|
||||
|
Loading…
Reference in New Issue
Block a user