https://git.reactos.org/?p=reactos.git;a=commitdiff;h=4b2665046d4a35aa3cd24…
commit 4b2665046d4a35aa3cd2497f6b19abc52381efa5
Author: Mark Jansen <mark.jansen(a)reactos.org>
AuthorDate: Sat Mar 28 16:30:42 2020 +0100
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Sun Mar 29 21:27:38 2020 +0200
[NDK] Ensure RTL_IMAGE_NT_HEADER_EX_FLAG_NO_RANGE_CHECK is available regardless of
NTOS_MODE_USER being defined.
CORE-14857
---
sdk/include/ndk/rtltypes.h | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/sdk/include/ndk/rtltypes.h b/sdk/include/ndk/rtltypes.h
index ee3206768e6..42178ec0f7a 100644
--- a/sdk/include/ndk/rtltypes.h
+++ b/sdk/include/ndk/rtltypes.h
@@ -290,11 +290,6 @@ C_ASSERT(HEAP_CREATE_VALID_MASK == 0x0007F0FF);
#define RTL_FIND_CHAR_IN_UNICODE_STRING_COMPLEMENT_CHAR_SET 2
#define RTL_FIND_CHAR_IN_UNICODE_STRING_CASE_INSENSITIVE 4
-//
-// RtlImageNtHeaderEx Flags
-//
-#define RTL_IMAGE_NT_HEADER_EX_FLAG_NO_RANGE_CHECK 0x00000001
-
//
// RtlDosApplyFileIsolationRedirection_Ustr Flags
//
@@ -354,6 +349,13 @@ C_ASSERT(HEAP_CREATE_VALID_MASK == 0x0007F0FF);
#define MESSAGE_RESOURCE_UNICODE 0x0001
#endif /* !NTOS_MODE_USER */
+
+//
+// RtlImageNtHeaderEx Flags
+//
+#define RTL_IMAGE_NT_HEADER_EX_FLAG_NO_RANGE_CHECK 0x00000001
+
+
#define MAXIMUM_LEADBYTES 12
//