Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Unified Diff: third_party/psutil/psutil/arch/mswindows/process_info.h

Issue 6246123: Moving psutil to third_party. This is first step for Media Performance test project. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: modification based on code review's comments Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/psutil/psutil/arch/mswindows/process_info.h
diff --git a/third_party/psutil/psutil/arch/mswindows/process_info.h b/third_party/psutil/psutil/arch/mswindows/process_info.h
new file mode 100644
index 0000000000000000000000000000000000000000..9bce0f2045d8c17cbdc82d5239ce040a8f3f1608
--- /dev/null
+++ b/third_party/psutil/psutil/arch/mswindows/process_info.h
@@ -0,0 +1,24 @@
+/*
+ * $Id: process_info.h 779 2010-11-08 20:34:16Z g.rodola $
+ *
+ * Helper functions related to fetching process information. Used by _psutil_mswindows
+ * module methods.
+ */
+
+#include <Python.h>
+#include <windows.h>
+
+PyObject * NoSuchProcess(void);
+PyObject * AccessDenied(void);
+HANDLE handle_from_pid_waccess(DWORD pid, DWORD dwDesiredAccess);
+HANDLE handle_from_pid(DWORD pid);
+PVOID GetPebAddress(HANDLE ProcessHandle);
+HANDLE handle_from_pid(DWORD pid);
+BOOL is_running(HANDLE hProcess);
+int pid_in_proclist(DWORD pid);
+int pid_is_running(DWORD pid);
+int is_system_proc(DWORD pid);
+PyObject* get_arg_list(long pid);
+PyObject* get_ppid(long pid);
+PyObject* get_name(long pid);
+DWORD* get_pids(DWORD *numberOfReturnedPIDs);
« no previous file with comments | « third_party/psutil/psutil/arch/mswindows/process_handles.c ('k') | third_party/psutil/psutil/arch/mswindows/process_info.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698