Share via


InstallColorProfile

The InstallColorProfile function installs a given profile for use on a specified machine. The profile is also copied to the COLOR directory.

BOOL WINAPI InstallColorProfile(
  PCTSTR pMachineName,  PCTSTR pProfileName);

Parameters

  • pMachineName
    Reserved. Must be NULL. This parameter is intended to point to the name of the computer on which the profile is to be installed. A NULL pointer indicates the local computer.
  • pProfileName
    Pointer to the fully qualified path name of the profile to install.

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