Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Before calling any support routine that requires access to a caller-supplied executive spin lock, a driver must call KeInitializeSpinLock to initialize the corresponding executive spin lock. Support routines that require an initialized executive spin lock include the following instances:
KeAcquireSpinLock and then KeReleaseSpinLock
KeAcquireSpinLockAtDpcLevel and then KeReleaseSpinLockFromDpcLevel
KeAcquireInStackQueuedSpinLock and then KeReleaseInStackQueuedSpinLock
KeAcquireInStackQueuedSpinLockAtDpcLevel and then KeReleaseInStackQueuedSpinLockFromDpcLevel
An ExInterlockedXxx routine
Before a lowest-level driver calls IoConnectInterrupt and KeSynchronizeExecution, it must call KeInitializeSpinLock to initialize an interrupt spin lock for which it provides storage.