Important: The information in this document is obsolete and should not be used for new development.
Counts and returns the number of direct conversions that the Text Encoding Converter supports in its current configuration.
pascal OSStatus TECCountDirectTextEncodingConversions (
You use the number that TECCountDirectTextEncodingConversions returns to determine how large to make the array you pass to the function TECGetDirectTextEncodingConversions.
TECCountDirectTextEncodingConversions counts each instance of an available conversion. That is, if different conversion plug-ins support the same direct conversion, this function includes each instance of the direct conversion in its sum. Consequently, the same direct conversion may be counted more than once. Because the TECGetDirectTextEncodingConversions function does not return duplicate direct conversions, TECCountDirectTextEncodingConversions may return a number greater than the number of array elements required.