NdisDprReleaseSpinLock

NdisDprReleaseSpinLock releases a spin lock acquired in the immediately preceding call to NdisDprAcquireSpinLock. Because Windows CE does not support DPC IRQL, all NdisDprXXX functions perform identically to the non-DPR equivalent.

VOID NdisDprReleaseSpinLock(
  PNDIS_SPIN_LOCK SpinLock
);

Parameters

  • SpinLock
    [in] Pointer to the acquired spin lock to be released.

Return Values

None.

Remarks

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.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Ndis.h.

See Also

MiniportDisableInterrupt | MiniportISR | MiniportSynchronizeISR | NdisAcquireSpinLock | NdisAllocatePacket | NdisAllocatePacketPool | NdisAllocateSpinLock | NdisDprAcquireSpinLock | NdisDprAllocatePacket | NdisDprFreePacket | NdisDprAllocatePacketNonInterlocked | NdisDprReleaseSpinLock | NdisFreeBuffer | NdisFreePacket | NdisMSynchronizeWithInterrupt | NdisReleaseSpinLock

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.