Important: The information in this document is obsolete and should not be used for new development.
SRCountItems
You can use theSRCountItems
function to determine the number of subitems in a container object.
pascal OSErr SRCountItems (SRSpeechObject container, long *count);
container
- A speech object.
count
- On exit, the number of subitems in the specified speech object.
DESCRIPTION
TheSRCountItems
function returns, in thecount
parameter, the number of subitems contained in the speech object specified by thecontainer
parameter. 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).