TECCountDirectTextEncodingConversions
Counts and returns the number of direct conversions currentlyconfigured in the Text Encoding Converter.
Declaration
OSStatus TECCountDirectTextEncodingConversions(ItemCount *numberOfEncodings);Parameters
- numberOfEncodings:
On return, a pointer to the number of direct conversions. You should use this value to determine the array size for a parameter of the 1571834 Tecgetdirecttextencodingconversi function.
Return Value
A resultcode. See Result Codes.
Discussion
The number of direct conversions includes every instance ofa conversion. If different conversion plug-ins support the samedirect conversion, the direct conversion is counted more than once.
Since the TECGetDirectTextEncodingConversions function ignores duplicate direct conversions, TECCountDirectTextEncodingConversions mayreturn a number greater than the number of array elements neededfor the directConversions parameter.