![]() |
CountUnicodeMappings |
||||
Header: | UnicodeConverter.h | Carbon status: | Supported | |
Counts available mappings that meet the specified matching criteria.
OSStatus CountUnicodeMappings ( OptionBits iFilter, ConstUnicodeMappingPtr iFindMapping, ItemCount *oActualCount );
Filter control flags representing the six subfields of the Unicode mapping structure that this function uses to match against in determining which mappings on the system to return to your application. The filter control enumeration, described in
A structure of type UnicodeMapping containing the text encodings whose field values are to be matched.
On return, a pointer to the number of matching mappings found.
A result code.
You can filter on any of the three text encoding subfields of the Unicode mapping structures unicodeEncoding specification and on any of the three text encoding subfields of the structures otherEncoding specification. The iFilter parameter consists of a set of six control flags that you set to identify which of the corresponding six subfields to include in the match count. No filtering is performed on fields for which you do not set the corresponding filter control flag.
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)