Reputation: 11901
In the #define what does the L mean ?
#define NT_DEVICE_NAME L"\\Device\\SIOCTL"
Upvotes: 1
Views: 79
Reputation: 4887
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/
Upvotes: 0