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
5.6 KiB

  1. //Copyright (c) 1998 - 1999 Microsoft Corporation
  2. /***********************************************************************
  3. *
  4. * QWINSTA.H
  5. * This module contains typedefs and defines required for
  6. * the QWINSTA utility.
  7. *
  8. *
  9. *************************************************************************/
  10. /*
  11. * Header and format string definitions.
  12. */
  13. //L" SESSIONNAME CLIENT NAME TRANSPORT ADDRESS\n"
  14. // 1234567890123456 12345678901234567890 1234567 1234567890123...
  15. #define FORMAT_A \
  16. "%-16s %-20s %-7s %-24s "
  17. //L" SESSIONNAME STATE DEVICE TYPE BAUD PARITY DATA STOP\n"
  18. // 1234567890123456 123456 12345678 1234567890123 123456 1234 1 1
  19. #define FORMAT_M \
  20. "%-16s %-6s %-8s %-13s "
  21. //L" SESSIONNAME DEVICE FLOW CONTROL CONNECT\n"
  22. // 1234567890123456 12345678 1234567890123456789012345 12345678901234567890
  23. #define FORMAT_F_C \
  24. "%-16s %-8s "
  25. //L" SESSIONNAME STATE DEVICE TYPE CONNECT\n"
  26. // 1234567890123456 123456 12345678 1234567890123 CTS DSR RING DCD CHAR BRK AUTO
  27. #define FORMAT_C \
  28. "%-16s %-6s %-8s %-13s "
  29. //L" SESSIONNAME STATE DEVICE TYPE FLOW CONTROL\n"
  30. // 1234567890123456 123456 12345678 1234567890123 XON DUP RTS RTSH DTR DTRH CTSH DSRH DCDH DSRS
  31. #define FORMAT_F \
  32. "%-16s %-6s %-8s %-13s "
  33. //L" SESSIONNAME USERNAME ID STATE TYPE DEVICE \n"
  34. // 1234567890123456 12345678901234567890 1234 123456 1234567890 12345678
  35. #define FORMAT_DEFAULT \
  36. "%-16s %-20s %5d %-6s %-10s %-8s\n"
  37. /*
  38. * General application definitions.
  39. */
  40. #define SUCCESS 0
  41. #define FAILURE 1
  42. #define MAX_IDS_LEN 256 // maximum length that the input parm can be
  43. /*
  44. * Resource string IDs
  45. */
  46. #define IDS_ERROR_MALLOC 100
  47. #define IDS_ERROR_INVALID_PARAMETERS 101
  48. #define IDS_ERROR_WINSTATION_ENUMERATE 102
  49. #define IDS_ERROR_WINSTATION_NOT_FOUND 103
  50. #define IDS_ERROR_WINSTATION_OPEN 104
  51. #define IDS_ERROR_WINSTATION_GET_INFORMATION 105
  52. #define IDS_ERROR_WINSTATION_INFO_VERSION_MISMATCH 106
  53. #define IDS_ERROR_SERVER 107
  54. #define IDS_ERROR_INFORMATION 108
  55. #define IDS_VMINFO1 109
  56. #define IDS_VMINFO2 110
  57. #define IDS_VMINFO3 111
  58. #define IDS_VMINFO4 112
  59. #define IDS_VMINFO5 113
  60. #define IDS_HELP_USAGE1 114
  61. #define IDS_HELP_USAGE2 115
  62. #define IDS_HELP_USAGE3 116
  63. #define IDS_HELP_USAGE4 117
  64. #define IDS_HELP_USAGE5 118
  65. #define IDS_HELP_USAGE6 119
  66. #define IDS_HELP_USAGE7 120
  67. #define IDS_HELP_USAGE8 121
  68. #define IDS_HELP_USAGE9 122
  69. #define IDS_HELP_USAGE10 123
  70. #define IDS_HEADER_A 124
  71. #define IDS_HEADER_M 125
  72. #define IDS_HEADER_F_C 126
  73. #define IDS_HEADER_C 127
  74. #define IDS_HEADER_F 128
  75. #define IDS_HEADER_DEFAULT 129
  76. #define IDS_ERROR_NOT_TS 130
  77. #define IDS_ERROR_TERMSRV_COUNTERS 131
  78. #define IDS_TSCOUNTER_TOTAL_SESSIONS 132
  79. #define IDS_TSCOUNTER_DISC_SESSIONS 133
  80. #define IDS_TSCOUNTER_RECON_SESSIONS 134
  81. #define IDS_HELP_USAGE11 135
  82. #define IDS_PARITY_NONE 136
  83. #define IDS_PARITY_ODD 137
  84. #define IDS_PARITY_EVEN 138
  85. #define IDS_PARITY_BLANK 139
  86. #define IDS_DATABITS_FORMAT 140
  87. #define IDS_DATABITS_BLANK 141
  88. #define IDS_STOPBITS_ONE 142
  89. #define IDS_STOPBITS_ONEANDHALF 143
  90. #define IDS_STOPBITS_TWO 144
  91. #define IDS_STOPBITS_BLANK 145
  92. #define IDS_CONNECT_HEADER 146
  93. #define IDS_CONNECT_FORMAT 147
  94. #define IDS_FLOW_HEADER 148
  95. #define IDS_FLOW_FORMAT 149
  96. #define IDS_FLOW_ENABLE_DTR 150
  97. #define IDS_FLOW_ENABLE_RTS 151
  98. #define IDS_FLOW_RECEIVE_NONE 152
  99. #define IDS_FLOW_RECEIVE_RTS 153
  100. #define IDS_FLOW_RECEIVE_DTR 154
  101. #define IDS_FLOW_TRANSMIT_NONE 155
  102. #define IDS_FLOW_TRANSMIT_CTS 156
  103. #define IDS_FLOW_TRANSMIT_DSR 157
  104. #define IDS_FLOW_SOFTWARE_TX 158
  105. #define IDS_FLOW_SOFTWARE_RX 159
  106. #define IDS_FLOW_SOFTWARE_XPC 160
  107. #define IDS_FLOW_SOFTWARE_XON_XOFF 161
  108. #define IDS_LPT_HEADER 162
  109. #define IDS_LPT_FORMAT 163
  110. #define IDS_COM_HEADER 164
  111. #define IDS_COM_FORMAT 165