mirror of
https://github.com/reactos/reactos.git
synced 2024-10-15 13:45:58 +00:00
parent
9705ebf7f4
commit
6ccaee160f
|
@ -1767,7 +1767,7 @@ LoaderScan:
|
||||||
NtHeader->OptionalHeader.AddressOfEntryPoint);
|
NtHeader->OptionalHeader.AddressOfEntryPoint);
|
||||||
LdrEntry->SizeOfImage = DriverSize;
|
LdrEntry->SizeOfImage = DriverSize;
|
||||||
LdrEntry->CheckSum = NtHeader->OptionalHeader.CheckSum;
|
LdrEntry->CheckSum = NtHeader->OptionalHeader.CheckSum;
|
||||||
LdrEntry->SectionPointer = LdrEntry;
|
LdrEntry->SectionPointer = NULL; // ?
|
||||||
|
|
||||||
/* Now write the DLL name */
|
/* Now write the DLL name */
|
||||||
LdrEntry->BaseDllName.Buffer = (PVOID)(LdrEntry + 1);
|
LdrEntry->BaseDllName.Buffer = (PVOID)(LdrEntry + 1);
|
||||||
|
|
Loading…
Reference in a new issue