Share via


ErrorAnalysis (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

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 Value

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

Library Tch_cal.lib
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

Touch Screen Driver Functions