Sebastian Lackner : include: Fix definition of SECTION_BASIC_INFORMATION and SECTION_IMAGE_INFORMATION.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Mar 3 09:42:11 CST 2015
Module: wine
Branch: master
Commit: 72a41c50e2a049848a280090e525db14f623b56e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=72a41c50e2a049848a280090e525db14f623b56e
Author: Sebastian Lackner <sebastian at fds-team.de>
Date: Tue Mar 3 00:46:36 2015 +0100
include: Fix definition of SECTION_BASIC_INFORMATION and SECTION_IMAGE_INFORMATION.
Based on a patch by Dmitry Timoshkov.
---
include/winternl.h | 25 +++++++++++++++----------
1 file changed, 15 insertions(+), 10 deletions(-)
diff --git a/include/winternl.h b/include/winternl.h
index 1a694da..3992309 100644
--- a/include/winternl.h
+++ b/include/winternl.h
@@ -1792,23 +1792,28 @@ typedef enum _SECTION_INFORMATION_CLASS
} 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 ImageCharacteristics;
- ULONG ImageMachineType;
- ULONG Unknown2[3];
+ ULONG GpValue;
+ USHORT ImageCharacteristics;
+ 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 {
More information about the wine-cvs
mailing list