RTL_PROCESS_LOCK_INFORMATION

The RTL_PROCESS_LOCK_INFORMATION structure is a recurring element in the RTL_PROCESS_LOCKS structure that a successful call to ZwQuerySystemInformation or NtQuerySystemInformation produces at the start of its output buffer when given the information class SystemLocksInformation (0x0C).

Documentation Status

The RTL_PROCESS_LOCK_INFORMATION structure is not documented.

Layout

The RTL_PROCESS_LOCK_INFORMATION is 0x24 or 0x30 bytes in 32-bit and 64-bit Windows, respectively.

Offset (x86) Offset (x64) Definition
0x00 0x00
PVOID Address;
0x04 0x08
USHORT Type;
0x06 0x0A
USHORT CreatorBackTraceIndex;
0x08 0x10
PVOID OwningThread;
0x0C 0x18
LONG LockCount;
0x10 0x1C
ULONG ContentionCount;
0x14 0x20
ULONG EntryCount;
0x18 0x24
LONG RecursionCount;
0x1C 0x28
ULONG NumberOfWaitingShared;
0x20 0x2C
ULONG NumberOfWaitingExclusive;