![]() |
PATH![]() |
![]() ![]() |
Starting with ColorSync version 2.5, the ColorSync control panel lets a user choose a preferred CMM from any CMMs that are present, as described in Setting a Preferred CMM .
The ColorSync Manager provides the function
CMGetPreferredCMM
so that you can determine the preferred CMM in your code.
Identifies the preferred CMM specified by the ColorSync control panel.
pascal CMError CMGetPreferredCMM (
OSType *cmmType,
Boolean *preferredCMMnotfound)
The CMGetPreferredCMM function returns in the cmmType parameter a value that identifies the preferred CMM the user last specified in the ColorSync control panel. CMGetPreferredCMM returns false in the preferredCMMnotfound parameter if the preferred CMM is currently available and true if it is not. The preferred CMM may not be available, for example, because a user specifies a preferred CMM in the ColorSync control panel, then reboots with extensions off. ColorSync does not change the preferred CMM setting when the preferred CMM is not available.