Carbon


TECInfo

Header: TextCommon.h

struct TECInfo {
    UInt16 format; 
    UInt16 tecVersion; 
    UInt32 tecTextConverterFeatures; 
    UInt32 tecUnicodeConverterFeatures; 
    UInt32 tecTextCommonFeatures; 
    Str31 tecTextEncodingsFolderName; 
    Str31 tecExtensionFileName; 
    UInt16 tecLowestTEFileVersion; 
    UInt16 tecHighestTEFileVersion;
};
typedef TECInfo TECInfoPtr;

Field descriptions

format

The current format of the returned structure. The format of the structure is indicated by the kTECInfoCurrentFormat constant. Any future changes to the format will always be backwardly compatible; any new fields will be added to the end of the structure.

tecVersion

The current version of the Text Encoding Conversion Manager extension in BCD (binary coded decimal), with the first byte indicating the major version; for example, 0x0121 for 1.2.1.

tecTextConverterFeatures

New features or bug fixes in the Text Encoding Converter. No bits are currently defined.

tecUnicodeConverterFeatures

Bit flags indicating new features or bug fixes in the Unicode Converter. See “Converter Fixes and Features Flags” for the currently defined bit flags.

tecTextCommonFeatures

Bit flags indicating new features or bug fixes in Basic Text Types (the Text Common static library). No bits are currently defined.

tecTextEncodingsFolderName

A Pascal string with the (possibly localized) name of the Text Encodings folder.

tecExtensionFileName

A Pascal string with the (possibly localized) name of the Text Encoding Conversion Manager extension file.

tecLowestTEFileVersion
tecHighestTEFileVersion

The converter information structure is used by the function TECGetInfo to hold returned information about the Unicode Converter, the Text Encoding Converter, and Basic Text Types.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)