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.

51 lines
1.8 KiB

  1. //Copyright (c) 1998 - 1999 Microsoft Corporation
  2. #ifdef NOMINMAX
  3. #undef NOMINMAX
  4. #endif
  5. #include <winver.h>
  6. #include <ntverp.h>
  7. #include "quser.h"
  8. #define VER_FILETYPE VFT_APP
  9. #define VER_FILESUBTYPE VFT2_UNKNOWN
  10. #define VER_FILEDESCRIPTION_STR "Query User Utility"
  11. #define VER_INTERNALNAME_STR "quser"
  12. #define VER_ORIGINALFILENAME_STR "quser.exe"
  13. #include <verall.h>
  14. #include "common.ver"
  15. STRINGTABLE
  16. BEGIN
  17. IDS_ERROR_MALLOC
  18. L"Error allocating memory\n"
  19. IDS_ERROR_INVALID_PARAMETERS
  20. L"Invalid parameter(s)\n"
  21. IDS_ERROR_WINSTATION_ENUMERATE
  22. L"Error 0x%08X enumerating sessionnames\n"
  23. IDS_ERROR_USER_NOT_FOUND
  24. L"No User exists for %s\n"
  25. IDS_ERROR_SERVER
  26. L"Error opening Terminal server %s\n"
  27. IDS_HELP_USAGE1
  28. L"Display information about users logged on to the system.\n\n"
  29. IDS_HELP_USAGE2
  30. L"QUERY USER [username | sessionname | sessionid] [/SERVER:servername]\n\n"
  31. IDS_HELP_USAGE3
  32. L" username Identifies the username.\n"
  33. IDS_HELP_USAGE4
  34. L" sessionname Identifies the session named sessionname.\n"
  35. IDS_HELP_USAGE5
  36. L" sessionid Identifies the session with ID sessionid.\n"
  37. IDS_HELP_USAGE6
  38. L" /SERVER:servername The server to be queried (default is current).\n\n"
  39. IDS_ERROR_NOT_TS
  40. L"This utility needs Terminal Services to be running.\n"
  41. IDS_TITLE
  42. L" USERNAME SESSIONNAME ID STATE IDLE TIME LOGON TIME\n"
  43. // 12345678901234567890 123456789012345 1234 123456 dd+hh:mm mm/dd/yy hh:mm
  44. IDS_NONE
  45. L" none "
  46. END