// ndis.h
VOID NdisFreeSpinLock(
[in] PNDIS_SPIN_LOCK SpinLock
);
View the official Windows Driver Kit DDI referenceNo description available.
The NdisFreeSpinLock function releases a spin lock initialized in a preceding call to the NdisAllocateSpinLock function.
SpinLock [in]Pointer to the spin lock to be deinitialized.
If the caller of NdisFreeSpinLock needs to use the spin lock again, it must call NdisAllocateSpinLock before passing that spin lock pointer to any of the Ndis..SpinLock or NdisInterlocked*Xxx* functions.
Callers of NdisFreeSpinLock can run at any IRQL. Usually, this function is not called until a driver is unloading.