CloseColorProfile

This CloseColorProfile closes an open profile handle.

BOOL WINAPI 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 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.

See Also

Basic Color Management Concepts, Functions