summaryrefslogtreecommitdiffstats
path: root/base/process_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/process_util.h')
-rw-r--r--base/process_util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/base/process_util.h b/base/process_util.h
index f00016e..4cadafc 100644
--- a/base/process_util.h
+++ b/base/process_util.h
@@ -61,6 +61,9 @@ int GetCurrentProcId();
// Returns the ProcessHandle of the current process.
ProcessHandle GetCurrentProcessHandle();
+// Closes given process handle. Returns true on success.
+bool CloseProcessHandle(ProcessHandle process);
+
// Returns the unique ID for the specified process. This is functionally the
// same as Windows' GetProcessId(), but works on versions of Windows before
// Win XP SP1 as well.