GetCountColorProfileElements
TOC
Collapse the table of content
Expand the table of content

GetCountColorProfileElements function

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

Syntax


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 value

If this function succeeds, the return value is TRUE.

If this function fails, the return value is FALSE. For extended error information, call GetLastError.

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.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Icm.h

Library

Mscms.lib

DLL

Mscms.dll

See also

Basic Color Management Concepts
Functions

 

 

Community Additions

ADD
Show:
© 2016 Microsoft