Last modified: September 19, 2011
Applies to: Office 2010 | Outlook 2010 | Visual Studio
Similar to MultiByteToWideChar, which maps a character string to a UTF-16 (wide character) string. The character string is not necessarily from a multibyte character set.
[in] Code page to use in performing the conversion.
[in] Flags indicating the conversion type.
[in] Pointer to the character string to convert.
[in] Size, in bytes, of the string indicated by the lpMultiByteStr parameter.
[out] Optional. Pointer to a buffer that receives the converted string.
[in] Size, in characters, of the buffer indicated by lpWideCharStr.
Returns the number of characters written to the buffer indicated by lpWideCharStr if successful.
This function wraps the MultiByteToWideChar function. For more information, see MultiByteToWideChar.