mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
Don't include NEVER_LOAD sections in image size.
Rename SizeOfImage to ResidentSize to avoid confusion svn path=/trunk/; revision=13477
This commit is contained in:
@@ -59,7 +59,7 @@ typedef struct _LDR_MODULE
|
||||
LIST_ENTRY InInitializationOrderModuleList; /* not used */
|
||||
PVOID BaseAddress;
|
||||
ULONG EntryPoint;
|
||||
ULONG SizeOfImage;
|
||||
ULONG ResidentSize;
|
||||
UNICODE_STRING FullDllName;
|
||||
UNICODE_STRING BaseDllName;
|
||||
ULONG Flags;
|
||||
@@ -92,6 +92,9 @@ LdrpLoadUserModuleSymbols(PLDR_MODULE LdrModule);
|
||||
|
||||
#endif
|
||||
|
||||
ULONG
|
||||
LdrpGetResidentSize(PIMAGE_NT_HEADERS NTHeaders);
|
||||
|
||||
PEPFUNC LdrPEStartup (PVOID ImageBase,
|
||||
HANDLE SectionHandle,
|
||||
PLDR_MODULE* Module,
|
||||
|
||||
Reference in New Issue
Block a user