GetCMMInfo

The GetCMMInfo function retrieves various information about the color management module (CMM) that created the specified color transform.

DWORD WINAPI GetCMMInfo(
  HTRANSFORM hColorTransform,  DWORD dwInfo);

Parameters

  • hColorTransform
    Identifies the transform for which to find CMM information.
  • dwInfo
    Specifies the information to be retrieved. This parameter can take one of the following constant values.
    Constant Meaning
    CMM_WIN_VERSION Retrieves the version of Windows targeted by the color management module (CMM).
    CMM_DLL_VERSION Retrieves the version number of the CMM.
    CMM_IDENT Retrieves the CMM signature registered with the International Color Consortium (ICC).

Return Values

If this function succeeds, the return value is the information specified in dwInfo.

If this function fails, the return value is zero.

Requirements

**  Windows NT/2000/XP/Vista:** Included in Windows 2000 and later.
**  Windows 95/98/Me:** Included in Windows 98 and later.
**  Header:** Declared in Icm.h.
**  Library:** Use Mscms.lib.

See Also

Basic Color Management Concepts, Functions