[This is preliminary documentation and subject to change.]
The SetColorProfileHeader function sets the header data in a specified color profile.
BOOL WINAPI SetColorProfileHeader(
HPROFILE hProfile,
PPROFILEHEADER pHeader
);
If this function succeeds, the return value is TRUE.
If this function fails, the return value is FALSE. For extended error information, call GetLastError.
If the color profile was not opened with read/write permission, SetColorProfileHeader fails.
SetColorProfileHeader overwrites the current header in the profile.
Windows NT: Requires version 5.0 or later.
Windows: Requires Windows 98.
Windows CE: Unsupported.
Header: Declared in icm.h.
Import Library: Use mscms.lib.
Color Management Overview, ICM 2.0 Functions, PROFILEHEADER