Edit

Share via


KfReleaseSpinLock function (wdm.h)

The KfReleaseSpinLock routine releases a spin lock and restores the original IRQL at which the caller was running.

Syntax

void KfReleaseSpinLock(
  PKSPIN_LOCK SpinLock,
  KIRQL       NewIrql
);

Parameters

SpinLock

Pointer to a KSPIN_LOCK spin lock for which the caller provides the storage.

NewIrql

Specifies the KIRQL value saved from the preceding call to KfAcquireSpinLock.

Return value

None

Remarks

For more information about spin locks, see Spin Locks.

Requirements

Requirement Value
Header wdm.h (include Wdm.h)
DLL hal.dll
DDI compliance rules HwStorPortProhibitedDDIs(storport)

See also