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: Text /
Chapter 7 - Text Services Manager / Text Services Manager Reference
Text Services Manager Routines for Client Applications / Initializing and Closing as a TSM-Aware Application


InitTSMAwareApplication

The InitTSMAwareApplication function informs the Text Services Manager that your application is TSM-aware.

FUNCTION InitTSMAwareApplication: OSErr;
DESCRIPTION
The Text Services Manager notes that your application is TSM-aware by allocating the necessary data in its internal data structures.

noErrNo error
memFullErrInsufficient memory to initialize
tsmAlreadyRegisteredErrApplication is already TSM-initialized
tsmNotAnAppErrThe caller is not an application
RESULT CODES
SEE ALSO
For sample code that uses the InitTSMAwareApplication function, see Listing 7-1 on page 7-18.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996