Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Advanced Color Imaging Reference /
Chapter 3 - ColorSync Manager Reference for Applications and Device Drivers / ColorSync Manager Functions
Accessing Profiles /


CMProfileModified

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

pascal CMError CMProfileModified (
CMProfileRef prof,
Boolean *modified);
prof
A profile reference (page 3-63) to the profile to examine.
modified
A pointer to a Boolean value. On output, the value of modified is set to true if the profile has been modified, false if it has not.
function result
A result code of type CMError. See "Result Codes" (page 3-174) for a list of ColorSync-specific result codes.
DISCUSSION
The CMProfileModified function returns, through the modified parameter, the current state of the modified flag for the specified profile.

When a profile is first opened, its modified flag is initialized 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 CMUpdateProfile function (page 3-73), the modified flag is reset to false.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 NOV 1996