Contents

NCMUnflattenProfile

Unflattens a previously flattened profile.

Declaration

CMError NCMUnflattenProfile (
   CMProfileLocation *targetLocation,
   CMFlattenUPP proc,
   void *refCon,
   Boolean *preferredCMMnotfound
);

Parameters

  • targetLocation:

    The location of the profile you want to unflatten. Commonly a profile is disk-file based. However, the profile may be a file-based profile, a handle-based profile, or a pointer-based profile.

  • proc:

    A user-defined procedure which is called during the unflatten operation.

  • refCon:

    A reference constant containing data specified by the calling application program.

  • preferredCMMnotfound:

    A return value indicating whether or not the CMM specified in the profile was found.

Return Value

A CMError value. See Result Codes.

See Also

Accessing Profiles