VOID
NdisMFreeMapRegisters(
IN NDIS_HANDLE MiniportAdapterHandle
);
NdisMFreeMapRegisters releases a set of map registers that were allocated during initialization with NdisMAllocateMapRegisters by a busmaster DMA NIC driver.
If it has already made a successful call to NdisMAllocateMapRegisters, the NIC driver of a busmaster DMA device calls NdisMFreeMapRegisters if any of the following occurs:
As soon as it calls NdisMFreeMapRegisters, the driver of a busmaster DMA NIC can no longer use the map registers it previously allocated.
NdisMFreeMapRegisters can be called only from a NIC driver’s MiniportInitialize and MiniportHalt functions.
Callers of NdisMFreeMapRegisters run at IRQL PASSIVE_LEVEL.
MiniportHalt, MiniportInitialize, NdisMAllocateMapRegisters, NdisMFreeSharedMemory