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 Reference /
Chapter 4 - ColorSync Manager Reference for Color Management Modules


Constants

This section describes the constants for the CMM component interface version and the ColorSync Manager request codes.

Color Management Module Component Interface

If your CMM supports the ColorSync Manager version 2.x, it should return the constant defined by the following enumeration when the Component Manager calls your CMM with the kComponentVersionSelect request code:

enum {
   CMMInterfaceVersion = 1/* Version 1 */
};
In response to the kComponentVersionSelect request code, a CMM should set its entry point function's result to the CMM version number. The high-order 16 bits represent the major version, and the low-order 16 bits represent the minor version. The CMMInterfaceVersion constant represents the major version number.

Note
A CMM that only supports ColorSync 1.0 returns 0 for the major version in response to the version request.
The kComponentVersionSelect request code is one of four required Component Manager requests your CMM must handle. For complete details on the Component Manager required request codes, see the chapter "Component Manager" in Inside Macintosh: More Macintosh Toolbox.


Subtopics
Color Management Module Component Interface

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 NOV 1996