DdsiTouchPanelGetDeviceCaps (Windows CE 5.0)
This function queries capabilities of the touch screen device.
BOOL DdsiTouchPanelGetDeviceCaps(ULONGiIndex,LPVOIDlpOutput);
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 Values
TRUE if successful, FALSE otherwise.
Requirements
OS Versions: Windows CE 1.0 and later.
Header: Tchddsi.h.
Link Library: Tchmdd.lib.
See Also
TPDC_SAMPLE_RATE | TPDC_CALIBRATION_POINT | TPDC_CALIBRATION_POINT_COUNT
Send Feedback on this topic to the authors