1 // An 8-bit character
2 char c = 'A';
3 // An array of 99 8-bit characters and an 8-bit terminating zero.
4 char szBuffer[100] = "A String";
5
6 // An 16-bit character
7 wchar_t c = L'A';
8 // An array of 99 16-bit characters and an 16-bit terminating zero.
9 wchar_t szBuffer[100] = L"A String";
10
11 typedef char CHAR;
12 typedef wchar_t WCHAR;
13
14 // Pointer to 8-bit character(s)
15 typedef CHAR *PCHAR;
16 typedef CHAR *PSTR;
17 typedef CONST CHAR *PCSTR;
18
19 // Pointer to 16-bit character(s)
20 typedef WCHAR *PWCHAR;
21 typedef WCHAR *PWSTR;
22 typedef const WCHAR *PCWSTR;
23
24 typedef __nullterminated WCHAR *NWPSTR, *LPWSTR, *PWSTR;