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.

56 lines
2.0 KiB

  1. //Copyright (c) 1998 - 1999 Microsoft Corporation
  2. /***********************************************************************
  3. *
  4. * QPROCESS.H
  5. * This module contains typedefs and defines required for
  6. * the QPROCESS utility.
  7. *
  8. *
  9. *************************************************************************/
  10. #include <utildll.h>
  11. /*
  12. * Header and format string definitions.
  13. */
  14. // L" USERNAME SESSIONNAME ID STATE PID IMAGE\n"
  15. // 12345678901234567890 1234567890123456 1234 1234567890 12345 123456789012345
  16. //#define FORMAT \
  17. //L"%-20s %-16s %4u %-10s %5u %0.15s\n"
  18. #define FORMAT \
  19. "%-20s %-16s %4u %5u %0.15s\n"
  20. /*
  21. * General application definitions.
  22. */
  23. #define SUCCESS 0
  24. #define FAILURE 1
  25. #define MAX_IDS_LEN 256 // maximum length that the input parm can be
  26. #define MAXNAME 18 // Max allowed for printing.
  27. /*
  28. * Resource string IDs
  29. */
  30. #define IDS_ERROR_MALLOC 100
  31. #define IDS_ERROR_INVALID_PARAMETERS 101
  32. #define IDS_ERROR_QUERY_INFORMATION 102
  33. #define IDS_ERROR_PROCESS_NOT_FOUND 103
  34. #define IDS_ERROR_ENUMERATE_PROCESSES 104
  35. #define IDS_ERROR_SERVER 105
  36. #define IDS_HELP_USAGE1 106
  37. #define IDS_HELP_USAGE2 107
  38. #define IDS_HELP_USAGE3 108
  39. #define IDS_HELP_USAGE4 109
  40. #define IDS_HELP_USAGE5 110
  41. #define IDS_HELP_USAGE6 111
  42. #define IDS_HELP_USAGE7 112
  43. #define IDS_HELP_USAGE8 113
  44. #define IDS_HELP_USAGE9 114
  45. #define IDS_HEADER 116
  46. #define IDS_ERROR_NOT_TS 117
  47. #define IDS_HELP_USAGE40 118