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.

129 lines
4.5 KiB

  1. //****************************************************************************
  2. //
  3. // Microsoft NT Remote Access Service
  4. //
  5. // Copyright (C) 1992-93 Microsft Corporation. All rights reserved.
  6. //
  7. // Filename: rasmxs.h
  8. //
  9. // Revision History:
  10. //
  11. // Jun 24, 1992 J. Perry Hannah Created
  12. //
  13. //
  14. // Description: This file contains name strings for standard macros and
  15. // variables found in modem.inf, pad.inf, and switch.inf.
  16. // This header file will be needed by all users.
  17. //
  18. //****************************************************************************
  19. #ifndef _RASMXS_
  20. #define _RASMXS_
  21. // General Defines *********************************************************
  22. //
  23. #include <rasfile.h>
  24. #define MAX_PHONE_NUMBER_LENGTH RAS_MAXLINEBUFLEN
  25. #define MXS_PAD_TXT "pad"
  26. #define MXS_MODEM_TXT "modem"
  27. #define MXS_SWITCH_TXT "switch"
  28. #define MXS_NULL_TXT "null"
  29. #define ATTRIB_VARIABLE 0x08
  30. #define ATTRIB_BINARYMACRO 0x04
  31. #define ATTRIB_USERSETTABLE 0x02
  32. #define ATTRIB_ENABLED 0x01
  33. // Unary Macros ************************************************************
  34. //
  35. //Used in:
  36. #define MXS_PHONENUMBER_KEY "PhoneNumber" //modem.inf
  37. #define MXS_CARRIERBPS_KEY "CarrierBps" //modem.inf
  38. #define MXS_CONNECTBPS_KEY "ConnectBps" //modem.inf
  39. #define MXS_X25PAD_KEY "X25Pad" //pad.inf
  40. #define MXS_X25ADDRESS_KEY "X25Address" //pad.inf
  41. #define MXS_DIAGNOSTICS_KEY "Diagnostics" //pad.inf
  42. #define MXS_USERDATA_KEY "UserData" //pad.inf
  43. #define MXS_FACILITIES_KEY "Facilities" //pad.inf
  44. #define MXS_MESSAGE_KEY "Message" //all
  45. #define MXS_USERNAME_KEY "UserName" //all
  46. #define MXS_PASSWORD_KEY "Password" // all
  47. // Binary Macros ***********************************************************
  48. //
  49. #define MXS_SPEAKER_KEY "Speaker" //modem.inf
  50. #define MXS_HDWFLOWCONTROL_KEY "HwFlowControl" //modem.inf
  51. #define MXS_PROTOCOL_KEY "Protocol" //modem.inf
  52. #define MXS_COMPRESSION_KEY "Compression" //modem.inf
  53. #define MXS_AUTODIAL_KEY "AutoDial" //modem.inf
  54. // Binary Macro Suffixes ***************************************************
  55. //
  56. #define MXS_ON_SUFX "_on" //all
  57. #define MXS_OFF_SUFX "_off" //all
  58. // INF File Variables ******************************************************
  59. //
  60. #define MXS_DEFAULTOFF_KEY "DEFAULTOFF" //modem.inf
  61. #define MXS_CALLBACKTIME_KEY "CALLBACKTIME" //modem.inf
  62. #define MXS_MAXCARRIERBPS_KEY "MAXCARRIERBPS" //modem.inf
  63. #define MXS_MAXCONNECTBPS_KEY "MAXCONNECTBPS" //modem.inf
  64. // Keywork Prefixes ********************************************************
  65. //
  66. #define MXS_COMMAND_PRFX "COMMAND" //all
  67. #define MXS_CONNECT_PRFX "CONNECT" //all
  68. #define MXS_ERROR_PRFX "ERROR" //all
  69. #define MXS_OK_PRFX "OK" //all
  70. // Modem Command Keywords **************************************************
  71. //
  72. #define MXS_GENERIC_COMMAND "COMMAND"
  73. #define MXS_INIT_COMMAND "COMMAND_INIT"
  74. #define MXS_DIAL_COMMAND "COMMAND_DIAL"
  75. #define MXS_LISTEN_COMMAND "COMMAND_LISTEN"
  76. // Modem Response Keywords *************************************************
  77. //
  78. #define MXS_OK_KEY "OK"
  79. #define MXS_CONNECT_KEY "CONNECT"
  80. #define MXS_CONNECT_EC_KEY "CONNECT_EC"
  81. #define MXS_ERROR_KEY "ERROR"
  82. #define MXS_ERROR_BUSY_KEY "ERROR_BUSY"
  83. #define MXS_ERROR_NO_ANSWER_KEY "ERROR_NO_ANSWER"
  84. #define MXS_ERROR_VOICE_KEY "ERROR_VOICE"
  85. #define MXS_ERROR_NO_CARRIER_KEY "ERROR_NO_CARRIER"
  86. #define MXS_ERROR_NO_DIALTONE_KEY "ERROR_NO_DIALTONE"
  87. #define MXS_ERROR_DIAGNOSTICS_KEY "ERROR_DIAGNOSTICS"
  88. #define MXS_NORESPONSE "NoResponse"
  89. #define MXS_NOECHO "NoEcho"
  90. #endif