NCMSetSystemProfile
Sets the location of a color profile.
Declaration
CMError NCMSetSystemProfile (
const CMProfileLocation *profLoc
);Parameters
- profLoc:
The location of the profile. Commonly a profile is disk-file based. However, the profile may be a file-based profile, a handle-based profile, or a pointer-based profile.
Return Value
A CMError value. See Result Codes.
Overview
Prior to ColorSync 2.6, the function for setting the system profile supported only the FSSpec file specification type as a way of specifying a profile. This function allows for greater flexibility when specifying a system profile.