VOID
NdisFreeSharedMemory(
IN NDIS_HANDLE NdisAdapterHandle,
IN ULONG Length,
IN BOOLEAN Cached,
IN PVOID VirtualAddress,
IN NDIS_PHYSICAL_ADDRESS PhysicalAddress
);
NdisFreeSharedMemory is called by the NIC driver to free memory obtained with NdisAllocateSharedMemory.
Drivers usually call NdisFreeSharedMemory when they are unloading.
Callers of NdisFreeSharedMemory run at IRQL PASSIVE_LEVEL.