NdisFreeSpinLock - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ndis.h

VOID NdisFreeSpinLock(
  [in] PNDIS_SPIN_LOCK SpinLock
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ndis-ndisfreespinlock)

NdisFreeSpinLock function

Description

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

Parameters

SpinLock [in]

Pointer to the spin lock to be deinitialized.

Remarks

If the caller of NdisFreeSpinLock needs to use the spin lock again, it must call NdisAllocateSpinLock before passing that spin lock pointer to any of the Ndis..SpinLock or NdisInterlocked*Xxx* functions.

Callers of NdisFreeSpinLock can run at any IRQL. Usually, this function is not called until a driver is unloading.

See also

MiniportHaltEx

NdisAcquireSpinLock

NdisAllocateSpinLock

NdisDprAcquireSpinLock

NdisDprReleaseSpinLock

NdisInterlockedAddUlong

NdisInterlockedInsertHeadList

NdisInterlockedInsertTailList

NdisInterlockedRemoveHeadList

NdisReleaseSpinLock