TchPdd_Ioctl (Compact 7)
3/12/2014
This function provides various control options.
Syntax
DWORD WINAPI TchPdd_Ioctl(
DWORD hPddContext,
DWORD dwCode,
PBYTE pBufIn,
DWORD dwLenIn,
PBYTE pBufOut,
DWORD dwLenOut,
PDWORD pdwActualOut
);
Parameters
- hPddContext
[in] The PDD context handle that TchPdd_Init returns.
- dwCode
[in] I/O control operation to perform.
- pBufIn
[in] Pointer to the buffer that contains data to transfer to the device.
- dwLenIn
[in] Number of bytes of data in the pBufIn buffer.
- pBufOut
[out] Pointer to the buffer that receives data from the device.
- dwLenOut
[in] Maximum number of bytes in the pBufOut buffer.
- pdwActualOut
[out] Pointer to a DWORD that receives the count in bytes of data received into the pBufOut buffer. .
Return Value
TRUE indicates success. FALSE indicates failure.
Remarks
In the Compact 7 implementation of the touch driver MDD, the MDD invokes TchPdd_Ioctl to handle these touch-specific I/O control operations:
- IOCTL_TOUCH_DISABLE_TOUCHPANEL
- IOCTL_TOUCH_ENABLE_TOUCHPANEL
- IOCTL_TOUCH_GET_CALIBRATION_POINTS
- IOCTL_TOUCH_GET_SAMPLE_RATE
- IOCTL_TOUCH_GET_TOUCH_PROPS
- IOCTL_TOUCH_SET_SAMPLE_RATE
The MDD invokes TchPdd_Ioctl to handle these power management I/O control operations:
The MDD handles these I/O control operations without calling TchPdd_Ioctl:
Requirements
Header |
tchstreamddsi.h |