Share via


RegisterCMM

RegisterCMM associates a specified identification value with the specified color management module dynamic link library (CMM DLL). When this ID appears in a color profile, Windows can then locate the corresponding CMM so as to create a transform.

BOOL WINAPI RegisterCMM(
  PCTSTR pMachineName,  DWORD cmmID,  PCTSTR pCMMdll);

Parameters

  • pMachineName
    Reserved; must currently be set to NULL, until non-local registration is supported. This parameter is intended to point to the name of the machine on which a CMM DLL should be registered. A NULL pointer indicates the local machine.
  • cmmID
    Specifies the ID signature of the CMM registered with the International Color Consortium (ICC).
  • pCMMdll
    Pointer to the fully qualified path name of the CMM DLL.

Return Values

If this function succeeds, the return value is TRUE.

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

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.
**  Unicode:** Implemented as Unicode and ANSI versions on Windows 2000/XP/Vista.

See Also

Basic Color Management Concepts, Functions