Skip to content

Commit

Permalink
first pass (#1133)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxbelanger authored and giampaolo committed Sep 28, 2017
1 parent 9632fb1 commit cbbf1bd
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions psutil/arch/windows/ntextapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,15 @@ typedef enum _KWAIT_REASON {
} KWAIT_REASON, *PKWAIT_REASON;


typedef struct _CLIENT_ID {
typedef struct _CLIENT_ID2 {
HANDLE UniqueProcess;
HANDLE UniqueThread;
} CLIENT_ID, *PCLIENT_ID;
} CLIENT_ID2, *PCLIENT_ID2;

#define CLIENT_ID CLIENT_ID2
#define PCLIENT_ID PCLIENT_ID2

typedef struct _SYSTEM_THREAD_INFORMATION {
typedef struct _SYSTEM_THREAD_INFORMATION2 {
LARGE_INTEGER KernelTime;
LARGE_INTEGER UserTime;
LARGE_INTEGER CreateTime;
Expand All @@ -181,8 +183,10 @@ typedef struct _SYSTEM_THREAD_INFORMATION {
ULONG ContextSwitches;
ULONG ThreadState;
KWAIT_REASON WaitReason;
} SYSTEM_THREAD_INFORMATION, *PSYSTEM_THREAD_INFORMATION;
} SYSTEM_THREAD_INFORMATION2, *PSYSTEM_THREAD_INFORMATION2;

#define SYSTEM_THREAD_INFORMATION SYSTEM_THREAD_INFORMATION2
#define PSYSTEM_THREAD_INFORMATION PSYSTEM_THREAD_INFORMATION2

typedef struct _TEB *PTEB;

Expand Down

0 comments on commit cbbf1bd

Please sign in to comment.