ntdll: Remove unnecessary NtQueryVirtualMemory call.
This commit is contained in:
parent
d81c4ce1ba
commit
fe880597a1
1 changed files with 0 additions and 4 deletions
|
@ -4255,14 +4255,10 @@ void loader_init( CONTEXT *context, void **entry )
|
|||
|
||||
if (!imports_fixup_done)
|
||||
{
|
||||
MEMORY_BASIC_INFORMATION meminfo;
|
||||
ANSI_STRING ctrl_routine = RTL_CONSTANT_STRING( "CtrlRoutine" );
|
||||
WINE_MODREF *kernel32;
|
||||
PEB *peb = NtCurrentTeb()->Peb;
|
||||
|
||||
NtQueryVirtualMemory( GetCurrentProcess(), LdrInitializeThunk, MemoryBasicInformation,
|
||||
&meminfo, sizeof(meminfo), NULL );
|
||||
|
||||
peb->LdrData = &ldr;
|
||||
peb->FastPebLock = &peb_lock;
|
||||
peb->TlsBitmap = &tls_bitmap;
|
||||
|
|
Loading…
Add table
Reference in a new issue