NdisDprReleaseSpinLock

This function releases a spin lock acquired in the preceding call to the NdisDprAcquireSpinLock function.

At a Glance

Header file: Ndis.h
Windows CE versions: 2.0 and later

Syntax

VOID NdisDprReleaseSpinLock( IN PNDIS_SPIN_LOCK SpinLock );

Parameters

SpinLock
Pointer to the acquired spin lock to be released.

Remarks

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.

See Also

NdisDprAcquireSpinLock