TouchPredictionParameters structure

Contains hardware input details that can be used to predict touch targets and help compensate for hardware latency when processing touch and gesture input that contains distance and velocity data.

Syntax


typedef struct tagTouchPredictionParameters {
  UINT cbSize;
  UINT dwLatency;
  UINT dwSampleTime;
  UINT bUseHWTimeStamp;
} TouchPredictionParameters, *PTouchPredictionParameters;

Members

cbSize

The size of this structure, in bytes.

dwLatency

Latency in milliseconds.

dwSampleTime

Sample time in milliseconds (used to calculate velocity).

bUseHWTimeStamp

Use timestamps provided by the hardware.

Remarks

By default, touch prediction is activated. For information on getting pointer data without deactivating touch prediction, see GetUnpredictedMessagePos.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Winuser.h (include Windows.h)

See also

Structures

 

 

Community Additions

ADD
Show: