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 typeCMCWInfoRecord
as a parameter to theCMGetCWInfo
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, thecmmInfo
array contains one or two records of typeCMMInfoRecord
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 theCMMInfoRecord
data structure, see "Color Management Module (CMM) Information Record Structure" (page 3-51).