ADC Home > Reference Library > Technical Notes > Legacy Documents > Mac OS 9 & Earlier >

Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

Text Services Manager Q&As

CONTENTS

This Technical Note contains a collection of archived Q&As relating to a specific topic - questions sent the Developer Support Center (DSC) along with answers from the DSC engineers. Current Q&A's can be found on the Macintosh Technical Q&A's web site.

[Sep 01 1993]






Gestalt selector for Text Services Manager

Is there a Gestalt selector for the Text Services Manager (TSM)? (I did try to look in the documentation and sample code, but wasn't able to locate it. The only thing I found so far was that sample code tests for Apple events and assumes that TSM is available.)

___

The Gestalt selector for TSM isn't yet published in the regular MPW interfaces. To check for availability of TSM, you can use the following code:

#define  gestaltTSMgrVersion  'tsmv'

     tsmVersion = 0;
     tsmErr = Gestalt(gestaltTSMgrVersion, &tsmVersion);
         /* If gestaltUnknownErr or gestaltUndefSelectorErr was returned in tsmErr,

As suggested by the symbolic names, Gestalt (if successful) returns the version number in tsmVersion.

Back to top

Downloadables

Acrobat gif

Acrobat version of this Note (40K).

Download



Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.