GetCMMInfo function (icm.h)

Retrieves various information about the color management module (CMM) that created the specified color transform.

Syntax

DWORD GetCMMInfo(
  HTRANSFORM hColorTransform,
  DWORD      unnamedParam2
);

Parameters

hColorTransform

Identifies the transform for which to find CMM information.

unnamedParam2

Specifies the information to be retrieved. This parameter can take one of the following constant values.

Value 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 value

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

If this function fails, the return value is zero.

Requirements

Requirement Value
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