mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
Obsolete!
svn path=/trunk/; revision=1058
This commit is contained in:
parent
9658579d48
commit
b2eb99d9f7
1 changed files with 0 additions and 21 deletions
|
@ -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);
|
||||
}
|
Loading…
Reference in a new issue