[This is preliminary documentation and subject to change.]
SetColorProfileElementReference creates in a specified color profile a new tag which references the same data as an existing tag.
BOOL WINAPI SetColorProfileElementReference(
HPROFILE hProfile,
TAGTYPE newTag,
TAGTYPE refTag
);
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 newTag already exists or refTag does not exist, SetColorProfileElementReference fails.
If the color profile was not opened with read/write permission, SetColorProfileElementReference fails.
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