NdisCloseFile

VOID
NdisCloseFile(

IN NDIS_HANDLE FileHandle
);

NdisCloseFile releases a handle returned by NdisOpenFile and frees the memory allocated to hold the file contents when it was opened.

Parameters

FileHandle

Specifies the handle returned in a preceding call to NdisOpenFile.

Comments

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.

Callers of NdisCloseFile run at IRQL PASSIVE_LEVEL.

See Also

MiniportInitialize, NdisMapFile, NdisOpenFile, NdisUnmapFile