TouchPanelGetDeviceCaps

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This function returns information about the capabilities of the touch screen.

Syntax

BOOL TouchPanelGetDeviceCaps(
  INT iIndex,
  LPVOID lpOutput 
);

Parameters

  • iIndex
    [in] Integer specifying the capability to query. The following table shows the integers you can specify.

    Value Description

    TPDC_SAMPLE_RATE_ID

    Sample rate.

    TPDC_CALIBRATION_POINT_COUNT_ID

    Number of calibration points used for calibration.

    TPDC_CALIBRATION_POINT_ID

    Coordinates, x and y, used for calibration mapping.

  • lpOutput
    [out] Pointer to the memory locations to place the queried information. The format of the referenced memory depends on the setting of iIndex. The following table shows the iIndex value and the corresponding lpOutput formats.

    Value Description

    TPDC_SAMPLE_RATE_ID

    Pointer to a TPDC_SAMPLE_RATE structure.

    TPDC_CALIBRATION_POINT_COUNT_ID

    Pointer to a TPDC_CALIBRATION_POINT_COUNT structure.

    TPDC_CALIBRATION_POINT_ID

    Pointer to a TPDC_CALIBRATION_POINT structure.

Return Value

TRUE indicates success. FALSE indicates failure.

Requirements

Header tchddi.h
Library Tchmain.lib
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

TPDC_SAMPLE_RATE
TPDC_CALIBRATION_POINT_COUNT
TPDC_CALIBRATION_POINT