Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TCHAR

Windows Mobile 6.5
4/8/2010

The TCHAR data type is a Win32 character string that can be used to describe ANSI, double-byte character set (DBCS), or Unicode strings. For ANSI and DBCS platforms, TCHAR is defined as shown in the following Syntax section. For Unicode platforms, TCHAR is defined as synonymous with the WCHAR type.


typedef char     TCHAR;  

MAPI clients can use the TCHAR data type to represent a string of either the WCHAR or the char type. Be sure to define the symbolic constant UNICODE, and limit the platform where necessary. MAPI interprets the platform information and internally translates TCHAR to the appropriate string. The MAPI property type PT_TSTRING works the same way as the TCHAR data type. When the platform supports Unicode, properties of type PT_TSTRING are assigned the type PT_UNICODE at compile time. When the platform does not support Unicode, these properties are assigned the type PT_STRING8.

Reference

MAPI Data Types

Other Resources

Messaging

Community Additions

Show:
© 2015 Microsoft