SelectCMM function (icm.h)

Allows you to select the preferred color management module (CMM) to use.

Syntax

BOOL SelectCMM(
  DWORD dwCMMType
);

Parameters

dwCMMType

Specifies the signature of the desired CMM as registered with the International Color Consortium (ICC).

Windows 2000 only: Setting this parameter to NULL causes the WCS system to select the default CMM.

Return value

If this function succeeds, the return value is TRUE.

If this function fails, the return value is FALSE. For extended error information, call GetLastError.

Remarks

For SelectCMM to succeed, the specified CMM must be registered with the system.

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