Author: akhaldi
Date: Mon Mar 2 23:38:49 2015
New Revision: 66551
URL: http://svn.reactos.org/svn/reactos?rev=66551&view=rev
Log:
[PSDK] Fix winternl.h version of SECTION_IMAGE_INFORMATION and add missing MEM_EXECUTE_OPTION_DISABLE_THUNK_EMULATION definition.
Modified:
trunk/reactos/include/psdk/winternl.h
Modified: trunk/reactos/include/psdk/winternl.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/winternl.h?rev=66551&r1=66550&r2=66551&view=diff
==============================================================================
--- trunk/reactos/include/psdk/winternl.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/winternl.h [iso-8859-1] Mon Mar 2 23:38:49 2015
@@ -705,6 +705,7 @@
#define MEM_EXECUTE_OPTION_DISABLE 0x01
#define MEM_EXECUTE_OPTION_ENABLE 0x02
+#define MEM_EXECUTE_OPTION_DISABLE_THUNK_EMULATION 0x04
#define MEM_EXECUTE_OPTION_PERMANENT 0x08
typedef enum _SECTION_INHERIT {
@@ -1685,23 +1686,28 @@
} SECTION_INFORMATION_CLASS;
typedef struct _SECTION_BASIC_INFORMATION {
- ULONG BaseAddress;
+ PVOID BaseAddress;
ULONG Attributes;
LARGE_INTEGER Size;
} SECTION_BASIC_INFORMATION, *PSECTION_BASIC_INFORMATION;
typedef struct _SECTION_IMAGE_INFORMATION {
- PVOID EntryPoint;
- ULONG StackZeroBits;
- ULONG StackReserved;
- ULONG StackCommit;
- ULONG ImageSubsystem;
+ PVOID TransferAddress;
+ ULONG ZeroBits;
+ SIZE_T MaximumStackSize;
+ SIZE_T CommittedStackSize;
+ ULONG SubSystemType;
WORD SubsystemVersionLow;
WORD SubsystemVersionHigh;
- ULONG Unknown1;
+ ULONG GpValue;
ULONG ImageCharacteristics;
- ULONG ImageMachineType;
- ULONG Unknown2[3];
+ USHORT DllCharacteristics;
+ USHORT Machine;
+ BOOLEAN ImageContainsCode;
+ UCHAR ImageFlags;
+ ULONG LoaderFlags;
+ ULONG ImageFileSize;
+ ULONG CheckSum;
} SECTION_IMAGE_INFORMATION, *PSECTION_IMAGE_INFORMATION;
typedef struct _LPC_SECTION_WRITE {