Allow using current argv for relaunch
This commit is contained in:
parent
9a08cbce27
commit
8435f1c900
3 changed files with 18 additions and 3 deletions
|
@ -31,7 +31,7 @@ HANDLE GetParentProcessHandle(base::ProcessHandle handle) {
|
|||
}
|
||||
|
||||
PROCESS_BASIC_INFORMATION pbi;
|
||||
LONG status = NtQueryInformationProcess(
|
||||
LONG status = NtQueryInformationProcess(
|
||||
handle, ProcessBasicInformation,
|
||||
&pbi, sizeof(PROCESS_BASIC_INFORMATION), NULL);
|
||||
if (!NT_SUCCESS(status)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue