Bewerken

Delen via


KeReleaseInStackQueuedSpinLockForDpc function (wdm.h)

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

Syntax

void KeReleaseInStackQueuedSpinLockForDpc(
  [in] PKLOCK_QUEUE_HANDLE LockHandle
);

Parameters

[in] LockHandle

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

Requirement Value
Minimum supported client Available in Windows Vista and later versions of Windows.
Target Platform Universal
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL See Remarks section.
DDI compliance rules HwStorPortProhibitedDDIs(storport)

See also

KLOCK_QUEUE_HANDLE

KeAcquireInStackQueuedSpinLockForDpc