Carbon


SRPutLanguageObjectIntoHandle

Header: SpeechRecognition.h Carbon status: Supported

Puts a language object (and any embedded languages objects it contains) into a handle.

OSErr SRPutLanguageObjectIntoHandle (
    SRLanguageObject languageObject, 
    Handle lobjHandle
);
Parameter descriptions
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.

function result

A result code.

DISCUSSION

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 functions (such as AddResource) to store language objects into resources.

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)