The NdisCloseFile function releases a handle returned by the NdisOpenFile function and frees the memory allocated to hold the file contents when it was opened.
- FileHandle [in]
The handle that was returned in a preceding call to the NdisOpenFile function.
For miniport drivers, calls to this function are valid only during initialization. If the MiniportInitializeEx function calls the NdisOpenFile function, it must call NdisCloseFile before it returns control.
|Supported for NDIS 6.0 and NDIS 5.1 drivers (see NdisCloseFile (NDIS 5.1)) in Windows Vista. Supported for NDIS 5.1 drivers (see NdisCloseFile (NDIS 5.1)) in Windows XP.|
DDI compliance rules
Build date: 11/16/2013