
CARROLL TOUCH
Appendix E - Dynamic Link Library (DLL) Function Reference
Touch System Programmer’s Guide
E-9
GetTouchInfo (14)
Description
This function gets the type of touch system being used by the driver,
plus a touch flag byte.
IMPORTS Statement in the Definition File
GetTouchInfo=MOUSE.14
Functions Prototype
void FAR PASCAL GetTouchInfo(LPSTR);
Data Structure and Parameter Variable
Definitions of the flag byte
touch_flags
:
#define TF_ENABLED
0x01 Touch is enabled
0x02
0x04
0x08
0x10
0x20
#define TF_ON_SLAVEPIC0x040 Touch is on slave PIC
#define TF_TOUCH_EXISTS
0x080 Touch was found at boot
time
Definitions of touch types for the
touch_type
variable:
#define TT_NO_TOUCH
0
#define TT_TAPI
1
#define TT_HBC
2
#define TT_RS232
3
typedef struct tagTOUCHINFO {
char touch_flags;
char touch_type;
} TOUCH_INFO_TYPE;
static TOUCHINFO_TYPE touchinfo;
Function Call
GetTouchInfo(&touchinfo);
touch_flags
= touchinfo.touch_flags;
touch_type
= touchinfo.touch_type;
Содержание 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 ...