1)TEXT
This macro identifies a string as Unicode when the UNICODE compile flag is used or as an ANSI string when Unicode is not defined.
//这个宏用语将字符串转换成UNICODE,当采用UNICOD方式编译又或者UNICODE模式下的ANSI字符串
#define TEXT(quote) L##quote
Parameters
-
string
- Specifies the string to be interpreted as either Unicode or ANSI.
本文介绍了一个用于转换字符串的TEXT宏定义。此宏可以根据编译时是否启用UNICODE标志来确定字符串是作为UNICODE还是ANSI处理。对于进行跨平台或多编码环境开发的程序员来说,这是一个实用的工具。
854

被折叠的 条评论
为什么被折叠?



