KeReleaseInStackQueuedSpinLock function (wdm.h)
The KeReleaseInStackQueuedSpinLock routine releases a queued spin lock acquired by KeAcquireInStackQueuedSpinLock.
C++
void KeReleaseInStackQueuedSpinLock(
[in] PKLOCK_QUEUE_HANDLE LockHandle
);
[in] LockHandle
Specifies the queued spin lock handle initialized by the call to KeAcquireInStackQueuedSpinLock that acquired the lock.
None
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.
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) |