Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Sutcliffe <ir0nh34d@users.sourceforge.net>2011-03-08 04:57:46 +0300
committerChris Sutcliffe <ir0nh34d@users.sourceforge.net>2011-03-08 04:57:46 +0300
commit6777e53972bd4587dca1d740a9b9e0622d5016ba (patch)
treee077cb2fc2015e419d7676a15a1da79015308a7e /winsup/w32api/include
parentec5563f3f49bdb5d868de27c1a4f137c2a1b4bbe (diff)
2011-03-07 Chris Sutcliffe <ir0nh34d@users.sf.net>
* include/winbase.h (PSAPI_WORKING_SET_BLOCK, PSAPI_WORKING_SET_INFORMATION): Move from here... * include/psapi.h (PSAPI_WORKING_SET_BLOCK, PSAPI_WORKING_SET_INFORMATION): ... to here.
Diffstat (limited to 'winsup/w32api/include')
-rw-r--r--winsup/w32api/include/psapi.h16
-rw-r--r--winsup/w32api/include/winbase.h16
2 files changed, 16 insertions, 16 deletions
diff --git a/winsup/w32api/include/psapi.h b/winsup/w32api/include/psapi.h
index ba08fa02a..cfde1d287 100644
--- a/winsup/w32api/include/psapi.h
+++ b/winsup/w32api/include/psapi.h
@@ -81,6 +81,22 @@ typedef struct _PERFORMANCE_INFORMATION {
DWORD ThreadCount;
} PERFORMANCE_INFORMATION, *PPERFORMANCE_INFORMATION;
+typedef union _PSAPI_WORKING_SET_BLOCK {
+ ULONG_PTR Flags;
+ struct {
+ ULONG_PTR Protection :5;
+ ULONG_PTR ShareCount :3;
+ ULONG_PTR Shared :1;
+ ULONG_PTR Reserved :3;
+ ULONG_PTR VirtualPage :20;
+ } ;
+} PSAPI_WORKING_SET_BLOCK, *PPSAPI_WORKING_SET_BLOCK;
+
+typedef struct _PSAPI_WORKING_SET_INFORMATION {
+ ULONG_PTR NumberOfEntries;
+ PSAPI_WORKING_SET_BLOCK WorkingSetInfo[1];
+} PSAPI_WORKING_SET_INFORMATION, *PPSAPI_WORKING_SET_INFORMATION;
+
/* Grouped by application,not in alphabetical order. */
BOOL WINAPI EnumProcesses(DWORD *,DWORD,DWORD *);
BOOL WINAPI EnumProcessModules(HANDLE,HMODULE *,DWORD,LPDWORD);
diff --git a/winsup/w32api/include/winbase.h b/winsup/w32api/include/winbase.h
index c09f2065b..acb90fa7c 100644
--- a/winsup/w32api/include/winbase.h
+++ b/winsup/w32api/include/winbase.h
@@ -2647,22 +2647,6 @@ typedef PCACTCTXA PCACTCTX;
#endif
#endif
-typedef union _PSAPI_WORKING_SET_BLOCK {
- ULONG_PTR Flags;
- struct {
- ULONG_PTR Protection :5;
- ULONG_PTR ShareCount :3;
- ULONG_PTR Shared :1;
- ULONG_PTR Reserved :3;
- ULONG_PTR VirtualPage :20;
- } ;
-} PSAPI_WORKING_SET_BLOCK, *PPSAPI_WORKING_SET_BLOCK;
-
-typedef struct _PSAPI_WORKING_SET_INFORMATION {
- ULONG_PTR NumberOfEntries;
- PSAPI_WORKING_SET_BLOCK WorkingSetInfo[1];
-} PSAPI_WORKING_SET_INFORMATION, *PPSAPI_WORKING_SET_INFORMATION;
-
#ifdef __cplusplus
}
#endif