Allow using current argv for relaunch

This commit is contained in:
Cheng Zhao 2016-06-02 20:47:47 +09:00
parent 9a08cbce27
commit 8435f1c900
3 changed files with 18 additions and 3 deletions

View file

@ -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)) {