_DEVHTINFO

[This is preliminary documentation and subject to change.]

The _DEVHTINFO structure contains the arguments for the HTUI_DeviceColorAdjustment function.

typedef struct _DEVHTINFO{
    DWORD            HTFlags;
    DWORD            HTPatternSize;
    DWORD            DevPelsDPI;
    COLORINFO        ColorInfo;
} DEVHTINFO, pDEVHTINFO
 

Members

HTFlags
Indicates the type of halftone flag. This member can be one of the following values.
Flag Meaning
HT_FLAG_SQUARE_DEVICE_PEL Square device.
HT_FLAG_HAS_BLACK_DYE Has black dye.
HT_FLAG_ADDITIVE _PRIMS Uses additive color mixing to produce variations of RGB color values.
HT_FLAT_OUTPUT_CMY Output is in cyan, magenta, yellow format.

HTPatternSize
Specifies the halftone pattern size. This member can be one of the following values.
Pattern Size Meaning
HT_PATSIZE_2X2 2×2 halftone pattern size.
HT_PATSIZE_2X2_M Modified 2×2 halftone pattern size.
HT_PATSIZE_4X4 4×4 halftone pattern size.
HT_PATSIZE_4X4_M Modified 4×4 halftone pattern size.
HT_PATSIZE_6X6 6×6 halftone pattern size.
HT_PATSIZE_6X6_M Modified 6×6 halftone pattern size.
HT_PATSIZE_8X8 8×8 halftone pattern size.
HT_PATSIZE_8X8_M Modified 8×8 halftone pattern size.
HT_PATSIZE_10X10 10 ×10 halftone pattern size.
HT_PATSIZE_10X10_M Modified 10×10 halftone pattern size.
HT_PATSIZE_12X12 12×12 halftone pattern size.
HT_PATSIZE_12X12_M Modified 12×12 halftone pattern size.
HT_PATSIZE_14X14 14×14 halftone pattern size.
HT_PATSIZE_14X14_M Modified 14×14 halftone pattern size.
HT_PATSIZE_16X16 16×16 halftone pattern size.
HT_PATSIZE_16X16_M Modified 16×16 halftone pattern size.
HT_PATSIZE_MAX_INDEX Maximum setting for halftone pattern size is 16x16_M.
HT_PATSIZE_DEFAULT Default setting for halftone pattern Size is 4x4_M.

DevPelsDPI
Device pixels in dots-per-inch.
ColorInfo
Instance of COLORINFO.

QuickInfo

  Windows NT: Requires version 5.0 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in winddi.h.

See Also

Colors Overview, Color Structures, _DEVHTADJDATA