diff options
Diffstat (limited to 'base/process_util_win.cc')
-rw-r--r-- | base/process_util_win.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/base/process_util_win.cc b/base/process_util_win.cc index e725e56..f1fd72c 100644 --- a/base/process_util_win.cc +++ b/base/process_util_win.cc @@ -33,10 +33,6 @@ ProcessHandle GetCurrentProcessHandle() { return ::GetCurrentProcess(); } -bool CloseProcessHandle(ProcessHandle process) { - return ::CloseHandle(process) ? true : false; -} - // Helper for GetProcId() bool GetProcIdViaGetProcessId(ProcessHandle process, DWORD* id) { // Dynamically get a pointer to GetProcessId(). @@ -192,7 +188,7 @@ bool DidProcessCrash(ProcessHandle handle) { // Warning, this is not generic code; it heavily depends on the way // the rest of the code kills a process. - + if (exitcode == PROCESS_END_NORMAL_TERMINATON || exitcode == PROCESS_END_KILLED_BY_USER || exitcode == PROCESS_END_PROCESS_WAS_HUNG || |