Share via


NdisFreeSpinLock (Compact 2013)

3/26/2014

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 has 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

See Also

Reference

NDIS Spin Lock Interface
NdisAcquireSpinLock
NdisAllocateSpinLock
NdisDprAcquireSpinLock
NdisDprReleaseSpinLock
NdisReleaseSpinLock
NdisAcquireSpinLock
NdisInterlockedAddUlong
NdisInterlockedInsertHeadList
NdisInterlockedInsertTailList
NdisInterlockedRemoveHeadList