Important: The information in this document is obsolete and should not be used for new development.
SRNewPath
You can use theSRNewPathfunction 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
TheSRNewPathfunction returns, in thepathparameter, a reference to a new empty path associated with the recognition system specified by thesystemparameter. You can then add objects to a path by calling theSRAddTextorSRAddLanguageObjectfunctions.SPECIAL CONSIDERATIONS
You should call theSRReleaseObjectfunction to release the path reference returned bySRNewPathwhen you're done using it.