mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 21:51:47 +00:00
[PSDK][NDK] Update SYSTEM_PERFORMANCE_INFORMATION definition with Win7+ members.
See https://www.geoffchappell.com/studies/windows/km/ntoskrnl/api/ex/sysinfo/performance.htm for more information.
This commit is contained in:
parent
d5707eefe2
commit
3bdc062fb9
2 changed files with 14 additions and 0 deletions
|
@ -841,6 +841,14 @@ typedef struct _SYSTEM_PERFORMANCE_INFORMATION
|
|||
ULONG FirstLevelTbFills;
|
||||
ULONG SecondLevelTbFills;
|
||||
ULONG SystemCalls;
|
||||
#if (NTDDI_VERSION >= NTDDI_WIN7)
|
||||
ULONGLONG CcTotalDirtyPages;
|
||||
ULONGLONG CcDirtyPageThreshold;
|
||||
#endif
|
||||
#if (NTDDI_VERSION >= NTDDI_WIN8)
|
||||
LONGLONG ResidentAvailablePages;
|
||||
ULONGLONG SharedCommittedPages;
|
||||
#endif
|
||||
} SYSTEM_PERFORMANCE_INFORMATION, *PSYSTEM_PERFORMANCE_INFORMATION;
|
||||
|
||||
// Class 3
|
||||
|
|
|
@ -490,7 +490,13 @@ typedef struct _SYSTEM_BASIC_INFORMATION
|
|||
|
||||
typedef struct _SYSTEM_PERFORMANCE_INFORMATION
|
||||
{
|
||||
#if (_WIN32_WINNT >= _WIN32_WINNT_WIN8)
|
||||
BYTE Reserved1[344];
|
||||
#elif (_WIN32_WINNT >= _WIN32_WINNT_WIN7)
|
||||
BYTE Reserved1[328];
|
||||
#else
|
||||
BYTE Reserved1[312];
|
||||
#endif
|
||||
} SYSTEM_PERFORMANCE_INFORMATION, *PSYSTEM_PERFORMANCE_INFORMATION;
|
||||
|
||||
typedef struct _SYSTEM_TIMEOFDAY_INFORMATION
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue