Carbon


CMSetSystemProfile

Header: CMApplication.h Carbon status: Supported

Sets the current system profile.

CMError CMSetSystemProfile (
    const FSSpec *profileFileSpec
);
Parameter descriptions
profileFileSpec

A pointer to a file specification structure. Before calling CMSetSystemProfile, set the structure to specify the desired system profile.

DISCUSSION

By default, a standard RGB profile is configured as the system profile. By calling the CMSetSystemProfile function, your application can specify a new system profile. You can configure only a display device profile as the system profile.

VERSION NOTES

Starting with version 2.5, use of the system profile has changed.

The function CMSetSystemProfile does not retrieve video card gamma data (introduced in ColorSync version 2.5) to set the video card; use the function CMSetProfileByAVID instead.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when ColorSync 2.0 or later is present.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)