https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a1ee35bdb225da2463ed1…
commit a1ee35bdb225da2463ed12dea7eca2e111d15840
Author: Serge Gautherie <reactos-git_serge_171003(a)gautherie.fr>
AuthorDate: Sun Sep 3 14:33:43 2023 +0200
Commit: Stanislav Motylkov <x86corez(a)gmail.com>
CommitDate: Sun Sep 10 13:30:11 2023 +0300
[NDK] mmtypes.h: Fix a copypasta in a comment
---
sdk/include/ndk/mmtypes.h | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/sdk/include/ndk/mmtypes.h b/sdk/include/ndk/mmtypes.h
index f33d5cc8b14..56e918d5c2f 100644
--- a/sdk/include/ndk/mmtypes.h
+++ b/sdk/include/ndk/mmtypes.h
@@ -79,6 +79,7 @@ extern "C" {
#define MEM_EXECUTE_OPTION_VALID_FLAGS 0x3F
#ifndef NTOS_MODE_USER
+
//
// Virtual Memory Flags
//
@@ -100,11 +101,13 @@ extern "C" {
#define SEC_NOCACHE 0x10000000
#define SEC_WRITECOMBINE 0x40000000
#define SEC_LARGE_PAGES 0x80000000
-#else
+
+#else // NTOS_MODE_USER
+
#define SEC_BASED 0x200000
//
-// Section Inherit Flags for NtCreateSection
+// Section Inherit Flags for NtMapViewOfSection
//
typedef enum _SECTION_INHERIT
{
@@ -139,7 +142,8 @@ typedef enum _POOL_TYPE
PagedPoolCacheAlignedSession,
NonPagedPoolCacheAlignedMustSSession
} POOL_TYPE;
-#endif
+
+#endif // NTOS_MODE_USER
//
// Memory Manager Page Lists
@@ -208,7 +212,6 @@ typedef enum _MI_VAD_TYPE
} MI_VAD_TYPE, *PMI_VAD_TYPE;
#ifdef NTOS_MODE_USER
-
//
// Virtual Memory Counters
//