![]() |
SRCountItems |
||||
Header: | SpeechRecognition.h | Carbon status: | Supported | |
Determines the number of subitems in a container object.
OSErr SRCountItems ( SRSpeechObject container, SInt32 *count );
A speech object.
On return, a pointer to a long containing the number of subitems in the specified speech object.
A result code.
This function is useful only for speech objects that have distinguishable subitems, such as phrases (which contain words), paths (which contain words, phrases, and language models), and language models (which contain words, phrases, paths, and possibly other language models).
In Speech Recognition Manager version 1.5, this function is useful only for operating on language objects (of type SRLanguageObject), although it is defined for all speech objects.
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/10/2000)