53
Appendix C
C.1.1 Parameters
• hDevice
[in] Handle to the device that is to perform the operation. Call the Cre-
ateFile function to obtain a device handle.
• dwIoControlCode
[in] Specifies the control code for the operation. This value identifies
the specific operation to be performed and the type of device on which
the operation is to be performed. No specific values are defined for the
dwIoControlCode parameter. However, the writer of a custom device
driver can define IOCTL_XXXX control codes, per the CTL_CODE
macro. These control codes can then be advertised, and an application
can use these control codes with DeviceIoControl to perform driver-
specific functions.
• lpInBuffer
[in] Long pointer to a buffer that contains the data required to perform
the operation. This parameter can be NULL if the dwIoControlCode
parameter specifies an operation that does not require input data.
• nInBufferSize
[in] Size, in bytes, of the buffer pointed to by lpInBuffer.
• lpOutBuffer
[out] Long pointer to a buffer that receives the operation.s output data.
This parameter can be NULL if the dwIoControlCode parameter speci-
fies an operation that does not produce output data.
• nOutBufferSize
[in] Size, in bytes, of the buffer pointed to by lpOutBuffer.
• lpBytesReturned
[out] Long pointer to a variable that receives the size, in bytes, of the
data stored into the buffer pointed to by lpOutBuffer. The lpBytesRe-
turned parameter cannot be NULL. Even when an operation produces
no output data, and lpOutBuffer can be NULL, the DeviceIoControl
function makes use of the variable pointed to bylpBytesReturned.
After such an operation, the value of the variable is without meaning.
• lpOverlapped
[in] Ignored; set to NULL.
• Return Values
Nonzero indicates success. Zero indicates failure. To get extended
error information, call GetLastError.
Summary of Contents for TPC-1260G
Page 12: ...TPC 1260G User Manual xii...
Page 19: ...7 Chapter1 1 8 Exploded Diagrams Figure 1 3 Exploded LCD Diagram...
Page 22: ...TPC 1260G User Manual 10...
Page 23: ...2 CHAPTER 2 System Setup This chapter provides a brief explana tion for operating TPC 1260G...
Page 27: ...15 Chapter2 Figure 2 5 Touch Screen Calibration 1 Figure 2 6 Touch Screen Calibration 2...
Page 28: ...TPC 1260G User Manual 16...
Page 29: ...2 CHAPTER 3 System Engine...
Page 57: ...2 APPENDIX A Serial Port Settings...
Page 59: ...47 AppendixA Figure A 1 Device Manager Figure A 2 COM5 Properties...
Page 60: ...TPC 1260G User Manual 48...
Page 61: ...2 APPENDIX B Fuse Specifications...
Page 63: ...2 APPENDIX C Watchdog Timer Programming...
Page 70: ...TPC 1260G User Manual 58...