DdsiTouchPanelGetDeviceCaps (Windows Embedded CE 6.0)
1/6/2010
This function queries capabilities of the touch screen device.
Syntax
BOOL DdsiTouchPanelGetDeviceCaps(
ULONG iIndex,
LPVOID lpOutput
);
Parameters
iIndex
[in] Capability to query. The following table shows the capabilities you can specify.Value Description TPDC_SAMPLE_RATE_ID
Returns the sample rate.
TPDC_CALIBRATION_POINT_ID
Returns the x and y coordinates of the required calibration point. The index of the calibration point is set in the PointNumber member of lpOutput.
TPDC_CALIBRATION_POINT_COUNT_ID
Returns the number of calibration points used to calibrate the touch screen.
lpOutput
[out] Pointer to one or more memory locations to place the queried information. The format of the memory referenced depends on the setting of iIndex. The following table shows the iIndex values and corresponding lpOutput descriptions.Value Description TPDC_SAMPLE_RATE_ID
Pointer to a TPDC_SAMPLE_RATE structure.
TPDC_CALIBRATION_POINT_ID
Pointer to a TPDC_CALIBRATION_POINT structure.
TPDC_CALIBRATION_POINT_COUNT_ID
Pointer to a TPDC_CALIBRATION_POINT_COUNT structure.
Return Value
TRUE if successful, FALSE otherwise.
Requirements
Header | tchddsi.h |
Library | Tchmdd.lib |
Windows Embedded CE | Windows CE 1.0 and later |
See Also
Reference
Touch Screen Driver DDSI Functions
TPDC_SAMPLE_RATE
TPDC_CALIBRATION_POINT
TPDC_CALIBRATION_POINT_COUNT