CMProfileModified
Indicates whether the specified profile has been modified since it was created or last updated.
Declaration
CMError CMProfileModified (
CMProfileRef prof,
Boolean *modified
);Parameters
- prof:
A profile reference of type Cmprofileref to the profile to examine.
- modified:
A pointer to a Boolean variable. On return, the value of
modifiedis set totrueif the profile has been modified,falseif it has not.
Return Value
A CMError value. See Result Codes.
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, the modified flag is reset to false.