Share via


UninstallColorProfile

UninstallColorProfile removes a specified color profile from a specified computer. Associated files are optionally deleted from the system.

BOOL WINAPI UninstallColorProfile(
  PCTSTR pMachineName,  PCTSTR  pProfileName,  BOOL bDelete);

Parameters

  • pMachineName
    Reserved. Must be NULL. This parameter is intended to point to the name of the machine from which to uninstall the specified profile. A NULL pointer indicates the local machine.
  • pProfileName
    Points to the file name of the profile to uninstall.
  • bDelete
    If set to TRUE, the function deletes the profile from the COLOR directory. If set to FALSE, this function has no effect.

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 Vista:** Support for WCS profiles included in Windows Vista and later.
**  Windows NT/2000/XP:** Support for ICC profiles included in Windows 2000 and later.
**  Windows 95/98/Me:** Support for ICC profiles 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