KeReleaseSpinLockForDpc - NtDoc

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

VOID KeReleaseSpinLockForDpc(
  [in, out] PKSPIN_LOCK SpinLock,
  [in]      KIRQL       OldIrql
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

KeReleaseSpinLockForDpc function

Description

The KeReleaseSpinLockForDpc routine releases a spin lock that was acquired by calling KeAcquireSpinLockForDpc.

Parameters

SpinLock [in, out]

Pointer to the spin lock that KeAcquireSpinLockForDpc acquired.

OldIrql [in]

Specifies the IRQL that was current when the spin lock was acquired. Specify the value returned by KeAcquireSpinLockForDpc.

Remarks

For more information about spin locks, see Spin Locks.

If OldIrql = PASSIVE_LEVEL, KeReleaseSpinLockForDpc lowers the current IRQL to PASSIVE_LEVEL. If OldIrql = DISPATCH_LEVEL, KeReleaseSpinLockForDpc does not change the current IRQL.

See also

KeAcquireSpinLockForDpc