IOCTL_TOUCH_GET_TOUCH_PROPS (Compact 2013)
3/26/2014
This I/O control message retrieves platform-specific touch screen properties. Send this message with DeviceIoControl.
Syntax
BOOL DeviceIoControl(
HANDLE hPddContext, // handle to the PDD context
DWORD dwIoControlCode, // use IOCTL_TOUCH_GET_TOUCH_PROPS
LPVOID lpInBuffer, // pointer to input buffer
DWORD nInBufferSize, // input buffer size
LPVOID lpOutBuffer, // pointer to output buffer
DWORD nOutBufferSize, // output buffer size
LPDWORD lpBytesReturned, // number of bytes returned
OVERLAPPED lpOverlapped // pointer to OVERLAPPED structure
);
Parameters
- hPddContext
[in] Handle to the PDD context returned by TchPdd_Init.
- dwIoControlCode
[in] The control code for the operation. Use IOCTL_TOUCH_GET_TOUCH_PROPS for this operation.
- lpInBuffer
[in] Not used; set to NULL.
- nInBufferSize
[in] Not used; set to zero.
- lpOutBuffer
[out] Pointer to a TCH_PROPS structure.
- nOutBufferSize
[in] Size of the value pointed to in lpOutBuffer.
- lpBytesReturned
[out] Pointer to a DWORD variable that receives the length of data, in bytes, returned to the lpOutBuffer buffer. If the call succeeds, the length is the size of the TCH_PROPS structure.
- lpOverlapped
[in] Not used; set to NULL.
Return Values
Returns TRUE if successful; otherwise, returns FALSE.
Remarks
To get extended error information, call GetLastError. GetLastError may return other standard error messages as appropriate.
Requirements
Header |
tchstream.h |