NdisCloseFile - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ndis.h

VOID NdisCloseFile(
  [in] NDIS_HANDLE FileHandle
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ndis-ndisclosefile)

NdisCloseFile function

Description

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.

Parameters

FileHandle [in]

The handle that was returned in a preceding call to the NdisOpenFile function.

Remarks

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.

See also

MiniportInitializeEx

NdisMapFile

NdisOpenFile

NdisUnmapFile