IoReleaseCancelSpinLock - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdm.h

VOID IoReleaseCancelSpinLock(
  KIRQL Irql
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdm-ioreleasecancelspinlock)

Description

The IoReleaseCancelSpinLock routine releases the cancel spin lock after the driver has changed the cancelable state of an IRP.

Parameters

Irql

[in] The IRQL to be restored. The caller obtained this IRQL in the previous call to the IoAcquireCancelSpinLock routine.

Remarks

This routine is a reciprocal to IoAcquireCancelSpinLock.

This routine also releases the cancel spin lock from the driver's Cancel routine.

The holder of the cancel spin lock runs at IRQL = DISPATCH_LEVEL after calling IoAcquireCancelSpinLock. IoReleaseCancelSpinLock restores the original IRQL of the caller.

See also

IoAcquireCancelSpinLock

IoSetCancelRoutine