TouchPanelGetDeviceCaps (Windows CE 5.0)

Send Feedback

This function returns information about the capabilities of the touch screen.

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 Values

TRUE indicates success. FALSE indicates failure.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Tchddi.h.
Link Library: Tchmain.lib.

See Also

TPDC_SAMPLE_RATE | TPDC_CALIBRATION_POINT_COUNT | TPDC_CALIBRATION_POINT

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.