Author: pschweitzer
Date: Wed Oct 30 10:48:29 2013
New Revision: 60792
URL:
http://svn.reactos.org/svn/reactos?rev=60792&view=rev
Log:
[PSDK]
- Fix definition of PROCESS_MEMORY_COUNTERS
- Add defintion for PROCESS_MEMORY_COUNTERS_EX
Modified:
trunk/reactos/include/psdk/psapi.h
Modified: trunk/reactos/include/psdk/psapi.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/psapi.h?rev=6…
==============================================================================
--- trunk/reactos/include/psdk/psapi.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/psapi.h [iso-8859-1] Wed Oct 30 10:48:29 2013
@@ -37,15 +37,29 @@
typedef struct _PROCESS_MEMORY_COUNTERS {
DWORD cb;
DWORD PageFaultCount;
- DWORD PeakWorkingSetSize;
- DWORD WorkingSetSize;
- DWORD QuotaPeakPagedPoolUsage;
- DWORD QuotaPagedPoolUsage;
- DWORD QuotaPeakNonPagedPoolUsage;
- DWORD QuotaNonPagedPoolUsage;
- DWORD PagefileUsage;
- DWORD PeakPagefileUsage;
-} PROCESS_MEMORY_COUNTERS,*PPROCESS_MEMORY_COUNTERS;
+ SIZE_T PeakWorkingSetSize;
+ SIZE_T WorkingSetSize;
+ SIZE_T QuotaPeakPagedPoolUsage;
+ SIZE_T QuotaPagedPoolUsage;
+ SIZE_T QuotaPeakNonPagedPoolUsage;
+ SIZE_T QuotaNonPagedPoolUsage;
+ SIZE_T PagefileUsage;
+ SIZE_T PeakPagefileUsage;
+} PROCESS_MEMORY_COUNTERS, *PPROCESS_MEMORY_COUNTERS;
+
+typedef struct _PROCESS_MEMORY_COUNTERS_EX {
+ DWORD cb;
+ DWORD PageFaultCount;
+ SIZE_T PeakWorkingSetSize;
+ SIZE_T WorkingSetSize;
+ SIZE_T QuotaPeakPagedPoolUsage;
+ SIZE_T QuotaPagedPoolUsage;
+ SIZE_T QuotaPeakNonPagedPoolUsage;
+ SIZE_T QuotaNonPagedPoolUsage;
+ SIZE_T PagefileUsage;
+ SIZE_T PeakPagefileUsage;
+ SIZE_T PrivateUsage;
+} PROCESS_MEMORY_COUNTERS_EX, *PPROCESS_MEMORY_COUNTERS_EX;
typedef struct _PERFORMANCE_INFORMATION {
DWORD cb;