mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[XDK] Fix KWAIT_BLOCK definition for Win8+
This commit is contained in:
parent
8b8108ddee
commit
d176ddedd6
1 changed files with 15 additions and 0 deletions
|
@ -442,6 +442,20 @@ typedef enum _KWAIT_REASON {
|
|||
|
||||
typedef struct _KWAIT_BLOCK {
|
||||
LIST_ENTRY WaitListEntry;
|
||||
#if (NTDDI_VERSION >= NTDDI_WIN8)
|
||||
UCHAR WaitType;
|
||||
volatile UCHAR BlockState;
|
||||
USHORT WaitKey;
|
||||
#ifdef _WIN64
|
||||
LONG SpareLong;
|
||||
#endif
|
||||
union {
|
||||
struct _KTHREAD *Thread;
|
||||
struct _KQUEUE *NotificationQueue;
|
||||
};
|
||||
PVOID Object;
|
||||
PVOID SparePtr;
|
||||
#else
|
||||
struct _KTHREAD *Thread;
|
||||
PVOID Object;
|
||||
struct _KWAIT_BLOCK *NextWaitBlock;
|
||||
|
@ -455,6 +469,7 @@ typedef struct _KWAIT_BLOCK {
|
|||
#if defined(_WIN64)
|
||||
LONG SpareLong;
|
||||
#endif
|
||||
#endif
|
||||
} KWAIT_BLOCK, *PKWAIT_BLOCK, *PRKWAIT_BLOCK;
|
||||
|
||||
typedef enum _KINTERRUPT_MODE {
|
||||
|
|
Loading…
Reference in a new issue