PATHDocumentation > Mac OS 8 and 9 > Mutlimedia and Graphics > ColorSync Manager >

Managing Color With ColorSync


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.


© 1988-1999 Apple Computer, Inc. — (Last Updated 20 Jan 99)