Important: The information in this document is obsolete and should not be used for new development.
Color World Information Record
Your application supplies a color world information record structure of typeCMCWInfoRecordas a parameter to theCMGetCWInfofunction (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
cmmCountreturns, thecmmInfoarray contains one or two records of typeCMMInfoRecordreporting the CMM type and version number.- If
cmmCountis 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
cmmCountis 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 theCMMInfoRecorddata structure, see "Color Management Module (CMM) Information Record Structure" (page 3-51).