Share via


WcsGetDefaultRenderingIntent

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

BOOL WINAPI WcsGetDefaultRenderingIntent(
  WCS_PROFILE_MANAGEMENT_SCOPEscope,   PDWORDpdwRenderingIntent);

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.

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.

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