DisassociateColorProfileFromDevice

[This is preliminary documentation and subject to change.]

The DisassociateColorProfileFromDevice function disassociates a specified color profile with a specified device on a specified computer.

BOOL WINAPI DisassociateColorProfileFromDevice(
  PCTSTR pMachineName,
  PCTSTR pProfileName,
  PCTSTR pDeviceName
);
 

Parameters

pMachineName
Reserved for future use; must be NULL. This parameter is intended to point to the name of the computer on which to disassociate the specified profile and device. A NULL pointer indicates the local computer.
pProfileName
Pointer to the file name of the profile to disassociate.
pDeviceName
Pointer to the name of the device to disassociate.

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.

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