- NDK fix: ImageUsesLargePages in PEB appeared in Windows 2003 already (confirmed with SP1 though).

svn path=/trunk/; revision=34134
This commit is contained in:
Aleksey Bragin 2008-06-27 17:26:10 +00:00
parent ff2f89953a
commit 0cac013600

View file

@ -575,13 +575,17 @@ typedef struct _PEB
UCHAR InheritedAddressSpace; UCHAR InheritedAddressSpace;
UCHAR ReadImageFileExecOptions; UCHAR ReadImageFileExecOptions;
UCHAR BeingDebugged; UCHAR BeingDebugged;
#if (NTDDI_VERSION >= NTDDI_LONGHORN) #if (NTDDI_VERSION >= NTDDI_WS03)
struct struct
{ {
UCHAR ImageUsesLargePages:1; UCHAR ImageUsesLargePages:1;
#if (NTDDI_VERSION >= NTDDI_LONGHORN)
UCHAR IsProtectedProcess:1; UCHAR IsProtectedProcess:1;
UCHAR IsLegacyProcess:1; UCHAR IsLegacyProcess:1;
UCHAR SpareBits:5; UCHAR SpareBits:5;
#else
UCHAR SpareBits:7;
#endif
}; };
#else #else
BOOLEAN SpareBool; BOOLEAN SpareBool;