在#define中L是什么意思?
#define NT_DEVICE_NAME L"\\Device\\SIOCTL"
该字符串应为wchar_t []类型。
It means that the string is a unicode (UTF-16) encoded string. A UTF-16 string is a sequence of 16 bit words, rather than 8 bit characters. Windows's native format for strings is UTF-16. See here for more information about unicode: http://www.unicode.org/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.