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 3 - ColorSync Manager Reference for Applications and Device Drivers / Constants and Data Types


Color World Information Record

Your application supplies a color world information record structure of type CMCWInfoRecord as a parameter to the CMGetCWInfo function (page 3-114) to obtain information about a given color world. The ColorSync Manager uses this data structure to return information about the color world.

struct CMCWInfoRecord {
   unsigned long  cmmCount;/* number of CMMs in the session; 1 or 2 */
   CMMInfoRecord  cmmInfo[2];/* records describing CMM type and version */
};
Field Description
cmmCount
The number of CMMs involved in the color-matching session, either 1 or 2.
cmmInfo
An array containing two elements. Depending on the value that cmmCount returns, the cmmInfo array contains one or two records of type CMMInfoRecord reporting the CMM type and version number.
If cmmCount is 1, the first element of the array (cmmInfo[0]) describes the CMM, and the contents of the second element of the array (cmmInfo[1]) is undefined.
If cmmCount is 2, the first element of the array (cmmInfo[0]) describes the source CMM, and the second element of the array (cmmInfo[1]) describes the destination CMM. For a description of the CMMInfoRecord data structure, see "Color Management Module (CMM) Information Record Structure" (page 3-51).

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 NOV 1996