Important: The information in this document is obsolete and should not be used for new development.
SRNewPath
You can use theSRNewPath
function to create a new path.
pascal OSErr SRNewPath (SRRecognitionSystem system, SRPath *path);
system
- A recognition system.
path
- On exit, a reference to a new empty path associated with the specified recognition system.
DESCRIPTION
TheSRNewPath
function returns, in thepath
parameter, a reference to a new empty path associated with the recognition system specified by thesystem
parameter. You can then add objects to a path by calling theSRAddText
orSRAddLanguageObject
functions.SPECIAL CONSIDERATIONS
You should call theSRReleaseObject
function to release the path reference returned bySRNewPath
when you're done using it.