IoReleaseVpbSpinLock - NtDoc

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

VOID IoReleaseVpbSpinLock(
  [in] KIRQL Irql
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ntifs-ioreleasevpbspinlock)

IoReleaseVpbSpinLock function

Description

The IoReleaseVpbSpinLock routine releases the Volume Parameter Block (VPB) spin lock.

Parameters

Irql [in]

Saved IRQL value returned by IoAcquireVpbSpinLock when the VPB spin lock was acquired.

Remarks

This routine is the reciprocal to IoAcquireVpbSpinLock. Every successful call to IoAcquireVpbSpinLock must be matched by a subsequent call to IoReleaseVpbSpinLock.

Before using IoAcquireVpbSpinLock and IoReleaseVpbSpinLock, driver writers are strongly encouraged to study the way these routines are used in the FASTFAT sample.

The holder of the VPB spin lock executes at IRQL DISPATCH_LEVEL after calling IoAcquireVpbSpinLock. IoReleaseVpbSpinLock restores the caller's original IRQL.

See also

IoAcquireVpbSpinLock