diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2020-01-03 09:56:22 -0800 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2020-01-03 09:56:22 -0800 |
commit | 11ba1c8e6e92e0fd5a04d03873c839766ec49401 (patch) | |
tree | 81950bd6abd48d7b01de97bf322e96d5e8c19a34 | |
parent | d9c84710c25255619ceb2f45bf527e1718c9517e (diff) | |
download | psutil-11ba1c8e6e92e0fd5a04d03873c839766ec49401.tar.gz |
win: move ObjectNameInformation in ntextapi.h
-rw-r--r-- | psutil/arch/windows/ntextapi.h | 1 | ||||
-rw-r--r-- | psutil/arch/windows/process_handles.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/psutil/arch/windows/ntextapi.h b/psutil/arch/windows/ntextapi.h index 6fa38edb..8db79d40 100644 --- a/psutil/arch/windows/ntextapi.h +++ b/psutil/arch/windows/ntextapi.h @@ -19,6 +19,7 @@ typedef LONG NTSTATUS; #define SystemExtendedHandleInformation 64 #define MemoryWorkingSetInformation 0x1 +#define ObjectNameInformation 1 /* * ================================================================ diff --git a/psutil/arch/windows/process_handles.c b/psutil/arch/windows/process_handles.c index 922631e8..8d909128 100644 --- a/psutil/arch/windows/process_handles.c +++ b/psutil/arch/windows/process_handles.c @@ -24,7 +24,6 @@ PUNICODE_STRING g_pNameBuffer = NULL; ULONG g_dwSize = 0; ULONG g_dwLength = 0; -#define ObjectNameInformation 1 #define NTQO_TIMEOUT 100 |