NdisMUnmapIoSpace (Windows CE 5.0)

Send Feedback

This function releases a virtual range mapped by an initialization-time call to the NdisMMapIoSpace function.

VOID NdisMUnmapIoSpace(NDIS_HANDLE MiniportAdapterHandle,PVOIDVirtualAddress,UINTLength);

Parameters

  • MiniportAdapterHandle
    [in] Handle originally input to the MiniportInitialize function.
  • VirtualAddress
    [in] Specifies the base virtual address for the mapped range that was returned by the NdisMMapIoSpace function.
  • Length
    [in] Specifies the number of bytes in the range that was mapped with NdisMMapIoSpace.

Return Values

None.

Remarks

When a miniport is unloading, any memory range that it mapped during initialization with NdisMMapIoSpace must be released with a call to this function.

The Length passed to this function must match the Length originally passed to NdisMMapIoSpace.

This function can be called only from an NIC driver's MiniportInitialize and MiniportHalt functions.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Ndis.h.
Link Library: Ndis.dll.

See Also

MiniportHalt | MiniportInitialize | NdisMMapIoSpace

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.