WcsSetDefaultRenderingIntent function (icm.h)

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

Syntax

BOOL WcsSetDefaultRenderingIntent(
  WCS_PROFILE_MANAGEMENT_SCOPE scope,
  DWORD                        dwRenderingIntent
);

Parameters

scope

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

dwRenderingIntent

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

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