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.

51 lines
1.8 KiB

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