Carbon


DeleteTSMDocument

Header: TextServices.h Carbon status: Supported

Closes all opened text service components for the TSM document.

OSErr DeleteTSMDocument (
    TSMDocumentID idocID
);
Parameter descriptions
idocID

A TSM document identification number created by a prior call to the NewTSMDocument function.

function result

A result code.

DISCUSSION

When your application disposes of a TSM document, it must call the DeleteTSMDocument function to inform the Text Services Manager that the document is no longer using text service components. DeleteTSMDocument invokes the Component Manager CloseComponent function for each open text service component associated with this document. It also disposes of the internal data structure for the TSM document.

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 6/30/2000)