NdisCloseFile
This function releases a handle returned by NdisOpenFile and frees the memory allocated to hold the file contents when it was opened.
VOID NdisCloseFile(
NDIS_HANDLE FileHandle
);
Parameters
- FileHandle
[in] Specifies the handle returned in a preceding call to NdisOpenFile.
Return Values
None.
Remarks
For miniports, calls to this function are valid only during initialization. If the MiniportInitialize function calls NdisOpenFile, it must call NdisCloseFile before it returns control.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Ndis.h.
See Also
MiniportInitialize | NdisMapFile | NdisOpenFile | NdisUnmapFile
Last updated on Tuesday, May 18, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.