UID | title | description | old-location | tech.root | ms.date | keywords | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | f1_keywords | topic_type | api_type | api_location | api_name | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:ndis.NdisUnmapFile |
NdisUnmapFile function (ndis.h) |
The NdisUnmapFile function releases a virtual address mapping of a file previously set up with the NdisMapFile function. |
netvista\ndisunmapfile.htm |
netvista |
05/02/2018 |
|
NdisUnmapFile, NdisUnmapFile function [Network Drivers Starting with Windows Vista], ndis/NdisUnmapFile, ndis_file_ref_5be88800-5866-4969-8534-2d76953bf4de.xml, netvista.ndisunmapfile |
ndis.h |
Ndis.h |
Universal |
Supported for NDIS 6.0 and NDIS 5.1 drivers (see NdisUnmapFile (NDIS 5.1)) in Windows Vista. Supported for NDIS 5.1 drivers (see NdisUnmapFile (NDIS 5.1)) in Windows XP. |
Irql_Miscellaneous_Function |
Ndis.lib |
PASSIVE_LEVEL |
Windows |
|
|
|
|
|
The NdisUnmapFile function releases a virtual address mapping of a file previously set up with the NdisMapFile function.
The handle that was returned by the NdisOpenFile function.
To reduce resource usage, a miniport driver should always call NdisUnmapFile when it no longer needs exclusive access to the contents of a file that it opened. Such a driver can map and unmap the file as necessary, using alternating calls to NdisMapFile and NdisUnmapFile until it releases the file handle with the NdisCloseFile function.