[英]Need some help with #define
在#define中L是什么意思?
#define NT_DEVICE_NAME L"\\Device\\SIOCTL"
该字符串应为wchar_t []类型。
It means that the string is a unicode (UTF-16) encoded string. 这意味着该字符串是一个Unicode(UTF-16)编码的字符串。 A UTF-16 string is a sequence of 16 bit words, rather than 8 bit characters. UTF-16字符串是由16位字而不是8位字符组成的序列。 Windows's native format for strings is UTF-16. Windows的字符串本机格式为UTF-16。 See here for more information about unicode: http://www.unicode.org/ 有关Unicode的更多信息,请参见此处: http : //www.unicode.org/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.