Share via


NdisFreeSpinLock (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

VOIDNdisFreeSpinLock(
  PNDIS_SPIN_LOCK SpinLock
);

Parameters

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

Return Value

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

Header ndis.h
Library ndis.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

NDIS Library Functions
NdisAcquireSpinLock
NdisAllocateSpinLock
NdisDprAcquireSpinLock
NdisDprReleaseSpinLock
NdisReleaseSpinLock