ntdll: Fix the SYSTEM_CACHE_INFORMATION structure definition.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2021-08-02 14:53:11 +02:00
parent 1c2b728ae3
commit 37ed43a171
2 changed files with 8 additions and 9 deletions

View File

@ -869,7 +869,6 @@ static void test_query_cache(void)
ULONG expected;
INT i;
/* the large SYSTEM_CACHE_INFORMATION on WIN64 is not documented */
expected = sizeof(SYSTEM_CACHE_INFORMATION);
for (i = sizeof(buffer); i>= expected; i--)
{

View File

@ -2444,15 +2444,15 @@ typedef struct _SYSTEM_HANDLE_INFORMATION_EX
/* System Information Class 0x15 */
typedef struct _SYSTEM_CACHE_INFORMATION {
ULONG CurrentSize;
ULONG PeakSize;
SIZE_T CurrentSize;
SIZE_T PeakSize;
ULONG PageFaultCount;
ULONG MinimumWorkingSet;
ULONG MaximumWorkingSet;
ULONG unused[4];
#ifdef _WIN64
ULONG unknown64[7];
#endif
SIZE_T MinimumWorkingSet;
SIZE_T MaximumWorkingSet;
SIZE_T CurrentSizeIncludingTransitionInPages;
SIZE_T PeakSizeIncludingTransitionInPages;
ULONG TransitionRePurposeCount;
ULONG Flags;
} SYSTEM_CACHE_INFORMATION, *PSYSTEM_CACHE_INFORMATION;
/* System Information Class 0x17 */