ntdll: Initialize the PEB LoaderLock pointer.

This commit is contained in:
Alexandre Julliard 2007-11-19 13:56:26 +01:00
parent 7f5757f683
commit 35c91324ea
1 changed files with 1 additions and 0 deletions

View File

@ -2296,6 +2296,7 @@ void WINAPI LdrInitializeThunk( ULONG unknown1, ULONG unknown2, ULONG unknown3,
exit(1);
}
peb->LoaderLock = &loader_section;
peb->ProcessParameters->ImagePathName = wm->ldr.FullDllName;
version_init( wm->ldr.FullDllName.Buffer );