NdisDprReleaseSpinLock

VOID
   NdisDprReleaseSpinLock(

       IN PNDIS_SPIN_LOCK SpinLock
       );

NdisDprReleaseSpinLock releases a spin lock acquired in the immediately preceding call to NdisDprAcquireSpinLock.

Parameters

SpinLock

Points to the acquired spin lock to be released.

Comments

Release of the spin lock allows another driver function to use the resources the lock protects after that function acquires the spin lock.

A spin lock acquired with NdisDprAcquireSpinLock must be released with NdisDprReleaseSpinLock. A spin lock acquired with NdisAcquireSpinLock must be released with NdisReleaseSpinLock.

Callers of NdisDprReleaseSpinLock are running at IRQL DISPATCH_LEVEL.

See Also

NdisDprAcquireSpinLock