NdisUnmapFile - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ndis.h

VOID NdisUnmapFile(
  [in] NDIS_HANDLE FileHandle
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ndis-ndisunmapfile)

NdisUnmapFile function

Description

The NdisUnmapFile function releases a virtual address mapping of a file previously set up with the NdisMapFile function.

Parameters

FileHandle [in]

The handle that was returned by the NdisOpenFile function.

Remarks

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.

See also

MiniportInitializeEx

NdisCloseFile

NdisMapFile

NdisOpenFile