Source code of Windows XP (NT5)
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.

70 lines
2.3 KiB

  1. #ifndef _PROTPARAMS_
  2. #define _PROTPARAMS_
  3. // initial defaults for all settings in braces at end
  4. typedef struct
  5. {
  6. USHORT uSize; // size of this structure
  7. SHORT IgnoreDIS; // Num DISs to ignore (set to 1 on echoey satelite lines) [0]
  8. SHORT TrainingErrorTolerance; // 0 to 4 (0=infinite tolerance, 4=very picky) [2]
  9. SHORT RecvG3ErrorTolerance; // 0 to 4 (0=infinite tolerance, 4=very picky) [2]
  10. SHORT PadRCP; // T/F (Fill out RCP to full frame size. Affects G3 only) [0]
  11. SHORT HighestSendSpeed; // 2400/4800/7200/9600/12000/14400 [0 == highest avail]
  12. SHORT LowestSendSpeed; // 2400/4800/7200/9600/12000/14400 [0 == lowest avail]
  13. SHORT DisableSendECM; // T/F (affects ALL sends. Will disable At Work prot & MMR) [0]
  14. SHORT Send64ByteECM; // T/F (use smaller frames on send) [0]
  15. SHORT HighestRecvSpeed; // 2400/4800/7200/9600/12000/14400 [0 == highest avail]
  16. SHORT DisableRecvECM; // (affects G3 and BFT--recv MMR & BFT are disabled) [0]
  17. SHORT Recv64ByteECM; // T/F (use smaller frames on recv) [0]
  18. BOOL fEnableV17Send; // enable V17 (12k/14k) send speeds [1]
  19. BOOL fEnableV17Recv; // enable V17 (12k/14k) recv speeds [1]
  20. USHORT uMinScan; // determined by printer speed [MINSCAN_0_0_0]
  21. SHORT SendT1Timer; // T1 timer on send (in secs) [0==default]
  22. SHORT RecvT1Timer; // T1 timer on recv (in secs) [0==default]
  23. SHORT RTNAction; // 0=dropspeed 1=samespeed 2=hangup [0==default]
  24. SHORT CTCAction; // 0=dropspeed 1=hangup 2=TBD [0==default]
  25. USHORT EnableG3SendECM; // enables ECM for MH & MR [0]
  26. USHORT CopyQualityCheckLevel; // how strictly to check [0=off 2=default 4=strict]
  27. }
  28. PROTPARAMS, far* LPPROTPARAMS;
  29. #define MIN_CALL_SEPERATION 10000L // to be added to the PROTPARMS struct
  30. // #define RECOVERY_RECIPIENT "System" // not needed anymore--dont add to SOS
  31. #define MINSCAN_0_0_0 7
  32. #define MINSCAN_5_5_5 1
  33. #define MINSCAN_10_10_10 2
  34. #define MINSCAN_20_20_20 0
  35. #define MINSCAN_40_40_40 4
  36. #define MINSCAN_40_20_20 5
  37. #define MINSCAN_20_10_10 3
  38. #define MINSCAN_10_5_5 6
  39. // #define MINSCAN_0_0_? 15 // illegal
  40. // #define MINSCAN_5_5_? 9 // illegal
  41. #define MINSCAN_10_10_5 10
  42. #define MINSCAN_20_20_10 8
  43. #define MINSCAN_40_40_20 12
  44. #define MINSCAN_40_20_10 13
  45. #define MINSCAN_20_10_5 11
  46. // #define MINSCAN_10_5_? 14 // illegal
  47. #endif //_PROTPARAMS_