[This is preliminary documentation and subject to change.]
The HTUI_ColorAdjustment function displays the default user interface for halftone color adjustment.
LONG APIENTRY HTUI_ColorAdjustment(
LPWSTR pCallerTitle,
HANDLE hDefDIB,
LPWSTR pDefDIBTitle,
PCOLORADJUSTMENT pColorAdjustment,
BOOL ShowMonochromeOnly,
BOOL UpdatePermission
);
Value | Meaning |
---|---|
True | Color adjustment is not limited to the current user interface. Changes to the COLORADJUSTMENT structure settings will be saved when exiting the halftone color adjustment user interface. |
False | Color adjustment is limited to the user's current session. The COLORADJUSTMENT structure is not changed. |
The HTUI_ColorAdjustment function returns one of the following LONG values.
Value | Meaning |
---|---|
> 0 | The user elected to update the COLORADJUSTMENT structure. |
= 0 | The user elected to cancel the update to the COLORADJUSTMENT structure. |
< 0 | An error occurred. The value given in the error message identifies a predefined error code. |
Applications can either link to htui.dll or use the LoadLibrary and GetProcAddress functions to obtain the location of htui.dll.
Windows NT: Requires version 5.0 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in winddi.h.
Colors Overview, Color Functions, COLORADJUSTMENT