NdisFreeSpinLock releases a spin lock initialized in a preceding call to NdisAllocateSpinLock.
VOID
NdisFreeSpinLock(
IN PNDIS_SPIN_LOCK SpinLock
);
Declared in Ndis.h. Include Ndis.h.
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 NdisInterlockedXxx functions.
Callers of NdisFreeSpinLock run at IRQL = PASSIVE_LEVEL. Usually, this function is not called until a driver is unloading.
MiniportHalt, NdisAcquireSpinLock, NdisAllocateSpinLock, NdisDprAcquireSpinLock, NdisDprReleaseSpinLock, NdisInterlockedAddUlong, NdisInterlockedInsertHeadList, NdisInterlockedInsertTailList, NdisInterlockedRemoveHeadList, NdisReleaseSpinLock