Carbon


Color Management Module Component Interface

Header: CMMComponent.h

enum {
    CMMInterfaceVersion = 1
};

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:

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.

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.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)