---
title: CMProfileModified
framework: Application Services
role: pseudoSymbol
platforms: []
path: applicationservices/colorsync_manager/1804872-cmprofilemodified
---

# CMProfileModified

Indicates whether the specified profile has been modified since it was created or last updated.

## Declaration

```occ
CMError CMProfileModified (
   CMProfileRef prof,
   Boolean *modified
);
```

## Parameters

- `prof`: A profile reference of type [doc://com.apple.documentation/documentation/applicationservices/cmprofileref](applicationservices/cmprofileref.md) to the profile to examine.
- `modified`: A pointer to a Boolean variable. On return, the value of `modified` is set to `true` if the profile has been modified, `false` if it has not.

## Return Value

A `CMError` value. See [Result Codes](../colorsync_manager.md).

## Overview

When a profile is first opened, its modified flag is set to `false`. On calls that add to, delete from, or set the profile header or tags, the modified flag is set to `true`. After calling the function [CMUpdateProfile](1804864-cmupdateprofile.md), the modified flag is reset to `false`. 

## See Also

### Accessing Profiles

- [CMOpenProfile](1804853-cmopenprofile.md)
- [CMValidateProfile](1804856-cmvalidateprofile.md)
- [CMCloseProfile](1804861-cmcloseprofile.md)
- [CMUpdateProfile](1804864-cmupdateprofile.md)
- [CMCopyProfile](1804870-cmcopyprofile.md)
- [CMGetProfileMD5](1804876-cmgetprofilemd5.md)
- [CMGetProfileHeader](1804879-cmgetprofileheader.md)
- [CMSetProfileHeader](1804882-cmsetprofileheader.md)
- [CMGetProfileLocation](1804885-cmgetprofilelocation.md)
- [NCMGetProfileLocation](1804889-ncmgetprofilelocation.md)
- [CMCloneProfileRef](1804891-cmcloneprofileref.md)
- [CMGetProfileRefCount](1804894-cmgetprofilerefcount.md)
- [CMFlattenProfile](1804897-cmflattenprofile.md)
- [NCMUnflattenProfile](1804901-ncmunflattenprofile.md)
