Share via


NdisFreeSpinLock

This function releases a spin lock initialized in a preceding call to the NdisAllocateSpinLock function.

VOIDNdisFreeSpinLock(
  PNDIS_SPIN_LOCK SpinLock
);

Parameters

  • SpinLock
    [in] Pointer to the spin lock to be de-initialized.

Return Values

None.

Remarks

If the caller of this function needs to use the spin lock again, it must call NdisAllocateSpinLock before passing that spin lock pointer to any of the NdisXXXSpinLock or NdisInterlockedXXX functions.

Requirements

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

See Also

NdisAcquireSpinLock | NdisAllocateSpinLock | NdisDprAcquireSpinLock | NdisDprReleaseSpinLock | NdisReleaseSpinLock

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.