mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 07:02:56 +00:00
[KERNEL32] CreateProcessInternalW(): Always use Peb variable
Trivial consistency/optimization.
Addendum to d81cd01
(r59637).
This commit is contained in:
parent
5645f7cf8f
commit
8888311452
1 changed files with 1 additions and 1 deletions
|
@ -3555,7 +3555,7 @@ StartScan:
|
||||||
|
|
||||||
/* If the process is being debugged, only read IFEO if the PEB says so */
|
/* If the process is being debugged, only read IFEO if the PEB says so */
|
||||||
if (!(dwCreationFlags & (DEBUG_PROCESS | DEBUG_ONLY_THIS_PROCESS)) ||
|
if (!(dwCreationFlags & (DEBUG_PROCESS | DEBUG_ONLY_THIS_PROCESS)) ||
|
||||||
(NtCurrentPeb()->ReadImageFileExecOptions))
|
(Peb->ReadImageFileExecOptions))
|
||||||
{
|
{
|
||||||
/* Let's do this! Attempt to open IFEO */
|
/* Let's do this! Attempt to open IFEO */
|
||||||
IFEOStatus = LdrOpenImageFileOptionsKey(&PathName, 0, &KeyHandle);
|
IFEOStatus = LdrOpenImageFileOptionsKey(&PathName, 0, &KeyHandle);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue