Expand Minimize

WcsGetDefaultRenderingIntent Function

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

Syntax

BOOL WINAPI WcsGetDefaultRenderingIntent(
  __in   WCS_PROFILE_MANAGEMENT_SCOPE scope,
  __out  PDWORD pdwRenderingIntent
);

Parameters

scope [in]

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

pdwRenderingIntent [out]

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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Icm.h

Library

Mscms.lib

DLL

Mscms.dll

See Also

Basic Color Management Concepts
Windows Color System Schemas and Algorithms
Functions

 

 

Send comments about this topic to Microsoft

Build date: 11/16/2010

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.