Share via


NdisUnmapFile (Windows CE 5.0)

Send Feedback

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

VOID NdisUnmapFile(NDIS_HANDLEFileHandle);

Parameters

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

Return Values

None.

Remarks

To reduce resource usage, a NIC 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 NdisCloseFile.

Requirements

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

See Also

NdisCloseFile | NdisMapFile | NdisOpenFile

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.