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.

48 lines
1.6 KiB

  1. #define STARTSENDMODE_TIMEOUT 40000L // Sending Timeout needs to be pretty long!!!
  2. #define LOCALCOMMAND_TIMEOUT 6000L // for commands sent to modem but not when connected
  3. #define ANS_LOCALCOMMAND_TIMEOUT 1000L // for commands sent to modem when answering (during ringing)
  4. #define CLASS2_BAUDRATE 19200
  5. #define NUMBER_OF_DIS_VALUES 8
  6. #define NUMBER_OF_DCS_VALUES 8
  7. #define MORE_PAGES 10
  8. #define NO_MORE_PAGES 20
  9. // Note this comes from icomfile.h!!!!
  10. #define MAXUSERATCMDLEN 80
  11. // Class 2 DCE Response Codes.
  12. #define CL2DCE_CONNECT 1
  13. #define CL2DCE_OK 2
  14. #define CL2DCE_XON 3
  15. #define CL2DCE_FDCS 4
  16. #define CL2DCE_FDIS 5
  17. #define CL2DCE_FDTC 6
  18. #define CL2DCE_FPOLL 7
  19. #define CL2DCE_FCFR 8
  20. #define CL2DCE_FTSI 9
  21. #define CL2DCE_FCSI 10
  22. #define CL2DCE_FCIG 11
  23. #define CL2DCE_FNSF 12
  24. #define CL2DCE_FNSS 13
  25. #define CL2DCE_FNSC 14
  26. #define CL2DCE_FHT 15
  27. #define CL2DCE_FHR 16
  28. #define CL2DCE_FCON 17
  29. #define CL2DCE_FVOICE 18
  30. #define CL2DCE_FET 19
  31. #define CL2DCE_FPTS 20
  32. #define CL2DCE_FHNG 21
  33. #define CL2DCE_FDM 22
  34. #define CR 0x0d
  35. #define LF 0x0a
  36. #define DLE 0x10 // DLE = ^P = 16d = 10h
  37. #define ETX 0x03
  38. BOOL ParseFPTS_SendAck(PThrdGlbl pTG);