WCS Functions for Color Management Modules (CMMs) to Implement

The following functions are to be implemented by color management modules (CMMs), and exported for the operating system to call.

Function Description
CMCheckColors Determines whether given colors lie within the output gamut of a specified transform.
CMCheckColorsInGamut Determines whether specified RGB triples lie in the output gamut of a specified transform.
CMCheckRGBs Checks bitmap colors against an output gamut.
CMConvertColorNameToIndex Converts color names in a named color space to index numbers in a color profile
CMConvertIndexToColorName Transforms indices in a color space to an array of names in a named color space.
CMCreateDeviceLinkProfile Creates a device link profile in the format specified by the International Color Consortium in its ICC Profile Format Specification.
CMCreateMultiProfileTransform Accepts an array of profiles or a single device link profile and creates a color transform. This transform is a mapping from the color space specified by the first profile to that of the second profile and so on to the last one.
CMCreateProfile Creates a display color profile from a LOGCOLORSPACEA structure.
CMCreateProfileW Creates a display color profile from a LOGCOLORSPACEW structure.
CMCreateTransform Deprecated. There is no replacement API because this one was no longer being used. Developers of alternate CMM modules are not required to implement it.
CMCreateTransformExt Creates a color transform that maps from an input LOGCOLORSPACEA to an optional target space and then to an output device, using a set of flags that define how the transform should be created.
CMCreateTransformExtW Creates a color transform that maps from an input LOGCOLORSPACEW to an optional target space and then to an output device, using a set of flags that define how the transform should be created.
CMCreateTransformW Deprecated. There is no replacement API because this one was no longer being used. Developers of alternate CMM modules are not required to implement it.
CMDeleteTransform Deletes a specified color transform, and frees any memory associated with it.
CMGetInfo Retrieves various information about the color management module (CMM).
CMGetNamedProfileInfo Retrieves information about the specified named color profile.
CMGetPS2ColorRenderingDictionary Gets a PostScript color rendering dictionary.
CMGetPS2ColorRenderingIntent Retrieves the PostScript Level 2 color rendering intent from a profile.
CMGetPS2ColorSpaceArray Gets a PostScript color space array.
CMIsProfileValid Reports whether the given profile is a valid ICC profile that can be used for color management.
CMTranslateColors Translates an array of colors from a source color space to a destination color space using a color transform.
CMTranslateRGB Translates an application-supplied RGBQuad into the device color space.
CMTranslateRGBs Translates a bitmap from one color space to another using a color transform.
CMTranslateRGBsExt Translates a bitmap from one defined format into a different defined format and calls a callback function periodically, if one is specified, to report progress and permit the calling application to terminate the translation.