// wdm.h
typedef struct _WAIT_CONTEXT_BLOCK {
union {
KDEVICE_QUEUE_ENTRY WaitQueueEntry;
struct {
LIST_ENTRY DmaWaitEntry;
ULONG NumberOfChannels;
ULONG SyncCallback : 1;
ULONG DmaContext : 1;
ULONG ZeroMapRegisters : 1;
ULONG Reserved : 9;
ULONG NumberOfRemapPages : 20;
};
};
PDRIVER_CONTROL DeviceRoutine;
PVOID DeviceContext;
ULONG NumberOfMapRegisters;
PVOID DeviceObject;
PVOID CurrentIrp;
PKDPC BufferChainingDpc;
} WAIT_CONTEXT_BLOCK, *PWAIT_CONTEXT_BLOCK;
View the official Windows Driver Kit DDI referenceNo description available.
Reserved. Do not use.
WaitQueueEntryReserved. Do not use.
DmaWaitEntryReserved. Do not use.
NumberOfChannelsReserved. Do not use.
SyncCallbackReserved. Do not use.
DmaContextReserved. Do not use.
ZeroMapRegistersReserved. Do not use.
ReservedReserved. Do not use.
NumberOfRemapPagesReserved. Do not use.
DeviceRoutineReserved. Do not use.
DeviceContextReserved. Do not use.
NumberOfMapRegistersReserved. Do not use.
DeviceObjectReserved. Do not use.
CurrentIrpReserved. Do not use.
BufferChainingDpcReserved. Do not use.