NdisMUnmapIoSpace (Windows Embedded CE 6.0)
1/6/2010
This function releases a virtual range mapped by an initialization-time call to the NdisMMapIoSpace function.
Syntax
VOID NdisMUnmapIoSpace(
NDIS_HANDLE MiniportAdapterHandle,
PVOID VirtualAddress,
UINT Length
);
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 Value
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
Header | ndis.h |
Library | ndis.dll |
Windows Embedded CE | Windows CE .NET 4.0 and later |
See Also
Reference
NDIS Library Functions
MiniportHalt
MiniportInitialize
NdisMMapIoSpace