CMConvertIndexToColorName function (icm.h)

Transforms indices in a color space to an array of names in a named color space.

Syntax

BOOL CMConvertIndexToColorName(
  HPROFILE    hProfile,
  PDWORD      paIndex,
  PCOLOR_NAME paColorName,
  DWORD       dwCount
);

Parameters

hProfile

The handle to a color space profile.

paIndex

Pointer to an array of color-space index numbers.

paColorName

Pointer to an array of color name structures.

dwCount

The number of indices to convert.

Return value

If this conversion function succeeds, the return value is TRUE.

If this function fails, the return value is FALSE. When this occurs, the CMM should call SetLastError to set the last error to a valid error value defined in Winerror.h.

Remarks

This function is required in the default CMM. It is optional for all other CMMs.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header icm.h

See also