DdsiTouchPanelGetDeviceCaps

This function queries capabilities of the touch screen device.

Syntax

ULONG DdsiTouchPanelGetDeviceCaps( ULONG iIndex, LPVOID lpOutput );

Parameters

iIndex
Specifies one of the following capabilities to query:
TPDC_SAMPLERATE_ID
The sample rate.
TPDC_CALIBRATIONPOINTS_ID
The x-coordinate and y-coordinate used for calibration.
TPDC_CALIBRATIONDATA_ID
The x-coordinate and y-coordinate used for calibration mapping.
lpOutput
Pointer to the memory location( s ) where the queried information should be placed. The format of the memory referenced depends on the setting of iIndex. If 0, this function returns the number of words required for the output data.

Return Values

The return values are set to the amount of information supplied and depend on the setting of the iIndex parameter.

Remarks

This function supports the implementation of the touch screen driver.