KeReleaseSpinLockFromDpcLevel - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdm.h

VOID KeReleaseSpinLockFromDpcLevel(
  [in, out] PKSPIN_LOCK SpinLock
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdm-kereleasespinlockfromdpclevel)

Description

The KeReleaseSpinLockFromDpcLevel routine releases an executive spin lock without changing the IRQL.

Parameters

SpinLock [in, out]

Pointer to an executive KSPIN_LOCK spin lock for which the caller provides the storage.

Remarks

Drivers call KeReleaseSpinLockFromDpcLevel to release a spin lock acquired by calling KeAcquireSpinLockAtDpcLevel.

It is an error to call KeReleaseSpinLockFromDpcLevel if the specified spin lock was acquired by calling KeAcquireSpinLock because the caller's original IRQL is not restored, which can cause deadlocks or fatal page faults.

For more information about spin locks, see Spin Locks.

See also

KeAcquireInStackQueuedSpinLockAtDpcLevel

KeAcquireSpinLock

KeAcquireSpinLockAtDpcLevel

KefReleaseSpinLockFromDpcLevel

KeInitializeSpinLock

KeReleaseSpinLock

KeTryToAcquireSpinLockAtDpcLevel

Spin Locks