TCHAR
TCHAR is a
data type that is a character string on either a Unicode or an ANSI or DBCS
platform. For Unicode platforms, this string is defined as having the WCHAR
type. For ANSI and DBCS platforms, the string is defined as having the char
type.
typedef char
TCHAR;
typedef WCHAR
TCHAR;
Remarks
The client
application can use TCHAR to represent a string of either the WCHAR or char
type. Be sure to define the symbolic constant UNICODE and limit the platform
where necessary. MAPI will interpret the platform information and internally
translate TCHAR to the appropriate string.