KCMS Application Developer's Guide

Constants

#define icMagicNumber 0x61637370L /* 'acsp' */
#define icVersionNumber 0x02000000L /* 2.0, BCD */

Screen Encodings

#define icPrtrDefaultScreensFalse        0x00000000L /* Bit position 0 */
#define icPrtrDefaultScreensTrue         0x00000001L /* Bit position 0 */
#define icLinesPerInch                   0x00000002L /* Bit position 1 */
#define icLinesPerCm                     0x00000000L /* Bit position 1 */

Device Attributes

The defined values correspond to the low 4 bytes of the 8-byte attribute quantity. See icc.h for their location.

#define icReflective            0x00000000L /* Bit position 0 */
#define icTransparency          0x00000001L /* Bit position 0 */
#define icGlossy                0x00000000L /* Bit position 1 */
#define icMatte                 0x00000002L /* Bit position 1 */

Profile Header Flags

The low 16 bits are reserved for the ICC.

#define icEmbeddedProfileFalse        0x00000000L /* Bit position 0 */
#define icEmbeddedProfileTrue         0x00000001L /* Bit position 0 */
#define icUseAnywhere                 0x00000000L /* Bit position 1 */
#define icUseWithEmbeddedDataOnly     0x00000002L /* Bit position 1 */

ASCII or Binary Data

#define icAsciiData                 0x00000000L /* Used in dataType */
#define icBinaryData                0x00000001L

Variable-Length Array

The following is used to indicate that this is a variable-length array.

#define icAny                     1