Hardware Dev Center

Expand Minimize

KeReleaseInStackQueuedSpinLockForDpc routine

The KeReleaseInStackQueuedSpinLockForDpc routine releases a queued spin lock that was acquired by calling KeAcquireInStackQueuedSpinLockForDpc.

Syntax


VOID KeReleaseInStackQueuedSpinLockForDpc(
  _In_ PKLOCK_QUEUE_HANDLE LockHandle
);

Parameters

LockHandle [in]

Pointer to the KLOCK_QUEUE_HANDLE structure that KeAcquireInStackQueuedSpinLockForDpc initialized when the queued spin lock was acquired.

Return value

None

Remarks

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

If the current IRQL was PASSIVE_LEVEL when the queued spin lock was acquired, KeReleaseSpinLockForDpc lowers the current IRQL to PASSIVE_LEVEL. If the current IRQL was DISPATCH_LEVEL when the queued spin lock was acquired, KeReleaseSpinLockForDpc does not change the current IRQL.

Requirements

Target platform

Universal

Version

Available in Windows Vista and later versions of Windows.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

Library

NtosKrnl.lib

DLL

NtosKrnl.exe

IRQL

See Remarks section.

DDI compliance rules

HwStorPortProhibitedDDIs

See also

KLOCK_QUEUE_HANDLE
KeAcquireInStackQueuedSpinLockForDpc

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft