KeReleaseInStackQueuedSpinLock function

The KeReleaseInStackQueuedSpinLock routine releases a queued spin lock acquired by KeAcquireInStackQueuedSpinLock.

Syntax

void KeReleaseInStackQueuedSpinLock(
  PKLOCK_QUEUE_HANDLE LockHandle
);

Parameters

LockHandle

Specifies the queued spin lock handle initialized by the call to KeAcquireInStackQueuedSpinLock that acquired the lock.

Return Value

None

Remarks

This routine restores the original IRQL that the operating system saved at the beginning of the KeAcquireInStackQueuedSpinLock call.

For more information about queued spin locks, see Queued Spin Locks.

Use Hal.lib on 32-bit versions of Windows and Ntoskrnl.lib on 64-bit versions of Windows.

Requirements

   
Minimum supported client Available in Windows XP and later versions of Windows.
Target Platform Universal
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)
Library Hal.lib; Ntoskrnl.lib
DLL Hal.dll; Ntoskrnl.exe
IRQL DISPATCH_LEVEL (see Remarks section)
DDI compliance rules MarkingQueuedIrps, QueuedSpinLock, QueuedSpinLockRelease, HwStorPortProhibitedDDIs, QueuedSpinLock(storport), QueuedSpinLockRelease(storport)

See Also

KLOCK_QUEUE_HANDLE

KeAcquireInStackQueuedSpinLock