Implemented __crtLCMapStringA.

This commit is contained in:
Marcus Meissner 2003-02-11 22:11:17 +00:00 committed by Alexandre Julliard
parent 74d7ef8401
commit 1998beaeef
2 changed files with 16 additions and 1 deletions

View File

@ -532,3 +532,18 @@ int _getmbcp(void)
{
return MSVCRT_current_lc_all_cp;
}
/*********************************************************************
* __crtLCMapStringA (MSVCRT.@)
*/
int __crtLCMapStringA(
LCID lcid, DWORD mapflags, const char* src, int srclen, char* dst,
int dstlen, unsigned int codepage, int xflag
) {
FIXME("(lcid %x, flags %lx, %s(%d), %p(%d), %x, %d), partial stub!\n",
lcid,mapflags,src,srclen,dst,dstlen,codepage,xflag);
/* FIXME: A bit incorrect. But msvcrt itself just converts its
* arguments to wide strings and then calls LCMapStringW
*/
return LCMapStringA(lcid,mapflags,src,srclen,dst,dstlen);
}

View File

@ -86,7 +86,7 @@
@ stub __badioinfo
@ stub __crtCompareStringA
@ stub __crtGetLocaleInfoW
@ stub __crtLCMapStringA
@ cdecl __crtLCMapStringA(long long str long ptr long long long) __crtLCMapStringA
@ cdecl __dllonexit(ptr ptr ptr) __dllonexit
@ cdecl __doserrno() __doserrno
@ stub __fpecode #()