2011-03-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>

* include/winbase.h (PSAPI_WORKING_SET_BLOCK,
        PSAPI_WORKING_SET_INFORMATION): Define.
This commit is contained in:
Chris Sutcliffe 2011-03-05 20:29:08 +00:00
parent ad41401c69
commit 174cb44b90
2 changed files with 21 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2011-03-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/winbase.h (PSAPI_WORKING_SET_BLOCK,
PSAPI_WORKING_SET_INFORMATION): Define.
2011-03-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/winbase.h (__GNUC_EXTENSION): Define, replacing __MINGW_EXTENSION.

View File

@ -2647,6 +2647,22 @@ 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