// wdfsync.h
VOID WdfSpinLockAcquire(
WDFSPINLOCK SpinLock
);
View the official Windows Driver Kit DDI reference
No description available.
The WdfSpinLockAcquire method acquires a specified spin lock.
SpinLock
A handle to a framework spin-lock object, obtained by a previous call to WdfSpinLockCreate.
The WdfSpinLockAcquire method returns after the specified spin lock has been acquired. For KMDF, the method returns at IRQL = DISPATCH_LEVEL. For UMDF, the method returns at passive. Your driver cannot call WdfSpinLockAcquire to acquire a spin lock that the driver has specified in a WDF_INTERRUPT_CONFIG structure. For more information about spin locks, see Using Framework Locks.
WdfSpinLockRelease rule (KMDF)