Partager via


TouchPanelSetMode (Compact 2013)

3/26/2014

This function sets the touch point sample rate.

Syntax

BOOL TouchPanelSetMode(
  INT iIndex,
  LPVOID lpInput 
);

Parameters

  • iIndex
    [in] Integer specifying the mode to set. The following table shows the integers you can specify.

    iIndex value

    Description

    TPSM_SAMPLERATE_HIGH

    Set the sample rate to the high rate.

    TPSM_SAMPLERATE_LOW

    Set the sample rate to the low rate.

  • lpInput
    Not used.

Return Value

TRUE indicates success. FALSE indicates failure. Extended error information is available through GetLastError.

Remarks

The high and low sample rates are a function of the maximum and minimum rates that are set in the platform device driver (PDD) layer of the touch driver. See the touch proxy driver code and touch driver code for details.

Requirements

Header

tchddi.h

Library

tchproxy.dll

See Also

Reference

Touch Proxy Driver Functions