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.
void NdisCloseFile( NDIS_HANDLE FileHandle );
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.
|Minimum supported client||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.|
|Header||ndis.h (include Ndis.h)|
|DDI compliance rules||Irql_Miscellaneous_Function|