[SDK] Allow use of SYSTEM_MEMORY_LIST_INFORMATION in kernel code

This commit is contained in:
Andrew Boyarshin 2018-11-25 14:45:16 +07:00 committed by Colin Finck
parent 8bc141a9ad
commit 8c710dc518

View file

@ -1511,23 +1511,23 @@ typedef struct _SYSTEM_FIRMWARE_TABLE_INFORMATION
UCHAR TableBuffer[1]; UCHAR TableBuffer[1];
} SYSTEM_FIRMWARE_TABLE_INFORMATION, *PSYSTEM_FIRMWARE_TABLE_INFORMATION; } SYSTEM_FIRMWARE_TABLE_INFORMATION, *PSYSTEM_FIRMWARE_TABLE_INFORMATION;
#endif // !NTOS_MODE_USER
// //
// Class 81 // Class 80
// //
typedef struct _SYSTEM_MEMORY_LIST_INFORMATION typedef struct _SYSTEM_MEMORY_LIST_INFORMATION
{ {
SIZE_T ZeroPageCount; SIZE_T ZeroPageCount;
SIZE_T FreePageCount; SIZE_T FreePageCount;
SIZE_T ModifiedPageCount; SIZE_T ModifiedPageCount;
SIZE_T ModifiedNoWritePageCount; SIZE_T ModifiedNoWritePageCount;
SIZE_T BadPageCount; SIZE_T BadPageCount;
SIZE_T PageCountByPriority[8]; SIZE_T PageCountByPriority[8];
SIZE_T RepurposedPagesByPriority[8]; SIZE_T RepurposedPagesByPriority[8];
SIZE_T ModifiedPageCountPageFile; SIZE_T ModifiedPageCountPageFile;
} SYSTEM_MEMORY_LIST_INFORMATION, *PSYSTEM_MEMORY_LIST_INFORMATION; } SYSTEM_MEMORY_LIST_INFORMATION, *PSYSTEM_MEMORY_LIST_INFORMATION;
#endif // !NTOS_MODE_USER
#ifdef __cplusplus #ifdef __cplusplus
}; // extern "C" }; // extern "C"
#endif #endif