InstallColorProfile function

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

Syntax


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 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

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

Unicode and ANSI names

InstallColorProfileW (Unicode) and InstallColorProfileA (ANSI)

See also

Basic Color Management Concepts
Functions

 

 

Show: