Поделиться через


TchCal_CalibrateSample (Compact 2013)

3/26/2014

This function calibrates a touch contact point.

Syntax

BOOL TchCal_CalibrateSample(
  int UncalX,
  int UncalY,
  int* pCalX,
  int* pCalY
);

Parameters

  • UncalX
    [in] X value of uncalibrated sample.
  • UncalY
    [in] Y value of uncalibrated sample.
  • pCalX
    [out] Pointer to X value of calibrated sample.
  • pCalY
    [out] Pointer to Y value of calibrated sample.

Return Value

TRUE indicates success. FALSE indicates failure.

Remarks

The touch proxy driver calls this to implement TouchPanelCalibrateAPoint. In the thread that calls the callback function to return touch contact data, the proxy driver calls this function to calibrate the data.

Requirements

Header

tchstream.h

Library

tchcaldll.dll

See Also

Reference

Touch Calibration Functions