ErrorAnalysis

This function provides information on the accuracy of the touch screen calibration.

BOOL ErrorAnalysis(
  INT32 cCalibrationPoints,
  INT32* pScreenXBuffer,
  INT32* pScreenYBuffer,
  INT32* pUncalXBuffer,
  INT32* pUncalYBuffer 
);

Parameters

  • cCalibrationPoints
    [in] Number of calibration points.
  • pScreenXBuffer
    [in] Pointer to the list of screen x-coordinates displayed.
  • pScreenYBuffer
    [in] Pointer to the list of screen y-coordinates displayed.
  • pUncalXBuffer
    [in] Pointer to the list of x-coordinates collected.
  • pUncalYBuffer
    [in] Pointer to the list of y-coordinates collected.

Return Values

TRUE indicates success. FALSE indicates failure.

Remarks

This routine executes during calibration of the touch screen. It receives a set of calibration screen coordinates and a corresponding set of uncalibrated point data. It evaluates the correlation between the two sets of points to determine whether the touch data is accurate enough to accept for screen calibration.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Calibrat.c.
Link Library: Tch_cal.lib.

See Also

Touch Screen Drivers

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.