Collapse the table of content
Expand the table of content
Expand Minimize

MNLS_MultiByteToWideChar

Office 2013 and later

Last modified: February 21, 2012

Applies to: Outlook

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.

int MNLS_MultiByteToWideChar(
  UINT uCodePage,
  DWORD dwFlags,
  LPCSTR lpMultiByteStr,
  int cchMultiByte,
  LPWSTR lpWideCharStr,
  int cchWideChar);

uCodePage

[in] Code page to use in performing the conversion.

dwFlags

[in] Flags indicating the conversion type.

lpMultiByteStr

[in] Pointer to the character string to convert.

cchMultiByte

[in] Size, in bytes, of the string indicated by the lpMultiByteStr parameter.

lpWideCharStr

[out] Optional. Pointer to a buffer that receives the converted string.

cchWideChar

[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.

Show:
© 2016 Microsoft