Carbon


CMSetProfileHeader

Header: CMApplication.h Carbon status: Supported

Sets the header for the specified profile.

CMError CMSetProfileHeader (
    CMProfileRef prof, 
    const CMAppleProfileHeader *header
);
Parameter descriptions
prof

A profile reference of type CMProfileRef to the profile whose header is set.

header

A pointer to the new header to set for the profile.

DISCUSSION

You can use the CMSetProfileHeader function to set a header for a version 1.0 or a version 2.x profile. Before you call this function, you must set the values for the header, depending on the version of the profile. For a version 2.x profile, you use a data structure of type CM2Header. For a version 1.0 profile, you use a data structure of type CMHeader. You pass the header you supply in the CMAppleProfileHeader union, described in CMAppleProfileHeader.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when ColorSync 2.0 or later is present.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)