WcsGetDefaultRenderingIntent function (icm.h)

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

Syntax

BOOL WcsGetDefaultRenderingIntent(
  WCS_PROFILE_MANAGEMENT_SCOPE scope,
  PDWORD                       pdwRenderingIntent
);

Parameters

scope

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

pdwRenderingIntent

A pointer to the variable that will hold the rendering intent.

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.

Remarks

This function does not revert to the system-wide scope if you do not set the per-user default rendering intent. Instead, it fails, which allows the calling process to distinguish between the per-user and the system-wide setting. If the per-user rendering intent cannot be retrieved, call this function again with system-wide.

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