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.

115 lines
3.6 KiB

  1. #include "strings.h"
  2. /* Module to hold const strings used in setup program */
  3. #ifdef S_VS
  4. const char * szServiceName = {"VSLinkA"};
  5. const char * szDriverDevice = {"\\\\.\\vslinka"};
  6. #else
  7. const char * szServiceName = {"RocketPort"};
  8. const char * szDriverDevice = {"\\\\.\\rocket"};
  9. #endif
  10. /* registry values - device options */
  11. #ifdef S_RK
  12. const char * szRocketPort = {"RocketPort"};
  13. const char * szRocketPort485 = {"RocketPort 485"};
  14. const char * szRocketPortPlus = {"RocketPort Plus"};
  15. const char * szRocketModem = {"RocketModem"};
  16. const char * szRocketModemII = {"RocketModemII"};
  17. const char * szRocketModem_i = {"RocketModem i"};
  18. #else
  19. const char * szVS1000 = {"VS1000"};
  20. const char * szVS2000 = {"VS2000"};
  21. const char * szSerialHub = {"RocketPort Serial Hub"};
  22. #endif
  23. /* values - port options */
  24. const char * szNP2 = {"2"};
  25. const char * szNP4 = {"4"};
  26. const char * szNP6 = {"6"};
  27. const char * szNP8 = {"8"};
  28. const char * szNP16 = {"16"};
  29. const char * szNP32 = {"32"};
  30. const char * szNP48 = {"48"};
  31. const char * szNP64 = {"64"};
  32. //--- country codes for SocketModem support
  33. #define mcNotUsed 0
  34. #define mcAustria 1
  35. #define mcBelgium 2
  36. #define mcDenmark 3
  37. #define mcFinland 4
  38. #define mcFrance 5
  39. #define mcGermany 6
  40. #define mcIreland 7
  41. #define mcItaly 8
  42. #define mcLuxembourg 9
  43. #define mcNetherlands 10
  44. #define mcNorway 11
  45. #define mcPortugal 12
  46. #define mcSpain 13
  47. #define mcSweden 14
  48. #define mcSwitzerland 15
  49. #define mcUK 16
  50. #define mcGreece 17
  51. #define mcIsrael 18
  52. #define mcCzechRep 19
  53. #define mcCanada 20
  54. #define mcMexico 21
  55. #define mcUSA 22
  56. #define mcNA mcUSA // North America
  57. #define mcHungary 23
  58. #define mcPoland 24
  59. #define mcRussia 25
  60. #define mcSlovacRep 26
  61. #define mcBulgaria 27
  62. // 28
  63. // 29
  64. #define mcIndia 30
  65. // 31
  66. // 32
  67. // 33
  68. // 34
  69. // 35
  70. // 36
  71. // 37
  72. // 38
  73. // 39
  74. #define mcAustralia 40
  75. #define mcChina 41
  76. #define mcHongKong 42
  77. #define mcJapan 43
  78. #define mcPhilippines mcJapan
  79. #define mcKorea 44
  80. // 45
  81. #define mcTaiwan 46
  82. #define mcSingapore 47
  83. #define mcNewZealand 48
  84. //
  85. // this table is for the 33.6K V.34 ROW modems, & RocketModemII...
  86. //
  87. row_entry RowInfo[NUM_ROW_COUNTRIES] =
  88. {{mcNA, "North America"},
  89. { mcFrance, "France"},
  90. { mcGermany, "Germany"},
  91. { mcItaly, "Italy"},
  92. { mcSweden, "Sweden"},
  93. { mcUK, "United Kingdom"}};
  94. //
  95. // this table is for the 56K V.90 ROW modems...
  96. //
  97. row_entry CTRRowInfo[NUM_CTR_ROW_COUNTRIES] =
  98. {{mcUK, "United Kingdom"},
  99. { mcDenmark, "Denmark"},
  100. { mcFrance, "France"},
  101. { mcGermany, "Germany"},
  102. { mcIreland, "Ireland"},
  103. { mcItaly, "Italy"},
  104. { mcJapan, "Japan"},
  105. { mcNetherlands, "Netherlands"},
  106. { mcPhilippines, "Philippines"},
  107. { mcSpain, "Spain"},
  108. { mcSweden, "Sweden"},
  109. { mcSwitzerland, "Switzerland"}};