EngMultiByteToWideChar

INT EngMultiByteToWideChar(

    UINT CodePage,

    LPWSTR WideCharString,

    INT BytesInWideCharString,

    LPSTR MultiByteString,

    INT BytesInMultiByteString

   );

EngMultiByteToWideChar converts an ANSI source string into a wide character string using the specified code page.

Parameters

CodePage
Specifies the code page to use to perform the translation.
WideCharString
Buffer into which the character string is translated.
BytesInWideCharString
Specifies the size, in bytes, of WideCharString. If WideCharString is not large enough to contain the translation, EngMultiByteToWideChar truncates the string, and does not report an error.
MultiByteString
Buffer containing the multibyte string to be translated.
BytesInMultiByteString
Specifies the number of bytes in MultiByteString.

See Also

EngUnicodeToMultiByteN, EngWideCharToMultiByte