Specify operations used to access profiles.
- macOS 10.0+
When your application calls the
CMNew functions, it can supply the ColorSync Manager with a profile location structure of type CMProcedureLocation to specify a procedure that provides access to a profile. The ColorSync Manager calls your procedure when the profile is created, initialized, opened, read, updated, or closed. The profile access procedure declaration is described in CMProfileAccessProcPtr.
When the ColorSync Manager calls your profile access procedure, it passes one of these constants in the
command parameter to specify an operation. Your procedure must be able to respond to each of these constants.