Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.4 KiB

  1. /* VARS.H */
  2. #include "vars1.h"
  3. typedef struct tagMouseKeysParam {
  4. int NumButtons; /* holds number of buttons on the mice */
  5. int Delta_Y; /* Relative Y motion sign extended */
  6. int Delta_X; /* Relative X motion sign extended */
  7. int Status; /* status of mouse buttons and motion */
  8. } MOUSEKEYSPARAM;
  9. #define TRUE 1
  10. #define FALSE 0
  11. #define TAB 9
  12. #define LINEFEED 10
  13. #define VERTICALTAB 11
  14. #define FORMFEED 12
  15. #define RETURN 13
  16. #define SPACE 32
  17. #define COMMA 44
  18. #define PERIOD 46
  19. #define ESC 27
  20. #define ESCAPE 27
  21. #define notOKstatus 0
  22. #define okStatus 1
  23. #define NOKEY 0
  24. extern void *aliasStack[MAXVECTORSTACK];
  25. extern void *vectorStack[MAXVECTORSTACK];
  26. extern int stackPointer;
  27. extern unsigned char lastCode;
  28. extern void (*serialVector)(unsigned char);
  29. extern void (*codeVector)(unsigned char);
  30. extern void (*commandVector)(unsigned char);
  31. extern struct aliasTable *aliasPtr;
  32. extern struct listTypes tempList, keyHoldList, keyLockList;
  33. extern char cAliasString[MAXALIASLEN];
  34. extern int nullCount;
  35. extern int blockCount;
  36. extern char buf[CODEBUFFERLEN];
  37. extern int spos,rpos;
  38. extern int passAll, fatalErrorFlag, stdErrorFlag, waitForClear, beginOK;
  39. extern int mouseX, mouseY;
  40. extern MOUSEKEYSPARAM mouData;
  41. extern MOUSEKEYSPARAM *mouseDataPtr;
  42. extern int requestButton1, requestButton2, requestButton3;
  43. extern int button1Status, button2Status, button3Status;
  44. extern struct aliasTable nullTable[];
  45.