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.

52 lines
2.0 KiB

  1. // Copyright (c) 1998-1999 Microsoft Corporation
  2. /*************************************************************************
  3. *
  4. * LOGOFF.H
  5. * This module contains typedefs and defines for the LOGOFF
  6. * WinStation utility.
  7. *
  8. *************************************************************************/
  9. /*
  10. * Token string definitions.
  11. */
  12. #define TOKEN_WS L""
  13. #define TOKEN_VERBOSE L"/v"
  14. #define TOKEN_HELP L"/?"
  15. #define TOKEN_SERVER L"/server"
  16. /*
  17. * General application definitions.
  18. */
  19. #define SUCCESS 0
  20. #define FAILURE 1
  21. #define MAX_IDS_LEN 256 // maximum length that the input parm can be
  22. /*
  23. * Resource string IDs
  24. */
  25. #define IDS_ERROR_MALLOC 100
  26. #define IDS_ERROR_INVALID_PARAMETERS 101
  27. #define IDS_ERROR_WINSTATION_NOT_FOUND 102
  28. #define IDS_ERROR_INVALID_LOGONID 103
  29. #define IDS_ERROR_LOGONID_NOT_FOUND 104
  30. #define IDS_ERROR_LOGOFF 105
  31. #define IDS_ERROR_LOGOFF_CURRENT 106
  32. //#define IDS_ERROR_CANT_GET_CURRENT_WINSTATION 107
  33. #define IDS_ERROR_NEED_A_SESSIONID 107
  34. #define IDS_ERROR_SERVER 108
  35. #define IDS_WINSTATION_LOGOFF 200
  36. #define IDS_WARNING_LOGOFF 201
  37. #define IDS_WARNING_LOGOFF_QUESTIONABLE 202
  38. #define IDS_USAGE1 203
  39. #define IDS_USAGE2 204
  40. #define IDS_USAGE3 205
  41. #define IDS_USAGE4 206
  42. #define IDS_USAGE5 207
  43. #define IDS_USAGE6 208
  44. #define IDS_USAGE7 209
  45. #define IDS_ERROR_NOT_TS 210