NdisReleaseSpinLock (Compact 2013)
3/26/2014
This function releases a spin lock that was acquired in a preceding call to the NdisAcquireSpinLock function.
Syntax
VOID NdisReleaseSpinLock(
PNDIS_SPIN_LOCK SpinLock
);
Parameters
- SpinLock
[in] Pointer to the acquired spin lock to be released.
Return Value
None.
Remarks
A driver must initialize its spin lock with the NdisAllocateSpinLock function before it calls any other NdisXXXSpinLock function to access the resources that are protected by that spin lock.
A driver must call the NdisAcquireSpinLock function to acquire the spin lock before it can call this function. Each call to NdisAcquireSpinLock requires a reciprocal call to this function before the driver can call NdisAcquireSpinLock again.
Any spin lock acquired with NdisAcquireSpinLock must be released with this function. Any spin lock acquired with the NdisDprAcquireSpinLock function must be released with the NdisDprReleaseSpinLock function.
Requirements
Header |
ndis.h |
See Also
Reference
NDIS Spin Lock Interface
NdisAcquireSpinLock
NdisDprAcquireSpinLock
NdisDprReleaseSpinLock
NdisAllocateSpinLock