
CARROLL TOUCH
Appendix E - Dynamic Link Library (DLL) Function Reference
Touch System Programmer’s Guide
E-7
GetMouseInfo (13)
Description
This function gets the type of mouse being used by the driver, plus a
mouse flag byte.
IMPORTS Statement in the Definition File
GetMouseInfo=MOUSE.13
Functions Prototype
void FAR PASCAL GetMouseInfo(LPSTR);
Data Structure and Parameter Variable
Definitions of flag bits for the
mouse_flags
variable:
#define MFLAG_ENABLED0x01 Mouse is enabled
#define MF_INT33H
0x02 Int 33H mouse found
0x04
0x08
0x10
0x20
#define MF_ON_SLAVCPIC0x040 Mouse is on slave PIC
#define MF_MOUSE_EXISTS0x080 Mouse was found at boot time
Definitions of mouse types for the
mouse_type
variable:
#define MT_NO_MOUSE
0
#define MT_BUS
1
#define MT_SERIAL
2
#define MT_INPORT
3
#define MT_PS2
4
#define MT_HP
5
#define MT_INT33
6
typedef struct tagMOUSEINFO {
char mouse_flags;
char mouse_type;
} MOUSE_INF_TYPE;
static MOUSEINFO_TYPE mouseinfo;
Function Call
GetMouseInfo (&mouseinfo);
mouse_flags
= mouseinfo.mouse_flags;
mouse_type
= mouseinfo.mouse_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 ...