GetCountColorProfileElements

[This is preliminary documentation and subject to change.]

(Currently planned for the next releases of Windows and Windows NT)

The GetCountColorProfileElements function retrieves the number of tagged elements in a given color profile.

BOOL WINAPI GetCountColorProfileElements(
  HPROFILE hProfile,
  PDWORD pnCount
);
 

Parameters

hProfile
Specifies a handle to the profile in question.
pnCount
Pointer to a variable in which to place the number of tagged elements in the profile.

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