CloseColorProfile function (icm.h)

Closes an open profile handle.

Syntax

BOOL CloseColorProfile(
  HPROFILE hProfile
);

Parameters

hProfile

Handle to the profile to be closed. The function determines whether the HPROFILE contains ICC or WCS profile information.

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