#define NAME(x) TEXT(x)
#define TEXT(quote) __TEXT(quote) // r_winnt
#define __TEXT(quote) quote // r_winnt
The above is from winNT.h, isn’t NAME("Virtual Cam") the same as "Virtual Cam",what’s the point to use this macro?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
__TEXTmacro expansion is selected based on whetherUNICODEflag is defined or not. If not it just expands toquoteelse it will appendLto the quote so that it becomesL"Virtual Cam". This string is interpreted as a wide char string.