Share via


WcsSetDefaultRenderingIntent

Sets the default rendering intent in the specified profile management scope.

BOOL WINAPI WcsSetDefaultRenderingIntent(
  WCS_PROFILE_MANAGEMENT_SCOPE scope,   DWORD dwRenderingIntent);

Parameters

  • scope
    [in] The profile management scope for this operation, which can be system-wide or the current user only.

  • dwRenderingIntent
    [in] The rendering intent. It can be set to one of the following values:

    INTENT_PERCEPTUAL
    INTENT_RELATIVE_COLORIMETRIC
    INTENT_SATURATION
    INTENT_ABSOLUTE_COLORIMETRIC
    DWORD_MAX

    If dwRenderingIntent is DWORD_MAX and scope is WCS_PROFILE_MANAGEMENT_SCOPE_CURRENT_USER, the default rendering intent for the current user reverts to the system-wide default.

    For more information, see Rendering Intents.

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.

Requirements

**  Windows Vista:** Included in Windows Vista and later.
**  Header:** Declared in Icm.h.
**  Library:** Use Mscms.lib.

See Also

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