They are documented on MSDN . Here are a few:
TCHAR: A WCHAR, if UNICODEspecified, a CHARotherwise.WCHAR: 16-bit Unicode character.CHAR: 8-bit Windows character (ANSI).LPTSTR: LPWSTRif UNICODEspecified, LPSTRotherwise.LPSTR: 8- Windows (ANSI).LPWSTR: 16- Unicode.LPCTSTR: LPCWSTR, UNICODE , a LPCSTR .LPCWSTR: 16- Unicode.LPCSTR: 8- Windows (ANSI) .
, - , UNICODE #define 'd. ANSI:
#include <windows.h>
#define UNICODE #include <windows.h>, Unicode.
#define UNICODE
#include <windows.h>
typedef C ++. :
typedef char CHAR;
typedef wchar_t WCHAR;
, Visual ++, LPCSTR const char* LPCWSTR a const wchar_t*. , !
Windows API <cstdint> <stdint.h>. API Windows , , .