![]() |
CloseTextService |
||||
Header: | TextServices.h | Carbon status: | Supported | |
Deactivates the active TSM documents association with the specified text service and closes the service component.
OSErr CloseTextService ( TSMDocumentID idocID, ComponentInstance aComponentInstance );
The identification number of a TSM document created by a prior call to the NewTSMDocument function.
The component instance created by a prior call to OpenTextService.
A result code.
When a user wants to close an opened text service component, your client application should call CloseTextService.
If the text service component displays a menu, the Text Services Manager removes the menu from the menu bar. This function is for closing text service components other than input methods. Your application does not need to open or close input methods.
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)