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.

84 lines
2.0 KiB

  1. /***************************************************************************
  2. Name : PROTAPI.H
  3. Comment : Interface to Protocol DLL
  4. Copyright (c) Microsoft Corp. 1991, 1992, 1993
  5. Revision Log
  6. Date Name Description
  7. -------- ----- ---------------------------------------------------------
  8. ***************************************************************************/
  9. #include "protparm.h"
  10. // #define MAXNSFSIZE 40
  11. // #define MAXSEPPWDSIZE 60
  12. #define GET_SEND_MOD 1
  13. #define GET_RECV_MOD 2
  14. #define GET_ECM_FRAMESIZE 3
  15. #define GET_PPR_FIF 4
  16. #define GET_WHATNEXT 5
  17. #define GET_MINBYTESPERLINE 6
  18. #define RECEIVING_ECM 7
  19. #define GET_RECV_ECM_FRAMESIZE 8
  20. #define GET_RECVECMFRAMECOUNT 10
  21. #define RESET_RECVECMFRAMECOUNT 11
  22. #define RESET_RECVPAGEACK 12
  23. #define GET_PPS 15
  24. #define GET_SEND_ENCODING 16
  25. #define GET_RECV_ENCODING 17
  26. // MUST match MSG_ flags in SOCKET.H
  27. # define NEXTSEND_MPS 0x100
  28. # define NEXTSEND_EOM 0x200
  29. # define NEXTSEND_EOP 0x400
  30. # define NEXTSEND_ERROR 0x800
  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