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.

49 lines
1.4 KiB

  1. //server.h
  2. //RELSTAT_PROCESS_INFO is a duplication of SYSTEM_PROCESS_INFORMATION
  3. //defined in ntexapi.h We have added a few fields that we thought were
  4. //unnecessary and added a couple of fields
  5. typedef struct _RS_UNICODE_STRING {
  6. USHORT Length;
  7. USHORT MaximumLength;
  8. #ifdef MIDL_PASS
  9. [size_is(MaximumLength),length_is(Length)]PWSTR Buffer;
  10. #else
  11. PWSTR Buffer;
  12. #endif
  13. } RS_UNICODE_STRING;
  14. typedef struct _RELSTAT_PROCESS_INFO{
  15. ULONG NumberOfThreads;
  16. LARGE_INTEGER CreateTime;
  17. LARGE_INTEGER UserTime;
  18. LARGE_INTEGER KernelTime;
  19. LPWSTR szImageName;
  20. LONG BasePriority; //KPRIORITY in ntexapi.h
  21. DWORD UniqueProcessId; //HANDLE in ntexapi.h
  22. DWORD InheritedFromUniqueProcessId; //HANDLE in ntexapi.h
  23. ULONG HandleCount;
  24. ULONG SessionId;
  25. SIZE_T PeakVirtualSize;
  26. SIZE_T VirtualSize;
  27. ULONG PageFaultCount;
  28. SIZE_T PeakWorkingSetSize;
  29. SIZE_T WorkingSetSize;
  30. SIZE_T QuotaPeakPagedPoolUsage;
  31. SIZE_T QuotaPagedPoolUsage;
  32. SIZE_T QuotaPeakNonPagedPoolUsage;
  33. SIZE_T QuotaNonPagedPoolUsage;
  34. SIZE_T PagefileUsage;
  35. SIZE_T PeakPagefileUsage;
  36. SIZE_T PrivatePageCount;
  37. LARGE_INTEGER ReadOperationCount;
  38. LARGE_INTEGER WriteOperationCount;
  39. LARGE_INTEGER OtherOperationCount;
  40. LARGE_INTEGER ReadTransferCount;
  41. LARGE_INTEGER WriteTransferCount;
  42. LARGE_INTEGER OtherTransferCount;
  43. ULONG GdiHandleCount;
  44. ULONG UsrHandleCount;
  45. } RELSTAT_PROCESS_INFO, *PRELSTAT_PROCESS_INFO;