UnregisterCMM

[This is preliminary documentation and subject to change.]

The UnregisterCMM function dissociates a specified ID value from a given color management module dynamic-link library (CMM DLL).

BOOL WINAPI UnregisterCMM(
  PCTSTR pMachineName,
  DWORD cmmID
);
 

Parameters

pMachineName
Reserved for future use; must currently be set to NULL, until non-local registration is supported. This parameter is intended to point to the name of the computer on which a CMM DLLs registration should be removed. A NULL pointer indicates the local computer .
cmmID
Specifies the ID value identifying the CMM whose registration is to be removed. This is the signature of the CMM registered with the International Color Consortium (ICC).

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.

Remarks

If the profile for creating a transform later specifies this ID, the Windows default CMM will be used rather than this CMM DLL.

QuickInfo

  Windows NT: Requires version 5.0 or later.
  Windows: Requires Windows 98.
  Windows CE: Unsupported.
  Header: Declared in icm.h.
  Import Library: Use mscms.lib.
  Unicode: Implemented as Unicode and ANSI versions on Windows NT.

See Also

Color Management Overview, ICM 2.0 Functions