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.

55 lines
2.0 KiB

  1. // Copyright (c) 1998-1999 Microsoft Corporation
  2. /*************************************************************************
  3. *
  4. * TSCON.H
  5. * This module contains typedefs and defines for the TSCON
  6. * WinStation utility.
  7. *
  8. *************************************************************************/
  9. /*
  10. * Token string definitions.
  11. */
  12. #define TOKEN_SOURCE L""
  13. #define TOKEN_DESTINATION L"/dest"
  14. #define TOKEN_PASSWORD L"/password"
  15. #define TOKEN_VERBOSE L"/v"
  16. #define TOKEN_HELP L"/?"
  17. #define TOKEN_SERVER L"/server"
  18. /*
  19. * General application definitions.
  20. */
  21. #define SUCCESS 0
  22. #define FAILURE 1
  23. #define MAX_IDS_LEN 256 // maximum length that the input parm can be
  24. /*
  25. * Resource string IDs
  26. */
  27. #define IDS_ERROR_MALLOC 100
  28. #define IDS_ERROR_INVALID_PARAMETERS 101
  29. #define IDS_ERROR_WINSTATION_NOT_FOUND 102
  30. #define IDS_ERROR_INVALID_LOGONID 103
  31. #define IDS_ERROR_LOGONID_NOT_FOUND 104
  32. #define IDS_ERROR_WINSTATION_CONNECT 105
  33. #define IDS_ERROR_WINSTATION_CONNECT_CURRENT 106
  34. #define IDS_ERROR_CANT_GET_CURRENT_WINSTATION 107
  35. #define IDS_ERROR_SERVER 108
  36. #define IDS_USAGE_1 121
  37. #define IDS_USAGE_2 122
  38. #define IDS_USAGE_3 123
  39. #define IDS_USAGE_4 124
  40. #define IDS_USAGE_5 125
  41. #define IDS_USAGE_6 126
  42. #define IDS_USAGE_7 127
  43. #define IDS_USAGE_8 128
  44. #define IDS_USAGE_9 129
  45. #define IDS_ERROR_NOT_TS 130
  46. #define IDS_WINSTATION_CONNECT 200