summaryrefslogtreecommitdiff
path: root/psutil/arch/windows/proc_handles.h
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2023-04-19 14:42:01 -0700
committerGiampaolo Rodola <g.rodola@gmail.com>2023-04-19 14:42:01 -0700
commit7389b4874d5685daa869eff6166dda7491a6ab10 (patch)
tree2ac4d1b4a38b6c61f282ca50f2e63e0c6dc37bb8 /psutil/arch/windows/proc_handles.h
parent08c24c0767a83faaa8fd9e1fb54723b6dc78f00c (diff)
parentaeceeb74b7bdd2d6f5769f9dfcce9256ddd7832c (diff)
downloadpsutil-win-c-refact.tar.gz
win, C, refact: rename process_*.c files to proc_*.cwin-c-refact
Diffstat (limited to 'psutil/arch/windows/proc_handles.h')
-rw-r--r--psutil/arch/windows/proc_handles.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/psutil/arch/windows/proc_handles.h b/psutil/arch/windows/proc_handles.h
new file mode 100644
index 00000000..d1be3152
--- /dev/null
+++ b/psutil/arch/windows/proc_handles.h
@@ -0,0 +1,10 @@
+/*
+ * Copyright (c) 2009, Jay Loden, 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.
+ */
+
+#include <Python.h>
+#include <windows.h>
+
+PyObject* psutil_get_open_files(DWORD pid, HANDLE hProcess);