有相关的函数处理宽字符的,下面来自MSDN GetTextCharset Retrieves a character-set identifier for the font that is currently selected into a specified device context. GetTextCharsetInfo Retrieves information about the character set of the font that is currently selected into a specified device context. IsDBCSLeadByte Determines whether a character is a lead byte. IsDBCSLeadByteEx Determines whether a character is a lead byte. IsTextUnicode Determines whether a buffer is likely to contain a form of Unicode text. MultiByteToWideChar Maps a character string to a wide-character (Unicode) string. TranslateCharsetInfo Translates based on the specified character set, code page, or font signature value. WideCharToMultiByte Maps a wide-character string to a new character string.
GetTextCharset Retrieves a character-set identifier for the font that is currently selected into a specified device context.
GetTextCharsetInfo Retrieves information about the character set of the font that is currently selected into a specified device context.
IsDBCSLeadByte Determines whether a character is a lead byte.
IsDBCSLeadByteEx Determines whether a character is a lead byte.
IsTextUnicode Determines whether a buffer is likely to contain a form of Unicode text.
MultiByteToWideChar Maps a character string to a wide-character (Unicode) string.
TranslateCharsetInfo Translates based on the specified character set, code page, or font signature value.
WideCharToMultiByte Maps a wide-character string to a new character string.
可以查wchar_t type
MultiByteToWideChar,用该函数转为wchar
建议看WINDOWS核心编程第二章,有详细介绍