Contents

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 modified is set to true if the profile has been modified, false if 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.

See Also

Accessing Profiles