WcsEnumColorProfilesSize function (icm.h)

Returns the size, in bytes, of the buffer that is required by the WcsEnumColorProfiles function to enumerate color profiles.

Note

This API does not support "advanced color" profiles for HDR monitors. Use ColorProfileGetDisplayList for managing advanced color profiles.

Syntax

BOOL WcsEnumColorProfilesSize(
  WCS_PROFILE_MANAGEMENT_SCOPE scope,
  PENUMTYPEW                   pEnumRecord,
  PDWORD                       pdwSize
);

Parameters

scope

A WCS_PROFILE_MANAGEMENT_SCOPE value that specifies the scope of the profile management operation that is performed by this function.

pEnumRecord

A pointer to a structure that specifies the enumeration criteria.

pdwSize

A pointer to a variable that receives the size of the buffer that is required to receive all enumerated profile names. This value is used by the dwSize parameter of the WcsEnumColorProfiles function.

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 is executable in Least-Privileged User Account (LUA) context.

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 Mscms.lib
DLL Mscms.dll

See also