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 dc9fcc2..1a50e4a 100644
--- a/base/process_util.h
+++ b/base/process_util.h
@@ -32,6 +32,9 @@ namespace process_util {
// Returns the id of the current process.
int GetCurrentProcId();
+// Returns the ProcessHandle of the current process.
+ProcessHandle GetCurrentProcessHandle();
+
// 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.