Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Advanced Color Imaging on the Mac OS /
Chapter 6 - Developing ColorSync-Supportive Device Drivers / Developing Your ColorSync Supportive Device Driver


Determining if the ColorSync Manager Is Available

To determine if the ColorSync Manager (version 2.x) is available on a 68K-based Mac, use the Gestalt function with the gestaltColorMatchingVersion selector. This function returns the result gestaltColorSync20 if the ColorSync Manager is available.

To determine if the ColorSync Manager shared libraries have been loaded on a Power Macintosh, use the Gestalt function with the gestaltColorMatchingAttr selector. Test the bit field (bit 1) indicated by the gestaltColorMatchingLibLoaded constant in the response parameter. If the bit is set, the ColorSync Manager shared libraries are loaded.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 NOV 1996