TouchPanelGetDeviceCaps

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

Syntax

BOOL TouchPanelGetDeviceCaps( ULONG iIndex, LPVOID lpOutput );

Parameters

iIndex
Integer specifying the capability to query; one of the following:
DDI_TPDC_SAMPLERATE
Sample rate.
DDI_TPDC_CALIBRATIONPOINTS
Coordinates ( x and y ) used for calibration.
DDI_TPDC_CALIBRATIONDATA
Coordinates ( x and y ) used for calibration mapping.
DDI_TPDC_SAMPLERATE
Size of the digitizer screen ( x, y ).
lpOutput
Pointer to the memory location( s ) where the queried information is placed. The format of the referenced memory depends on the setting of iIndex. If the value is 0, the number of words required for the output data is returned.

Return Values

TRUE indicates success. FALSE indicates failure.

Remarks

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