MultiByteToWideChar

This function entry is part of a MAPI-specific list of Win32 functions. For a complete description, see Win32 Functions.

int MultiByteToWideChar(
  UINT CodePage,          
  DWORD dwFlags,          
  LPCSTR lpMultiByteStr,   
  int cchMultiByte,       
  LPWSTR lpWideCharStr,   
  int cchWideChar         
)
 

Limitations

This function is only accurate for character values less than 128. Characters whose values are greater may not be compared accurately because the 16-bit implementation does not have the necessary Unicode mapping tables; it does not support Unicode single-byte conversion; works reliably only for ASCII characters.