Share via


WcsEnumColorProfilesSize

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

BOOL WINAPI WcsEnumColorProfilesSize(
  __in WCS_PROFILE_MANAGEMENT_SCOPEprofileManagementScope,
  __in PENUMTYPEWpEnumRecord,
  __out PDWORDpdwSize);

Parameters

  • profileManagementScope
    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 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.

Remarks

This function is executable in Least-Privileged User Account (LUA) context.

Requirements

**  Windows Vista:** Included in Windows Vista and later.
**  Header:** Declared in Icm.h.
**  Library:** Use Mscms.lib.
**  Unicode:** Implemented as Unicode and ANSI versions on Windows Vista.

See Also

Basic Color Management Concepts, Windows Color System Schemas and Algorithms, Functions, WcsEnumColorProfiles, WCS_PROFILE_MANAGEMENT_SCOPE