// wdm.h
VOID IoReleaseCancelSpinLock(
KIRQL Irql
);
View the official Windows Driver Kit DDI referenceNo description available.
The IoReleaseCancelSpinLock routine releases the cancel spin lock after the driver has changed the cancelable state of an IRP.
Irql[in] The IRQL to be restored. The caller obtained this IRQL in the previous call to the IoAcquireCancelSpinLock routine.
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.