Important: The information in this document is obsolete and should not be used for new development.
CloseTSMAwareApplication
TheCloseTSMAwareApplicationfunction 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
CloseTSMAwareApplicationfunction, be sure that your application disposes of all open TSM documents by calling theDeleteTSMDocumentfunction (see page 7-53).RESULT CODES
noErr No error tsmNeverRegisteredErr Application was never TSM-initialized SEE ALSO
For sample code that uses the CloseTSMAwareApplication function, see Listing 7-6 on page 7-24.