Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Other versions of this page are also available for the following:
8/28/2008
This function returns information about the capabilities of the touch screen.
BOOL TouchPanelGetDeviceCaps(
INT iIndex,
LPVOID lpOutput
);
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.
TRUE indicates success. FALSE indicates failure.
Header | tchddi.h |
Library | Tchmain.lib |
Windows Embedded CE | Windows CE 1.0 and later |
TPDC_SAMPLE_RATE
TPDC_CALIBRATION_POINT_COUNT
TPDC_CALIBRATION_POINT