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


CloseTSMAwareApplication

The CloseTSMAwareApplication function informs the Text Services Manager that you have closed your application.

FUNCTION CloseTSMAwareApplication: OSErr;
DESCRIPTION
The Text Services Manager performs necessary housekeeping when your
application closes.

Before you call the CloseTSMAwareApplication function, be sure that your application disposes of all open TSM documents by calling the DeleteTSMDocument function (see page 7-53).

RESULT CODES
noErrNo error
tsmNeverRegisteredErrApplication was never TSM-initialized
SEE ALSO
For sample code that uses the CloseTSMAwareApplication function, see Listing 7-6 on page 7-24.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996