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.

43 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. // Class 2 DCE Response Codes.
  10. #define CL2DCE_CONNECT 1
  11. #define CL2DCE_OK 2
  12. #define CL2DCE_XON 3
  13. #define CL2DCE_FDCS 4
  14. #define CL2DCE_FDIS 5
  15. #define CL2DCE_FDTC 6
  16. #define CL2DCE_FPOLL 7
  17. #define CL2DCE_FCFR 8
  18. #define CL2DCE_FTSI 9
  19. #define CL2DCE_FCSI 10
  20. #define CL2DCE_FCIG 11
  21. #define CL2DCE_FNSF 12
  22. #define CL2DCE_FNSS 13
  23. #define CL2DCE_FNSC 14
  24. #define CL2DCE_FHT 15
  25. #define CL2DCE_FHR 16
  26. #define CL2DCE_FCON 17
  27. #define CL2DCE_FVOICE 18
  28. #define CL2DCE_FET 19
  29. #define CL2DCE_FPTS 20
  30. #define CL2DCE_FHNG 21
  31. #define CL2DCE_FDM 22
  32. #define CR 0x0d
  33. #define LF 0x0a
  34. #define DLE 0x10 // DLE = ^P = 16d = 10h
  35. #define ETX 0x03
  36. BOOL ParseFPTS_SendAck(PThrdGlbl pTG);