NdisFreeSpinLock function (ndis.h)
The NdisFreeSpinLock function releases a spin lock initialized in a preceding call to the NdisAllocateSpinLock functioin.
Syntax
void NdisFreeSpinLock(
[in] PNDIS_SPIN_LOCK SpinLock
);
Parameters
[in] SpinLock
Pointer to the spin lock to be deinitialized.
Return value
None
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 NdisInterlockedXxx functions.
Callers of NdisFreeSpinLock can run at any IRQL. Usually, this function is not called until a driver is unloading.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Supported for NDIS 6.0 and NDIS 5.1 drivers (see NdisFreeSpinLock (NDIS 5.1)) in Windows Vista. Supported for NDIS 5.1 drivers (see NdisFreeSpinLock (NDIS 5.1)) in Windows XP. |
Target Platform | Universal |
Header | ndis.h (include Ndis.h) |
Library | Ndis.lib |
IRQL | Any level (see Remarks section) |
See also
NdisInterlockedInsertHeadList NdisInterlockedInsertTailList NdisInterlockedRemoveHeadListFeedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for