// wdm.h
VOID KfReleaseSpinLock(
PKSPIN_LOCK SpinLock,
KIRQL NewIrql
);
View the official Windows Driver Kit DDI referenceNo description available.
The KfReleaseSpinLock routine releases a spin lock and restores the original IRQL at which the caller was running.
SpinLockPointer to a KSPIN_LOCK spin lock for which the caller provides the storage.
NewIrqlSpecifies the KIRQL value saved from the preceding call to KfAcquireSpinLock.
For more information about spin locks, see Spin Locks.