Share via


GetNamedProfileInfo

The GetNamedProfileInfo function retrieves information about the International Color Consortium (ICC) named color profile that is specified in the first parameter.

BOOL WINAPI GetNamedProfileInfo(
  HPROFILE hProfile,  PNAMED_PROFILE_INFO pNamedProfileInfo);

Parameters

  • hProfile
    The handle to the ICC profile from which the information will be retrieved.
  • pNamedProfileInfo
    A pointer to a NAMED_PROFILE_INFO structure.

Return Values

If this function succeeds, the return value is TRUE.

If this function fails, the return value is FALSE.

Remarks

This function will fail if hProfile is not a valid ICC profile.

This function does not support Windows Color System (WCS) profiles CAMP, DMP, and GMMP; because named profiles are explicit ICC profile types.

Requirements

**  Windows NT/2000/XP/Vista:** Included in Windows 2000 and later.
**  Windows 95/98/Me:** Included in Windows 98 and later.
**  Header:** Declared in Icm.h.
**  Library:** Use Gdi32.lib.

See Also

Basic Color Management Concepts, Functions, NAMED_PROFILE_INFO