The TEXT macro identifies a string as Unicode when the UNICODE is defined during compilation or as an ANSI string otherwise.
TEXT(
LPTSTR string // pointer to an ANSI or Unicode string
);
The TEXT macro is defined as follows:
#ifdef UNICODE
#define TEXT(quote) L##quote
#else
#define TEXT(quote) quote
#endif
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Requires version 1.0 or later.
Header: Declared in winnt.h.
Unicode and Character Sets Overview, Unicode and Character Set Macros