InstallColorProfileA function (icm.h)

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

Syntax

BOOL InstallColorProfileA(
  PCSTR pMachineName,
  PCSTR 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 value

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

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header icm.h
Library Mscms.lib
DLL Mscms.dll

See also