Appendix D - CTKERN Function Reference
CARROLL TOUCH
D-20
Touch System Programmer’s Guide
SendSmart-FrameProtocolCommandAnd
GetReport (18)
Description
This function sends one Smart-Frame Protocol command to the touch
system; the Smart-Frame Protocol report that the touch system sends
back is returned in the report buffer. The length (in bytes) of the report
transferred to the report buffer is also returned.
Call with
AL
= 18 (function number).
BH
= Smart-Frame Protocol command byte. The only SFP
commands valid for use with this function are
Get_Failed_Beam_Report (36H) and State_Report
(47H).
BL
= Size of report buffer (in bytes).
CX
= Segment of report buffer that holds the Smart-Frame
Protocol report received from the touch system.
DX
= Offset of report buffer that holds the Smart-Frame
Protocol report received from the touch system.
Returns
AL
= Smart-Frame Protocol command status.
00 =
Smart-Frame Protocol command accepted.
01 =
Invalid SFP command. An SFP command other
than Get_Failed_Beam_Report (36H) and
State_Report (47H) was sent.
CX
= Number of bytes transferred to the report buffer.
0
= No bytes transferred (time out).
nonzero = Report was returned - number of bytes
transferred to the report buffer.
Notes
This function is normally not needed to create a touch application using
CTKERN. However, it does allow you to obtain touch screen
information that would otherwise be unobtainable because the touch
application is unable to make TAPI driver calls while using CTKERN.
Summary of Contents for TouchSystems CarrollTouch Prog
Page 1: ...CARROLL TOUCH TOUCH PRODUCTS an company AMP Touch System Programmer s Guide ...
Page 11: ...Table of Contents CARROLL TOUCH viii ...
Page 13: ...Table of Contents CARROLL TOUCH x ...
Page 17: ...Welcome CARROLL TOUCH xiv Touch System Programmer s Guide ...
Page 41: ...Chapter 3 General Programming Issues CARROLL TOUCH 3 12 Touch System Programmer s Guide ...
Page 57: ...Chapter 4 Smart Frame Protocol CARROLL TOUCH 4 16 Touch System Programmer s Guide ...
Page 237: ...Appendix D CTKERN Function Reference CARROLL TOUCH D 42 Touch System Programmer s Guide ...