Export (0) Print
Expand All
Expand Minimize

ConvertIndexToColorName function

The ConvertIndexToColorName transforms indices in a color space to an array of names in a named color space.

Syntax


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

Parameters

hProfile

The handle to an International Color Consortium (ICC) color space profile.

paIndex

Pointer to an array of color-space index numbers. The indices begin with one, not zero.

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 conversion function fails, the return value is FALSE.

Remarks

This function will fail if hProfile is not a valid ICC profile.

This function does not support Windows Color System (WCS) profiles CAMP, DMP, and GMMP; because named profiles are explicit ICC profile types.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Icm.h

Library

Mscms.lib

DLL

Mscms.dll

See also

Basic Color Management Concepts
Functions

 

 

Community Additions

ADD
Show:
© 2014 Microsoft