KeReleaseInStackQueuedSpinLock function (wdm.h)

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

Syntax

void KeReleaseInStackQueuedSpinLock(
  [in] PKLOCK_QUEUE_HANDLE LockHandle
);

Parameters

[in] 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

Requirement Value
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 HwStorPortProhibitedDDIs(storport), MarkingQueuedIrps(wdm), QueuedSpinLock(storport), QueuedSpinLock(storport), QueuedSpinLock(wdm), QueuedSpinLockRelease(storport), QueuedSpinLockRelease(storport), QueuedSpinLockRelease(wdm)

See also

KLOCK_QUEUE_HANDLE

KeAcquireInStackQueuedSpinLock