MultiByteToWideChar(CodePage, MultiByteCharConversionType, Byte, Int32, Char, Int32)
|
Maps a character string to a UTF-16 (wide character) string.
The character string is not necessarily from a multibyte character set.
Caution: Using the MultiByteToWideChar(CodePage, MultiByteCharConversionType, Byte, Int32, Char, Int32) function incorrectly can compromise the
security of your application.
Calling this function can easily cause a buffer overrun because the size of the input buffer indicated by
multiByteStr equals the number of bytes in the string,
while the size of the output buffer indicated by wideCharStr equals the number of characters.
To avoid a buffer overrun, your application must specify a buffer size appropriate for the
data type the buffer receives.
|
MultiByteToWideChar(CodePage, MultiByteCharConversionType, String, Int32, StringBuilder, Int32)
|
Maps a character string to a UTF-16 (wide character) string.
The character string is not necessarily from a multibyte character set.
Caution: Using the MultiByteToWideChar(CodePage, MultiByteCharConversionType, Byte, Int32, Char, Int32) function incorrectly can compromise the
security of your application.
Calling this function can easily cause a buffer overrun because the size of the input buffer indicated by
multiByteStr equals the number of bytes in the string,
while the size of the output buffer indicated by wideCharStr equals the number of characters.
To avoid a buffer overrun, your application must specify a buffer size appropriate for the
data type the buffer receives.
|
MultiByteToWideChar(UInt32, MultiByteCharConversionType, Byte, Int32, Char, Int32)
|
Maps a character string to a UTF-16 (wide character) string.
The character string is not necessarily from a multibyte character set.
Caution: Using the MultiByteToWideChar(CodePage, MultiByteCharConversionType, Byte, Int32, Char, Int32) function incorrectly can compromise the
security of your application.
Calling this function can easily cause a buffer overrun because the size of the input buffer indicated by
multiByteStr equals the number of bytes in the string,
while the size of the output buffer indicated by wideCharStr equals the number of characters.
To avoid a buffer overrun, your application must specify a buffer size appropriate for the
data type the buffer receives.
|
MultiByteToWideChar(UInt32, MultiByteCharConversionType, String, Int32, StringBuilder, Int32)
|
Maps a character string to a UTF-16 (wide character) string.
The character string is not necessarily from a multibyte character set.
Caution: Using the MultiByteToWideChar(CodePage, MultiByteCharConversionType, Byte, Int32, Char, Int32) function incorrectly can compromise the
security of your application.
Calling this function can easily cause a buffer overrun because the size of the input buffer indicated by
multiByteStr equals the number of bytes in the string,
while the size of the output buffer indicated by wideCharStr equals the number of characters.
To avoid a buffer overrun, your application must specify a buffer size appropriate for the
data type the buffer receives.
|