Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Speech Recognition Manager /
Chapter 1 - Speech Recognition Manager / Speech Recognition Manager Reference
Speech Recognition Manager Routines / Manipulating Language Objects


SRPutLanguageObjectIntoHandle

You can use the SRPutLanguageObjectIntoHandle function to put a language object (and any embedded languages objects it contains) into a handle.

pascal OSErr SRPutLanguageObjectIntoHandle (
SRLanguageObject languageObject, 
Handle lobjHandle);
languageObject
A language object.
lobjHandle
A handle to a block of memory into which the data describing the specified language object is to be put. On entry, this handle can have a length of 0.
DESCRIPTION
The SRPutLanguageObjectIntoHandle function puts a description of the language object specified by the languageObject parameter into the block of memory specified by the lobjHandle parameter. This replaces the data in the handle and resizes the handle if necessary.

You can use Resource Manager routines (such as AddResource) to store language objects into resources.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
22 JAN 1997