// storport.h
typedef enum _STOR_SPINLOCK {
InvalidLock,
DpcLock,
StartIoLock,
InterruptLock,
ThreadedDpcLock,
DpcLevelLock
} STOR_SPINLOCK;
View the official Windows Driver Kit DDI referenceNo description available.
The STOR_SPINLOCK enumeration is used to specify the type of a spinlock.
InvalidLockIndicates an invalid spinlock. This value should never be used.
DpcLockIndicates a DPC spinlock.
StartIoLockIndicates a StartIo spinlock.
InterruptLockIndicates an Interrupt spinlock.
ThreadedDpcLockIndicates a threaded DPC spinlock.
DpcLevelLockIndicates a spinlock that is to be used when the IRQL level is already at DPC level.
StorPortAcquireSpinLockEx supports all of the spinlock types. StorPortAcquireSpinLock only supports: DpcLock, StartIoLock, and InterruptLock.