NdisUnmapIoSpace

VOID
   NdisUnmapIoSpace(
       IN NDIS_HANDLE NdisAdapterHandle,
       IN PVOID VirtualAddress,
       IN UINT Length
       );

NdisUnmapIoSpace is called by the NIC driver to release a mapping obtained with NdisMapIoSpace.

Parameters

NdisAdapterHandle

Identifies the handle that the NDIS interface library associates with the network interface card.

VirtualAddress

Specifies the base virtual address mapped to the base physical (device) I/O address.

Length

Specifies the length, in bytes, of the mapped range starting at VirtualAddress.

Comments

Drivers usually call NdisUnmapIoSpace when they are unloading.

Callers of NdisUnmapIoSpace run at IRQL PASSIVE_LEVEL.

See Also

NdisMapIoSpace