[ros-diffs] [fireball] 34134: - NDK fix: ImageUsesLargePages in PEB appeared in Windows 2003 already (confirmed with SP1 though).

fireball at svn.reactos.org fireball at svn.reactos.org
Fri Jun 27 19:26:10 CEST 2008


Author: fireball
Date: Fri Jun 27 12:26:10 2008
New Revision: 34134

URL: http://svn.reactos.org/svn/reactos?rev=34134&view=rev
Log:
- NDK fix: ImageUsesLargePages in PEB appeared in Windows 2003 already (confirmed with SP1 though).

Modified:
    trunk/reactos/include/ndk/pstypes.h

Modified: trunk/reactos/include/ndk/pstypes.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/pstypes.h?rev=34134&r1=34133&r2=34134&view=diff
==============================================================================
--- trunk/reactos/include/ndk/pstypes.h [iso-8859-1] (original)
+++ trunk/reactos/include/ndk/pstypes.h [iso-8859-1] Fri Jun 27 12:26:10 2008
@@ -575,13 +575,17 @@
     UCHAR InheritedAddressSpace;
     UCHAR ReadImageFileExecOptions;
     UCHAR BeingDebugged;
-#if (NTDDI_VERSION >= NTDDI_LONGHORN)
+#if (NTDDI_VERSION >= NTDDI_WS03)
     struct
     {
         UCHAR ImageUsesLargePages:1;
+    #if (NTDDI_VERSION >= NTDDI_LONGHORN)
         UCHAR IsProtectedProcess:1;
         UCHAR IsLegacyProcess:1;
         UCHAR SpareBits:5;
+    #else
+        UCHAR SpareBits:7;
+    #endif
     };
 #else
     BOOLEAN SpareBool;



More information about the Ros-diffs mailing list