Error Codes Specific To WCS

The following is a list of error codes that are specifically related to the use of WCS 1.0. This does not mean that WCS functions will return only these error codes. It means that the codes in the table below are returned only by WCS functions. They may also return other Win32 error codes that are documented elsewhere in the Win32 API of the Platform SDK.

ERROR_DELETING_ICM_XFORM

The specified color transform could not be deleted.

ERROR_DUPLICATE_TAG

The specified color profile element tag is already present in the color profile.

ERROR_ICM_NOT_ENABLED

Image Color Management is not currently enabled.

ERROR_INVALID_CMM

The specified file name does not refer to a valid color management module.

ERROR_INVALID_COLORSPACE

The specified color space is invalid.

ERROR_INVALID_PROFILE

The specified file name does not refer to a valid color profile.

ERROR_INVALID_TRANSFORM

The color transform that was specified is not a valid color transform.

ERROR_PROFILE_NOT_ASSOCIATED_WITH_DEVICE

The specified color profile is not associated with any device.

ERROR_PROFILE_NOT_FOUND

The specified color profile file name was not found. The file name or path is incorrect.

ERROR_TAG_NOT_FOUND

The specified color profile element tag was not found in the color profile.

ERROR_TAG_NOT_PRESENT

A color profile element tag that is required for the function to succeed was not passed to the function.

Basic color management concepts

WCS Constants