Alexandre Julliard : include: Fix the PROCESS_MEMORY_COUNTERS structure definition for Win64.

Alexandre Julliard julliard at winehq.org
Mon Jan 5 10:24:35 CST 2009


Module: wine
Branch: master
Commit: b11507ebca583a8b707d5427164abd1034ac2a0e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b11507ebca583a8b707d5427164abd1034ac2a0e

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Jan  5 15:44:53 2009 +0100

include: Fix the PROCESS_MEMORY_COUNTERS structure definition for Win64.

---

 include/psapi.h |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/include/psapi.h b/include/psapi.h
index bb7d1cf..f031724 100644
--- a/include/psapi.h
+++ b/include/psapi.h
@@ -28,16 +28,16 @@ typedef struct _MODULEINFO {
 } MODULEINFO, *LPMODULEINFO;
 
 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;
+  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;
 } PROCESS_MEMORY_COUNTERS;
 typedef PROCESS_MEMORY_COUNTERS *PPROCESS_MEMORY_COUNTERS;
 




More information about the wine-cvs mailing list