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.
lpOutput
[out] Pointer to the structure in which to place the requested information. The structure type depends on the setting of iIndex as shown in the following table.iIndex value
lpOutput structure
TPDC_SAMPLE_RATE_ID
TPDC_CALIBRATION_POINT_COUNT_ID
TPDC_DEVICE_TYPE_ID
TPDC_CALIBRATION_POINT_ID
Return Value
TRUE indicates success. FALSE indicates failure.
Requirements
Header |
tchddi.h |
Library |
tchproxy.dll |