Carrol Touch Modular Flat Panel Specifications Page 244

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

Comments to this Manuals

No comments