EngMultiByteToUnicodeN

VOID EngMultiByteToUnicodeN(

    LPWSTR  UnicodeString,
   ULONG  MaxBytesInUnicodeString,
   PULONG  BytesInUnicodeString,
   PCHAR  MultiByteString,
   ULONG  BytesInMultiByteString
  );

EngMultiByteToUnicodeN converts the specified ANSI source string into a Unicode string using the current ANSI code page.

Parameters

UnicodeString

Pointer to the buffer in which the resultant Unicode string is returned.

MaxBytesInUnicodeString

Supplies the maximum number of bytes to be written to UnicodeString. If this value is too small, causing UnicodeString to be a truncated equivalent of MultiByteString, no error condition results.

BytesInUnicodeString

Pointer to a ULONG in which the number of bytes written to UnicodeString is returned.

MultiByteString

Pointer to the ANSI source string that is to be converted to Unicode.

BytesInMultiByteString

The number of bytes in MultiByteString.

See Also

EngMultiByteToWideChar, EngUnicodeToMultiByteN