Index: base/process_util.h |
diff --git a/base/process_util.h b/base/process_util.h |
index bd138982afb60f17fae6a024161fc02906061629..1303ef0307f1fd82511568ff1f997f3d657cde0a 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. |
Evan Martin
2012/01/27 16:17:41
I think we don't use any javadoc-style extraction
Jói
2012/02/10 09:11:57
Done.
|
+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); |