---
title: CMSetSystemProfile
framework: Application Services
role: pseudoSymbol
platforms: []
path: applicationservices/colorsync_manager/1804932-cmsetsystemprofile
---

# CMSetSystemProfile

Sets the current system profile.

## Declaration

```occ
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](../colorsync_manager.md).

## 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](1804959-cmsetprofilebyavid.md) instead.

## See Also

### Accessing Special Profiles

- [CMGetSystemProfile](1804926-cmgetsystemprofile.md)
- [NCMSetSystemProfile](1804936-ncmsetsystemprofile.md)
- [CMGetDefaultProfileBySpace](1804940-cmgetdefaultprofilebyspace.md)
- [CMSetDefaultProfileBySpace](1804944-cmsetdefaultprofilebyspace.md)
- [CMGetDefaultProfileByUse](1804948-cmgetdefaultprofilebyuse.md)
- [CMSetDefaultProfileByUse](1804951-cmsetdefaultprofilebyuse.md)
- [CMGetProfileByAVID](1804955-cmgetprofilebyavid.md)
- [CMSetProfileByAVID](1804959-cmsetprofilebyavid.md)
