Important: The information in this document is obsolete and should not be used for new development.
CMSetSystemProfile
Identifies a profile as the current system profile.
pascal CMError CMSetSystemProfile ( const FSSpec *profileFileSpec);
profileFileSpec
- A pointer to a file specification for the new system profile.
- function result
- A result code of type CMError. See "Result Codes" (page 3-174) for a list of ColorSync-specific result codes.
DISCUSSION
By default, the Apple-supplied profile for the Apple 13-inch color monitor is configured as the system profile. By calling theCMSetSystemProfile
function, your application can specify a new system profile.An end user can use the ColorSync Manager control panel to identify a different profile as the system profile.
You can configure only a display device profile as the system profile.
SEE ALSO
To specify the profile file location, you use theFSSpec
data type, described in Inside Macintosh: Files.