Implemented KERNEL.434 (UnicodeToAnsi).

This commit is contained in:
Ulrich Weigand 1999-02-02 10:27:31 +00:00 committed by Alexandre Julliard
parent 6ec6492ff6
commit 16bdc256b9
2 changed files with 14 additions and 1 deletions

View file

@ -338,7 +338,7 @@ file krnl386.exe
423 stub LogApiThk
431 pascal16 IsPeFormat(str word) IsPeFormat
432 stub FileTimeToLocalFileTime
434 stub UnicodeToAnsi
434 pascal16 UnicodeToAnsi(ptr ptr word) UnicodeToAnsi
435 stub GetTaskFlags
436 stub _ConfirmSysLevel
437 stub _CheckNotSysLevel

View file

@ -497,6 +497,19 @@ LPSTR WINAPI lstrcpynWtoA( LPSTR dst, LPCWSTR src, INT32 n )
return dst;
}
/***********************************************************************
* UnicodeToAnsi (KERNEL.434)
*/
INT16 WINAPI UnicodeToAnsi( LPCWSTR src, LPSTR dst, INT16 codepage )
{
if ( codepage != -1 )
FIXME( string, "codepage %d not supported\n", codepage );
lstrcpyWtoA( dst, src );
return (INT16)lstrlen32A( dst );
}
/***********************************************************************
* Copy (GDI.250)