Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Advanced Color Imaging Reference /
Chapter 3 - ColorSync Manager Reference for Applications and Device Drivers / ColorSync Manager Functions
Assigning and Accessing the System Profile File /


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 the CMSetSystemProfile 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 the FSSpec data type, described in Inside Macintosh: Files.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 NOV 1996