VOID
KeReleaseSpinLockFromDpcLevel(
IN PKSPIN_LOCK SpinLock
);
KeReleaseSpinLockFromDpcLevel releases an executive spin lock.
Drivers call KeReleaseSpinLockFromDpcLevel to release a spin lock acquired by calling KeAcquireSpinLockAtDpcLevel.
It is an error to call KeReleaseSpinLockFromDpcLevel if the given spin lock was acquired by calling KeAcquireSpinLock because the caller’s original IRQL is not restored, which can cause deadlocks or fatal page faults.
Callers of KeReleaseSpinLockAtDpcLevel must be running at IRQL DISPATCH_LEVEL.
KeAcquireSpinLock, KeAcquireSpinLockAtDpcLevel, KeReleaseSpinLock