3 * COPYRIGHT: See COPYING in the top level directory
4 * PROJECT: ReactOS kernel
5 * FILE: lib/ntdll/stdlib/mbstowcs.c
6 * PURPOSE: converts a multi byte string to a unicode string
13 size_t mbstowcs (wchar_t *wcstr, const char *mbstr, size_t count)
19 Length = strlen (mbstr);
23 RtlMultiByteToUnicodeSize (&Size,
30 Status = RtlMultiByteToUnicodeN (wcstr,
35 if (!NT_SUCCESS(Status))