TOUCHPREDICTIONPARAMETERS structure (winuser.h)
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
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Header | winuser.h (include Windows.h) |