Important: The information in this document is obsolete and should not be used for new development.
CloseTSMAwareApplication
TheCloseTSMAwareApplication
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 theDeleteTSMDocument
function (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.