IOCTL_TOUCH_GET_CALIBRATION_POINTS (Compact 7)
3/12/2014
This I/O control message overrides the default calibration points that the touch proxy DLL receives from the touch calibration DLL. Send this message with DeviceIoControl.
Syntax
BOOL DeviceIoControl(
HANDLE hPddContext, // handle to the PDD context
DWORD dwIoControlCode, // use IOCTL_TOUCH_GET_CALIBRATION_POINTS
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_CALIBRATION_POINTS for this operation.
- lpInBuffer
[in] Not used; set to NULL.
- nInBufferSize
[in] Not used; set to zero.
- lpOutBuffer
[out] Pointer to a buffer of POINT structures.
- nOutBufferSize
[in] Size of the value pointed to by lpOutBuffer.
- lpBytesReturned
[out] Pointer to a DWORD variable that receives the length of data, in bytes, returned to the lpOutBuffer buffer.
- lpOverlapped
[in] Not used; set to NULL.
Return Values
Returns TRUE if successful; otherwise, returns FALSE.
Remarks
To get only a count of the number of calibration points, but not the points themselves, set lpOutBuffer to NULL and nOutBufferSize to zero.
To get extended error information, call GetLastError. GetLastError may return other standard error messages as appropriate.
Requirements
Header |
tchstream.h |