This function releases a set of map registers that were allocated during initialization with NdisMAllocateMapRegisters by a busmaster DMA NIC driver.
| Header file: | Ndis.h |
| Windows CE versions: | 2.0 and later |
VOID NdisMFreeMapRegisters(
IN NDIS_HANDLE MiniportAdapterHandle );
If it has already made a successful call to the NdisMAllocateMapRegisters function, the NIC driver of a busmaster DMA device calls this function if any of the following occurs:
As soon as it calls this function, the driver of a busmaster DMA NIC can no longer use the map registers that it previously allocated.
This function can be called only from an NIC driver’s MiniportInitialize and MiniportHalt functions.
A driver that calls this function runs at IRQL PASSIVE_LEVEL.