OLD | NEW |
| (Empty) |
1 /* | |
2 * $Id: process_info.h 1142 2011-10-05 18:45:49Z g.rodola $ | |
3 * | |
4 * Copyright (c) 2009, Jay Loden, Giampaolo Rodola'. All rights reserved. | |
5 * Use of this source code is governed by a BSD-style license that can be | |
6 * found in the LICENSE file. | |
7 * | |
8 * Helper functions related to fetching process information. Used by _psutil_msw
indows | |
9 * module methods. | |
10 */ | |
11 | |
12 #include <Python.h> | |
13 #include <windows.h> | |
14 | |
15 HANDLE handle_from_pid_waccess(DWORD pid, DWORD dwDesiredAccess); | |
16 HANDLE handle_from_pid(DWORD pid); | |
17 PVOID GetPebAddress(HANDLE ProcessHandle); | |
18 HANDLE handle_from_pid(DWORD pid); | |
19 BOOL is_running(HANDLE hProcess); | |
20 int pid_in_proclist(DWORD pid); | |
21 int pid_is_running(DWORD pid); | |
22 PyObject* get_arg_list(long pid); | |
23 PyObject* get_ppid(long pid); | |
24 PyObject* get_name(long pid); | |
25 DWORD* get_pids(DWORD *numberOfReturnedPIDs); | |
OLD | NEW |