Compartilhar via


TchPdd_Ioctl (Compact 2013)

3/26/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 2013 implementation of the touch driver MDD, the MDD invokes TchPdd_Ioctl to handle these touch-specific I/O control operations:

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

See Also

Reference

Touch Driver DDSI Functions
Touch Driver IOCTLs