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 /


CMGetProfileLocation

Obtains the physical file location of a profile based on the specified profile reference.

pascal CMError CMGetProfileLocation (
CMProfileRef prof,
CMProfileLocation *theProfile);
prof
A profile reference (page 3-63) to the profile to obtain the location for.
theProfile
A pointer to a profile location structure (page 3-40). On output, specifies the location of the profile. Commonly, a profile is disk-file based, but it may instead be temporary, handle-based, pointer-based, or accessed through a procedure supplied by your application.
function result
A result code of type CMError. See "Result Codes" (page 3-174) for a list of ColorSync-specific result codes.
SEE ALSO
To open a profile and obtain a reference to it, use the CMOpenProfile function (page 3-69).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 NOV 1996