Appendix C - TAPI Function Reference
CARROLL TOUCH
C-6
Touch System Programmer’s Guide
GetReports (2)
Description
If any reports are available from the touch system, this function
transfers them to the report buffer. The length (in bytes) of the reports
transferred to the report buffer is returned in
CX
.
Call with
AX
=
2 (function number).
BX
=
Segment of report buffer.
CX
=
Size of report buffer (in bytes).
DX
=
Offset of report buffer.
Returns
AX
=
2 (function number).
CX
=
Number of bytes transferred to the report buffer.
0
=
No reports available - no bytes transferred.
nonzero =
Reports were available - number of bytes
transferred to the report buffer.
Notes
The report buffer is an area of memory in the application program that
is dedicated to receiving Smart-Frame Protocol reports. One or several
reports may be sent to the report buffer. Only complete reports are sent
to the report buffer. No partial reports are sent.
The buffer size value passed in
CX
is the maximum number of bytes
that the TAPI driver writes to the report buffer. If the number of bytes
that the TAPI driver has available to write to this buffer is greater than
this value, the excess bytes are discarded.
It is recommended that the report buffer be at least 64 bytes long. Since
the TAPI driver transfers a maximum of 512 bytes to the report buffer,
the maximum report buffer size necessary is 512 bytes.
Содержание TouchSystems CarrollTouch Prog
Страница 1: ...CARROLL TOUCH TOUCH PRODUCTS an company AMP Touch System Programmer s Guide ...
Страница 11: ...Table of Contents CARROLL TOUCH viii ...
Страница 13: ...Table of Contents CARROLL TOUCH x ...
Страница 17: ...Welcome CARROLL TOUCH xiv Touch System Programmer s Guide ...
Страница 25: ...Chapter 1 Introduction to Infrared Touch Systems CARROLL TOUCH 1 8 Touch System Programmer s Guide ...
Страница 29: ...Chapter 2 Introduction to Guided Wave Touch Systems CARROLL TOUCH 2 4 Touch System Programmer s Guide ...
Страница 41: ...Chapter 3 General Programming Issues CARROLL TOUCH 3 12 Touch System Programmer s Guide ...
Страница 57: ...Chapter 4 Smart Frame Protocol CARROLL TOUCH 4 16 Touch System Programmer s Guide ...
Страница 87: ...Chapter 6 Touch Application Program Interface TAPI CARROLL TOUCH 6 10 Touch System Programmer s Guide ...
Страница 149: ...Appendix A Smart Frame Protocol Command Reference CARROLL TOUCH A 40 Touch System Programmer s Guide ...
Страница 179: ...Appendix B Smart Frame Protocol II Function Reference CARROLL TOUCH B 30 Touch System Programmer s Guide ...
Страница 237: ...Appendix D CTKERN Function Reference CARROLL TOUCH D 42 Touch System Programmer s Guide ...