TouchPanelGetDeviceCaps (Windows Embedded CE 6.0)
1/6/2010
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
Touch Screen Driver Functions
TPDC_SAMPLE_RATE
TPDC_CALIBRATION_POINT_COUNT
TPDC_CALIBRATION_POINT