https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8c710dc518f49c953a73b97b450d4ea24787ca1c

commit 8c710dc518f49c953a73b97b450d4ea24787ca1c
Author:     Andrew Boyarshin <andrew.boyars...@gmail.com>
AuthorDate: Sun Nov 25 14:45:16 2018 +0700
Commit:     Colin Finck <co...@reactos.org>
CommitDate: Fri Nov 30 10:21:12 2018 +0100

    [SDK] Allow use of SYSTEM_MEMORY_LIST_INFORMATION in kernel code
---
 sdk/include/ndk/extypes.h | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/sdk/include/ndk/extypes.h b/sdk/include/ndk/extypes.h
index adf1371500..5c3ba03659 100644
--- a/sdk/include/ndk/extypes.h
+++ b/sdk/include/ndk/extypes.h
@@ -1511,23 +1511,23 @@ typedef struct _SYSTEM_FIRMWARE_TABLE_INFORMATION
     UCHAR TableBuffer[1];
 } SYSTEM_FIRMWARE_TABLE_INFORMATION, *PSYSTEM_FIRMWARE_TABLE_INFORMATION;
 
+#endif // !NTOS_MODE_USER
+
 //
-// Class 81
+// Class 80
 //
 typedef struct _SYSTEM_MEMORY_LIST_INFORMATION
 {
-   SIZE_T ZeroPageCount;
-   SIZE_T FreePageCount;
-   SIZE_T ModifiedPageCount;
-   SIZE_T ModifiedNoWritePageCount;
-   SIZE_T BadPageCount;
-   SIZE_T PageCountByPriority[8];
-   SIZE_T RepurposedPagesByPriority[8];
-   SIZE_T ModifiedPageCountPageFile;
+    SIZE_T ZeroPageCount;
+    SIZE_T FreePageCount;
+    SIZE_T ModifiedPageCount;
+    SIZE_T ModifiedNoWritePageCount;
+    SIZE_T BadPageCount;
+    SIZE_T PageCountByPriority[8];
+    SIZE_T RepurposedPagesByPriority[8];
+    SIZE_T ModifiedPageCountPageFile;
 } SYSTEM_MEMORY_LIST_INFORMATION, *PSYSTEM_MEMORY_LIST_INFORMATION;
 
-#endif // !NTOS_MODE_USER
-
 #ifdef __cplusplus
 }; // extern "C"
 #endif

Reply via email to