NdisFreeRWLock - NtDoc

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

VOID NdisFreeRWLock(
  [in] PNDIS_RW_LOCK_EX Lock
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

NdisFreeRWLock function

Description

The NdisFreeRWLock function frees a read/write lock that was previously allocated with the NdisAllocateRWLock function.

Parameters

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.

Remarks

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.

See also

NDIS_RW_LOCK_EX

NdisAllocateRWLock

NdisReleaseRWLock