Carrol Touch Modular Flat Panel Specifications Page 246

  • Download
  • Add to my manuals
  • Print
  • Page
    / 274
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 245
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;
Page view 245
1 2 ... 241 242 243 244 245 246 247 248 249 250 251 ... 273 274

Comments to this Manuals

No comments