diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2023-04-19 14:42:01 -0700 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2023-04-19 14:42:01 -0700 |
commit | 7389b4874d5685daa869eff6166dda7491a6ab10 (patch) | |
tree | 2ac4d1b4a38b6c61f282ca50f2e63e0c6dc37bb8 /psutil/arch/windows/proc_utils.h | |
parent | 08c24c0767a83faaa8fd9e1fb54723b6dc78f00c (diff) | |
parent | aeceeb74b7bdd2d6f5769f9dfcce9256ddd7832c (diff) | |
download | psutil-win-c-refact.tar.gz |
win, C, refact: rename process_*.c files to proc_*.cwin-c-refact
Diffstat (limited to 'psutil/arch/windows/proc_utils.h')
-rw-r--r-- | psutil/arch/windows/proc_utils.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/psutil/arch/windows/proc_utils.h b/psutil/arch/windows/proc_utils.h new file mode 100644 index 00000000..dca7c991 --- /dev/null +++ b/psutil/arch/windows/proc_utils.h @@ -0,0 +1,12 @@ +/* + * Copyright (c) 2009, Giampaolo Rodola'. All rights reserved. + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + +DWORD* psutil_get_pids(DWORD *numberOfReturnedPIDs); +HANDLE psutil_handle_from_pid(DWORD pid, DWORD dwDesiredAccess); +HANDLE psutil_check_phandle(HANDLE hProcess, DWORD pid, int check_exit_code); +int psutil_pid_is_running(DWORD pid); +int psutil_assert_pid_exists(DWORD pid, char *err); +int psutil_assert_pid_not_exists(DWORD pid, char *err); |