x64 / ntdllntoskrnl /

_ERESOURCE

← 10.0.28000.3231 22 builds latest →
struct _ERESOURCE {
short ActiveCount;/* 0x18 2 */
volatile unsigned char Flag;/* 0x1a 1 */
volatile unsigned char WaiterPriority;/* 0x1b 1 */
/* 4 bytes padding */
void* SharedWaiters;/* 0x20 8 */
void* ExclusiveWaiters;/* 0x28 8 */
/* ── cacheline 1 boundary (64 bytes) ── */
unsigned long ActiveEntries;/* 0x40 4 */
volatile unsigned long ContentionCount;/* 0x44 4 */
volatile unsigned long NumberOfSharedWaiters;/* 0x48 4 */
volatile unsigned long NumberOfExclusiveWaiters;/* 0x4c 4 */
volatile char MiscFlags;/* 0x50 1 */
unsigned char Reserved1[3];/* 0x51 3 */
unsigned long ResourceTimeoutCount;/* 0x54 4 */
union {
void* Address;/* 0x58 8 */
unsigned __int64 CreatorBackTraceIndex;/* 0x58 8 */
};/* 0x58 8 */
unsigned __int64 SpinLock;/* 0x60 8 */
};
size 104 (0x68)18 members1 hole (4 bytes)padding 02 cachelines
Used in (9)