ntdll: Set a valid process title for the initial process.
This commit is contained in:
parent
2b99e1c17d
commit
28e1398237
|
@ -2639,6 +2639,8 @@ void WINAPI LdrInitializeThunk( void *kernel_start, ULONG_PTR unknown2,
|
|||
|
||||
peb->LoaderLock = &loader_section;
|
||||
peb->ProcessParameters->ImagePathName = wm->ldr.FullDllName;
|
||||
if (!peb->ProcessParameters->WindowTitle.Buffer)
|
||||
peb->ProcessParameters->WindowTitle = wm->ldr.FullDllName;
|
||||
version_init( wm->ldr.FullDllName.Buffer );
|
||||
|
||||
LdrQueryImageFileExecutionOptions( &peb->ProcessParameters->ImagePathName, globalflagW,
|
||||
|
|
Loading…
Reference in New Issue