diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-10-29 07:28:12 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-11-06 07:44:54 -0500 |
| commit | 18b438cf27a552e69e984bfee63187b6471682ab (patch) | |
| tree | 9738198af8236de09387699027ed5a36535561d0 /src/envmodule.cpp | |
| parent | bff5a22f48b933fe9eba3a15497882ddf2a03990 (diff) | |
split to getRunningUSVFSProcesses()
simplified waitForAllUSVFSProcesses() to always get the list of running processes after one process completes
Diffstat (limited to 'src/envmodule.cpp')
| -rw-r--r-- | src/envmodule.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/envmodule.cpp b/src/envmodule.cpp index abbe02e5..160a54fa 100644 --- a/src/envmodule.cpp +++ b/src/envmodule.cpp @@ -511,4 +511,10 @@ DWORD getProcessParentID(DWORD pid) return ppid; } + +DWORD getProcessParentID(HANDLE handle) +{ + return getProcessParentID(GetProcessId(handle)); +} + } // namespace |
