Expand Minimize

KeReleaseInStackQueuedSpinLock routine

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

Syntax


VOID KeReleaseInStackQueuedSpinLock(
  _In_  PKLOCK_QUEUE_HANDLE LockHandle
);

Parameters

LockHandle [in]

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

Version

Available in Windows XP and later versions of Windows.

Header

Wdm.h (include Wdm.h, Ntddk.h, or 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

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft