VOID
KeReleaseSpinLock(
IN PKSPIN_LOCK SpinLock,
IN KIRQL NewIrql
);
KeReleaseSpinLock releases a spin lock and restores the original IRQL at which the caller was running.
This call is a reciprocal to KeAcquireSpinLock. The input NewIrql value must be the OldIrql returned by KeAcquireSpinLock.
Callers of this routine are running at IRQL DISPATCH_LEVEL. On return from KeReleaseSpinLock, IRQL is restored to the NewIrql value.