SetupColorMatching

[This is preliminary documentation and subject to change.]

The SetupColorMatching function creates a Color Management dialog box that lets the user choose whether to enable color management, and if so, provides control over the color profiles used and over the rendering intent.

BOOL WINAPI SetupColorMatching(
  PCOLORMATCHSETUP pcms
);
 

Parameters

pcms
Pointer to a COLORMATCHSETUP structure that on entry contains information used to initialize the dialog box.

When SetupColorMatching returns, if the user clicked the OK button, this structure contains information about the user's selection. Otherwise, if an error occurred or the user canceled the dialog box, the structure is left unchanged.

Return Values

If this function succeeds, the return value is TRUE indicating that no errors occurred and the user clicked the OK button.

If this function fails, the return value is FALSE indicating that an error occurred or the dialog was canceled. For extended error information, call GetLastError.

QuickInfo

  Windows NT: Requires version 5.0 or later.
  Windows: Requires Windows 98.
  Windows CE: Unsupported.
  Header: Declared in icm.h.
  Import Library: Use icmui.lib.
  Unicode: Implemented as Unicode and ANSI versions on Windows NT.

See Also

Color Management Overview, ICM 2.0 Functions