Important: The information in this document is obsolete and should not be used for new development.
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 thekComponentVersionSelectrequest code:
enum { CMMInterfaceVersion = 1/* Version 1 */ };In response to thekComponentVersionSelectrequest 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. TheCMMInterfaceVersionconstant represents the major version number.
The
- Note
- A CMM that only supports ColorSync 1.0 returns 0 for the major version in response to the version request.
![]()
kComponentVersionSelectrequest 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