NdisFreeSpinLock (NDIS 5.1) function
Note NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.
NdisFreeSpinLock releases a spin lock initialized in a preceding call to NdisAllocateSpinLock.
- 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 NdisInterlockedXxx functions.
Usually, this function is not called until a driver is unloading.