Freigeben über


NdisUnmapFile (Compact 2013)

3/26/2014

This function releases a virtual address mapping of a file previously set up with NdisMapFile.

Syntax

VOID NdisUnmapFile(
  NDIS_HANDLE FileHandle
);

Parameters

  • FileHandle
    [in] Specifies the handle returned by NdisOpenFile.

Return Value

None.

Remarks

To reduce resource usage, a network adapter 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 by using alternating calls to NdisMapFile and NdisUnmapFile until it releases the file handle with NdisCloseFile.

Requirements

Header

ndis.h

See Also

Reference

NDIS File Interface
MiniportInitializeEx
NdisCloseFile
NdisMapFile
NdisOpenFile