GetNamedProfileInfo function (icm.h)

Retrieves information about the International Color Consortium (ICC) named color profile that is specified in the first parameter.

Syntax

BOOL 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 value

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

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header icm.h
Library Gdi32.lib
DLL Mscms.dll

See also