mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 09:13:01 +00:00
[RTL]: Follow what I guess might be Alex' coding standards.
svn path=/trunk/; revision=71819
This commit is contained in:
parent
2f20a38912
commit
342c539058
1 changed files with 7 additions and 1 deletions
|
@ -75,7 +75,7 @@ RtlpInitEnvironment(HANDLE ProcessHandle,
|
||||||
PVOID BaseAddress = NULL;
|
PVOID BaseAddress = NULL;
|
||||||
SIZE_T EnviroSize;
|
SIZE_T EnviroSize;
|
||||||
SIZE_T Size;
|
SIZE_T Size;
|
||||||
PWCHAR Environment = 0;
|
PWCHAR Environment = NULL;
|
||||||
DPRINT("RtlpInitEnvironment(ProcessHandle: %p, Peb: %p Params: %p)\n",
|
DPRINT("RtlpInitEnvironment(ProcessHandle: %p, Peb: %p Params: %p)\n",
|
||||||
ProcessHandle, Peb, ProcessParameters);
|
ProcessHandle, Peb, ProcessParameters);
|
||||||
|
|
||||||
|
@ -301,7 +301,9 @@ RtlCreateUserProcess(IN PUNICODE_STRING ImageFileName,
|
||||||
DUPLICATE_SAME_ACCESS |
|
DUPLICATE_SAME_ACCESS |
|
||||||
DUPLICATE_SAME_ATTRIBUTES);
|
DUPLICATE_SAME_ATTRIBUTES);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
|
{
|
||||||
_SEH2_LEAVE;
|
_SEH2_LEAVE;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ProcessParameters->StandardOutput)
|
if (ProcessParameters->StandardOutput)
|
||||||
|
@ -315,7 +317,9 @@ RtlCreateUserProcess(IN PUNICODE_STRING ImageFileName,
|
||||||
DUPLICATE_SAME_ACCESS |
|
DUPLICATE_SAME_ACCESS |
|
||||||
DUPLICATE_SAME_ATTRIBUTES);
|
DUPLICATE_SAME_ATTRIBUTES);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
|
{
|
||||||
_SEH2_LEAVE;
|
_SEH2_LEAVE;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ProcessParameters->StandardError)
|
if (ProcessParameters->StandardError)
|
||||||
|
@ -329,7 +333,9 @@ RtlCreateUserProcess(IN PUNICODE_STRING ImageFileName,
|
||||||
DUPLICATE_SAME_ACCESS |
|
DUPLICATE_SAME_ACCESS |
|
||||||
DUPLICATE_SAME_ATTRIBUTES);
|
DUPLICATE_SAME_ATTRIBUTES);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
|
{
|
||||||
_SEH2_LEAVE;
|
_SEH2_LEAVE;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
_SEH2_FINALLY
|
_SEH2_FINALLY
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue