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.

78 lines
1.9 KiB

  1. //****************************************************************************
  2. //
  3. // Microsoft NT Remote Access Service
  4. //
  5. // Copyright 1992-93
  6. //
  7. // Filename: isdn.h
  8. //
  9. // Revision History:
  10. //
  11. // Feb 28, 1993 Gurdeep Pall Created
  12. //
  13. //
  14. // Description: This file contains all the device and media DLL interface
  15. // information specific to ISDN.
  16. //
  17. //****************************************************************************
  18. #ifndef _ISDNINCLUDE_
  19. #define _ISDNINCLUDE_
  20. #define ISDN_TXT "isdn"
  21. // ISDN Media Parameter
  22. //
  23. #define ISDN_LINETYPE_KEY "LineType" // Param type NUMBER
  24. #define ISDN_LINETYPE_VALUE_64DATA 0
  25. #define ISDN_LINETYPE_VALUE_56DATA 1
  26. #define ISDN_LINETYPE_VALUE_56VOICE 2
  27. #define ISDN_LINETYPE_STRING_64DATA "0"
  28. #define ISDN_LINETYPE_STRING_56DATA "1"
  29. #define ISDN_LINETYPE_STRING_56VOICE "2"
  30. #define ISDN_FALLBACK_KEY "Fallback" // Param type NUMBER
  31. #define ISDN_FALLBACK_VALUE_ON 1
  32. #define ISDN_FALLBACK_VALUE_OFF 0
  33. #define ISDN_FALLBACK_STRING_ON "1"
  34. #define ISDN_FALLBACK_STRING_OFF "0"
  35. #define ISDN_COMPRESSION_KEY "EnableCompression" // Param type NUMBER
  36. #define ISDN_COMPRESSION_VALUE_ON 1
  37. #define ISDN_COMPRESSION_VALUE_OFF 0
  38. #define ISDN_COMPRESSION_STRING_ON "1"
  39. #define ISDN_COMPRESSION_STRING_OFF "0"
  40. #define ISDN_CHANNEL_AGG_KEY "ChannelAggregation"// Param type NUMBER
  41. // ISDN Device Parameter
  42. //
  43. #define ISDN_PHONENUMBER_KEY "PhoneNumber" // Param type STRING
  44. #define MAX_PHONENUMBER_LEN 255
  45. #define CONNECTBPS_KEY "ConnectBPS" // Param type STRING
  46. // Statistics information and indices.
  47. //
  48. #define NUM_ISDN_STATS 10
  49. #define BYTES_XMITED 0 // Generic Stats
  50. #define BYTES_RCVED 1
  51. #define FRAMES_XMITED 2
  52. #define FRAMES_RCVED 3
  53. #define CRC_ERR 4 // Isdn Stats
  54. #define TIMEOUT_ERR 5
  55. #define ALIGNMENT_ERR 6
  56. #define SERIAL_OVERRUN_ERR 7
  57. #define FRAMING_ERR 8
  58. #define BUFFER_OVERRUN_ERR 9
  59. #endif // _ISDNINCLUDE_