WcsEnumColorProfilesSize function
The WcsEnumColorProfilesSize
function returns the size, in bytes, of the buffer required by the WcsEnumColorProfiles function to enumerate color profiles.
Syntax
BOOL WcsEnumColorProfilesSize(
_In_ WCS_PROFILE_MANAGEMENT_SCOPE profileManagementScope,
_In_ PENUMTYPEW pEnumRecord,
_Out_ PDWORD pdwSize
);
Parameters
profileManagementScope [in]
A WCS_PROFILE_MANAGEMENT_SCOPE value that specifies the scope of the profile management operation performed by this function.pEnumRecord [in]
A pointer to a structure that specifies the enumeration criteria.pdwSize [out]
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.
If this function succeeds, the return value is TRUE.
If this function fails, the return value is FALSE. For extended error information, call GetLastError (described in the Microsoft Windows SDK documentation).
Remarks
This function is executable in Least-Privileged User Account (LUA) context.
Requirements
Target platform |
Universal |
Version |
Included in Windows Vista and later. |
Header |
Icm.h |
Library |
Mscms.lib |
DLL |
Mscms.dll |
See also