mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 04:13:32 +00:00
Obsolete!
svn path=/trunk/; revision=1058
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
#include <ddk/ntddk.h>
|
||||
#include <windows.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
BOOL KERNEL32_AnsiToUnicode(PWSTR DestStr,
|
||||
LPCSTR SrcStr,
|
||||
ULONG MaxLen)
|
||||
{
|
||||
ULONG i=0;
|
||||
|
||||
while (SrcStr[i] != 0 && i < MaxLen)
|
||||
{
|
||||
DestStr[i] = (WCHAR)SrcStr[i];
|
||||
i++;
|
||||
}
|
||||
if (i == MaxLen && SrcStr[i] != 0)
|
||||
{
|
||||
return(FALSE);
|
||||
}
|
||||
return(TRUE);
|
||||
}
|
||||
Reference in New Issue
Block a user