Partager via


TCH_PROPS (Compact 7)

3/12/2014

This structure contains platform specific touch driver properties retrieved from the touch screen stream interface driver platform dependent driver (PDD).

Syntax

typedef struct {
  DWORD minSampleRate;
  DWORD maxSampleRate;
  DWORD minCalCount;
  DWORD calHoldSteadyTime;
  DWORD calDeltaReset;
  INT xRangeMin;
  INT xRangeMax;
  INT yRangeMin;
  INT yRangeMax;
  TouchType touchType;
  DWORD dwTouchInputMask;
  DWORD maxSimultaneousSamples;
  DWORD cbPropertyMax;
} TCH_PROPS;

Members

  • minSampleRate
    The minimum sampling rate supported by the touch driver.
  • maxSampleRate
    The maximum sampling rate supported by the touch driver.
  • minCalCount
    The minimum number of valid samples before the last down sample is accepted.
  • calHoldSteadyTime
    The minimum time, in ms, for the user to hold the pen at the calibration cross-hair.
  • calDeltaReset
    The maximum delta x and delta y the user's pen can move from the calibration cross-hair.
  • xRangeMin
    The minimum x value for the touch sample.
  • xRangeMax
    The maximum x value for the touch sample.
  • yRangeMin
    The minimum y value for the touch sample.
  • yRangeMax
    The maximum y value for the touch sample.
  • touchType
    The type of touch controller. For more information on possible values, see TouchType.
  • dwTouchInputMask
    The touch controller capabilities mask. This field can contain a combination of the following flags.

    Flag Description

    TOUCHINPUTMASKF_TIMEFROMSYSTEM

    Reserved for use by the operating system (OS).

    TOUCHINPUTMASKF_CONTACTAREA

    Indicates that the cxContact and cyContact fields are valid.

    TOUCHINPUTMASKF_PROPERTY

    Reserved.

  • maxSimultaneousSamples
    The maximum number of simultaneous multitouch samples that the hardware supports.
  • cbPropertyMax
    The maximum size in bytes of a property associated with a sample.

Requirements

Header

tchstream.h

See Also

Reference

Touch Driver Structures
CETOUCHINPUT