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.

55 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. DATAPAGE.h
  5. Abstract:
  6. Header file for the Windows NT Operating System Pagefile
  7. Performance counters.
  8. This file contains definitions to construct the dynamic data
  9. which is returned by the Configuration Registry. Data from
  10. various system API calls is placed into the structures shown
  11. here.
  12. Author:
  13. Bob Watson 28-Oct-1996
  14. Revision History:
  15. --*/
  16. #ifndef _DATAPAGE_H_
  17. #define _DATAPAGE_H_
  18. //
  19. // Pagefile performance object
  20. //
  21. typedef struct _PAGEFILE_DATA_DEFINITION {
  22. PERF_OBJECT_TYPE PagefileObjectType;
  23. PERF_COUNTER_DEFINITION cdPercentInUse;
  24. PERF_COUNTER_DEFINITION cdPercentInUseBase;
  25. PERF_COUNTER_DEFINITION cdPeakUsage;
  26. PERF_COUNTER_DEFINITION cdPeakUsageBase;
  27. } PAGEFILE_DATA_DEFINITION, * PPAGEFILE_DATA_DEFINITION;
  28. typedef struct _PAGEFILE_COUNTER_DATA {
  29. PERF_COUNTER_BLOCK CounterBlock;
  30. DWORD PercentInUse;
  31. DWORD PercentInUseBase;
  32. DWORD PeakUsage;
  33. DWORD PeakUsageBase;
  34. } PAGEFILE_COUNTER_DATA, *PPAGEFILE_COUNTER_DATA;
  35. extern PAGEFILE_DATA_DEFINITION PagefileDataDefinition;
  36. #endif //_DATAPAGE_H_
  37.