STOR_SPINLOCK enumeration (storport.h)

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

Syntax

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

Constants

 
DpcLock
Value: 1
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