Contents

CMSetSystemProfile

Sets the current system profile.

Declaration

CMError CMSetSystemProfile (
   const FSSpec *profileFileSpec
);

Parameters

  • profileFileSpec:

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

Return Value

A CMError value. See Result Codes.

Overview

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.

See Also

Accessing Special Profiles