STOR_SPINLOCK enumeration (storport.h)

The STOR_SPINLOCK enumeration is used to specify the type of a spinlock.

Syntax

typedef enum _STOR_SPINLOCK {
  InvalidLock,
  DpcLock,
  StartIoLock,
  InterruptLock,
  ThreadedDpcLock,
  DpcLevelLock
} STOR_SPINLOCK;

Constants

 
InvalidLock
Indicates an invalid spinlock. This value should never be used.
DpcLock
Indicates a DPC spinlock.
StartIoLock
Indicates a StartIo spinlock.
InterruptLock
Indicates an Interrupt spinlock.
ThreadedDpcLock
Indicates a threaded DPC spinlock.
DpcLevelLock
Indicates a spinlock that is to be used when the IRQL level is already at DPC level.

Remarks

StorPortAcquireSpinLockEx supports all of the spinlock types. StorPortAcquireSpinLock only supports: DpcLock, StartIoLock, and InterruptLock.

Requirements

Requirement Value
Header storport.h (include Storport.h)

See also

StorPortAcquireSpinLock

StorPortAcquireSpinLockEx