// ndis.h
VOID NdisFreeRWLock(
[in] PNDIS_RW_LOCK_EX Lock
);
View the official Windows Driver Kit DDI referenceNo description available.
The NdisFreeRWLock function frees a read/write lock that was previously allocated with the NdisAllocateRWLock function.
Lock [in]A pointer to an opaque NDIS_RW_LOCK_EX variable that represents a lock. The caller can use this lock to gain write or read access to resources that are shared among non-ISR driver threads.
NDIS drivers call the NdisFreeRWLock function to free the NDIS_RW_LOCK_EX structure and any associated resources that were previously allocated with the NdisAllocateRWLock function.
A driver must call the NdisReleaseRWLock function to release a read/write lock before it calls the NdisFreeRWLock function.