Obsolete!

svn path=/trunk/; revision=1058
This commit is contained in:
Eric Kohl 2000-03-15 18:29:50 +00:00
parent 9658579d48
commit b2eb99d9f7

View file

@ -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);
}