TouchPanelGetDeviceCaps (Compact 2013)

3/26/2014

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

Syntax

BOOL TouchPanelGetDeviceCaps(
  INT iIndex,
  LPVOID lpOutput 
);

Parameters

  • iIndex
    [in] Integer specifying the type of information to return as shown in the following table.

    iIndex value

    Type of information

    TPDC_SAMPLE_RATE_ID

    Sample rate.

    TPDC_CALIBRATION_POINT_COUNT_ID

    Number of calibration points used for calibration.

    TPDC_DEVICE_TYPE_ID

    Type of touch screen (single-touch, symmetric multi-touch, or true multi-touch).

    TPDC_CALIBRATION_POINT_ID

    Coordinates, x and y, used for calibration mapping.

Return Value

TRUE indicates success. FALSE indicates failure.

Requirements

Header

tchddi.h

Library

tchproxy.dll

See Also

Reference

Touch Proxy Driver Functions