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
16 size_t mbstowcs (wchar_t *wcstr, const char *mbstr, size_t count)
22 Length = strlen (mbstr);
26 RtlMultiByteToUnicodeSize (&Size,
33 Status = RtlMultiByteToUnicodeN (wcstr,
38 if (!NT_SUCCESS(Status))