Carbon


SRNewPath

Header: SpeechRecognition.h Carbon status: Supported

Creates a new path.

OSErr SRNewPath (
    SRRecognitionSystem system, 
    SRPath *path
);
Parameter descriptions
system

A recognition system.

path

On return, a reference to a new empty path associated with the specified recognition system.

function result

A result code.

DISCUSSION

You can then add objects to a path by calling the SRAddText or SRAddLanguageObject functions.

You should call the SRReleaseObject function to release the path reference returned by SRNewPath when you are done using it.

AVAILABILITY

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)