This function releases a spin lock acquired in the preceding call to the NdisDprAcquireSpinLock function.
Header file: | Ndis.h |
Windows CE versions: | 2.0 and later |
VOID NdisDprReleaseSpinLock( IN PNDIS_SPIN_LOCK SpinLock );
In Windows CE, NDIS spinlocks are implemented using critical sections.
Release of the spin lock allows another driver function to use the resources that the lock protects after that function acquires the spin lock.
A spin lock acquired with NdisDprAcquireSpinLock must be released with this function. A spin lock acquired with the NdisAcquireSpinLock function must be released with the NdisReleaseSpinLock function.
A driver that calls this function is running at IRQL DISPATCH_LEVEL.