IsColorProfileValid

[This is preliminary documentation and subject to change.]

The IsColorProfileValid function allows an application to determine whether the specified profile is a valid International Color Consortium (ICC) profile that can be used for color management.

BOOL WINAPI IsColorProfileValid(
  HPROFILE hProfile,
  PBOOL pbValid
);
 

Parameters

hProfile
Specifies a handle to the profile to be validated.
pbValid
Pointer to a variable that is set to TRUE on return if the profile is a valid ICC profile, or FALSE if not.

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.

QuickInfo

  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.

See Also

Color Management Overview, ICM 2.0 Functions