Share via


énumération STOR_SPINLOCK (storport.h)

L’énumération STOR_SPINLOCK est utilisée pour spécifier le type d’un verrouillage tournant.

Syntax

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

Constantes

 
InvalidLock
Indique un verrouillage tournant non valide. Cette valeur ne doit jamais être utilisée.
DpcLock
Indique un verrouillage tournant DPC.
StartIoLock
Indique un verrouillage tournant StartIo.
InterruptLock
Indique un verrouillage tournant d’interruption.
ThreadedDpcLock
Indique un verrouillage tournant DPC threadé.
DpcLevelLock
Indique un verrouillage tournant qui doit être utilisé lorsque le niveau IRQL est déjà au niveau DPC.

Remarques

StorPortAcquireSpinLockEx prend en charge tous les types de verrouillage tournant. StorPortAcquireSpinLock prend uniquement en charge : DpcLock, StartIoLock et InterruptLock.

Configuration requise

Condition requise Valeur
En-tête storport.h (inclure Storport.h)

Voir aussi

StorPortAcquireSpinLock

StorPortAcquireSpinLockEx