Index: base/process_util.h |
diff --git a/base/process_util.h b/base/process_util.h |
index bd138982afb60f17fae6a024161fc02906061629..8045c12a75f5d3f3ab6f5edf7ae4827a6cb9ff15 100644 |
--- a/base/process_util.h |
+++ b/base/process_util.h |
@@ -140,6 +140,11 @@ BASE_EXPORT ProcessId GetCurrentProcId(); |
// Returns the ProcessHandle of the current process. |
BASE_EXPORT ProcessHandle GetCurrentProcessHandle(); |
+#if defined(OS_WIN) |
+// Returns the module handle to which an address belongs. |
+BASE_EXPORT HMODULE GetModuleFromAddress(void* address); |
+#endif |
+ |
// Converts a PID to a process handle. This handle must be closed by |
// CloseProcessHandle when you are done with it. Returns true on success. |
BASE_EXPORT bool OpenProcessHandle(ProcessId pid, ProcessHandle* handle); |