SetupColorMatchingW function (icm.h)

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.

Syntax

BOOL SetupColorMatchingW(
  PCOLORMATCHSETUPW pcms
);

Parameters

pcms

Pointer to a COLORMATCHSETUPW 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 value

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.

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 Icmui.lib
DLL Icmui.dll

See also