#include <wchar.h>中定義了
#ifndef _WCHAR_T_DEFINED
typedef unsigned short wchar_t;
#include <winnt.h>中
#ifdef UNICODE // r_winnt
#define __TEXT(quote) L##quote //如果參數是”Hello!”,則L##quote就是L”Hello!”
#else /* UNICODE */ // r_winnt
#define __TEXT(quote) quote // r_winnt
#define TEXT(quote) __TEXT(quote) // r_winnt
typedef CONST CHAR *LPCSTR, *PCSTR; // 指向const 8位字符串指針的數據類型
與tchar.h頭文件一樣,每個windows頭文件都有我們需要的技巧(32位的windows處理)
#ifdef UNICODE
#define MessageBox MessageBoxW
#else
#define MessageBox MessageBoxA
#endif // !UNICODE