Skip to content

Latest commit

 

History

History
120 lines (94 loc) · 3.47 KB

ns-winddi-devhtadjdata.md

File metadata and controls

120 lines (94 loc) · 3.47 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:winddi._DEVHTADJDATA
DEVHTADJDATA (winddi.h)
The DEVHTADJDATA structure is used as input to the HTUI_DeviceColorAdjustment function.
*PDEVHTADJDATA
DEVHTADJDATA
DEVHTADJDATA structure [Display Devices]
PDEVHTADJDATA
PDEVHTADJDATA structure pointer [Display Devices]
display.devhtadjdata
grstrcts_bd1a058d-3d43-48f3-a87e-7f6f5276ba51.xml
winddi/DEVHTADJDATA
winddi/PDEVHTADJDATA
display\devhtadjdata.htm
display
a90f2283-7bc3-48e4-bb1c-172d9776a284
12/05/2018
*PDEVHTADJDATA, DEVHTADJDATA, DEVHTADJDATA structure [Display Devices], PDEVHTADJDATA, PDEVHTADJDATA structure pointer [Display Devices], display.devhtadjdata, grstrcts_bd1a058d-3d43-48f3-a87e-7f6f5276ba51.xml, winddi/DEVHTADJDATA, winddi/PDEVHTADJDATA
winddi.h
Winddi.h
Windows
Windows
DEVHTADJDATA, *PDEVHTADJDATA
19H1
_DEVHTADJDATA
winddi/_DEVHTADJDATA
PDEVHTADJDATA
winddi/PDEVHTADJDATA
DEVHTADJDATA
winddi/DEVHTADJDATA
c++
APIRef
kbSyntax
HeaderDef
winddi.h
DEVHTADJDATA

DEVHTADJDATA structure

-description

The DEVHTADJDATA structure is used as input to the HTUI_DeviceColorAdjustment function.

-struct-fields

-field DeviceFlags

Is a set of flags, set by the caller, describing color mixing and color versus gray-scale output. Either, both, or neither of the following flags should be set, as appropriate:

Flag Definition
DEVHTADJF_ADDITIVE_DEVICE
If set, the device uses additive color mixing.
If not set, the device uses subtractive color mixing.
DEVHTADJF_COLOR_DEVICE
If set, the device produces color output.
If not set, the device produces gray-scaled output.

-field DeviceXDPI

Is the caller-supplied horizontal resolution, in dots per inch, for the device.

-field DeviceYDPI

Is the caller-supplied vertical resolution, in dots per inch, for the device.

-field pDefHTInfo

Is a caller-supplied pointer to a DEVHTINFO structure containing the device's default halftoning properties.

-field pAdjHTInfo

Is a caller-supplied pointer to a DEVHTINFO structure containing the device's current halftoning properties. Before the HTUI_DeviceColorAdjustment function returns, it modifies this structure's contents, if the user has adjusted the halftoning properties. Can be NULL (see the following Remarks section).

-remarks

If pAdjHTInfo is NULL, or if pAdjHTInfo and pDefHTInfo point to the same buffer, the HTUI_DeviceColorAdjustment function displays the halftoning properties supplied by pDefHTInfo but does not allow the user to modify them.