![]() |
TECCountDirectTextEncodingConversions |
||||
Header: | TextEncodingConverter.h | Carbon status: | Supported | |
Counts and returns the number of direct conversions currently configured in the Text Encoding Converter.
OSStatus TECCountDirectTextEncodingConversions ( ItemCount *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 TECGetDirectTextEncodingConversions function.
A result code.
The number of direct conversions includes every instance of a conversion. If different conversion plug-ins support the same direct conversion, the direct conversion is counted more than once.
Since the TECGetDirectTextEncodingConversions function ignores duplicate direct conversions, TECCountDirectTextEncodingConversions may return a number greater than the number of array elements needed for the directConversions[] parameter.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)