Important: The information in this document is obsolete and should not be used for new development.
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 theCMOpenProfile
function (page 3-69).