// wdm.h
VOID KeReleaseSpinLock(
PKSPIN_LOCK SpinLock,
KIRQL NewIrql
);
View the official Windows Driver Kit DDI reference
No description available.
The KeReleaseSpinLock routine releases a spin lock and restores the original IRQL at which the caller was running.
SpinLock
Pointer to a KSPIN_LOCK spin lock for which the caller provides the storage.
NewIrql
Specifies the KIRQL value saved from the preceding call to KeAcquireSpinLock.
This call is a reciprocal to KeAcquireSpinLock. The input NewIrql value must be the OldIrql returned by KeAcquireSpinLock.
For more information about spin locks, see Spin Locks.
Callers of this routine are running at IRQL = DISPATCH_LEVEL. On return from KeReleaseSpinLock, IRQL is restored to the NewIrql value.