TouchPanelSetMode

This function sets information about the model’s touch screen device.

Syntax

BOOL TouchPanelSetMode( ULONG iIndex, LPVOID lpInput );

Parameters

iIndex
Integer specifying the mode to set; one of the following:
DDI_TPSM_SAMPLERATE_HIGH
Set the sample rate to the high rate.
DDI_TPSM_SAMPLERATE_LOW
Set the sample rate to the low rate.
lpInput
Pointer to the memory location( s ) where the update information resides. The format of the memory referenced depends on the mode.

Return Values

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

Remarks

This function is defined in the header file Tchddi.h file and is available in Windows CE version 1.0 and later.