FltClose function

Download EaseFilter Filter Driver SDK Setup File
Download EaseFilter Filter Driver SDK Zip File

FltClose closes a file handle that was opened by FltCreateFile or FltCreateFileEx.

Syntax

NTSTATUS FLTAPI FltClose(
  HANDLE FileHandle
);

Parameters

FileHandle

Handle created by a successful call to FltCreateFile or FltCreateFileEx.

Return value

FltClose returns STATUS_SUCCESS or an appropriate NTSTATUS value such as the following:

Return code Description
STATUS_INVALID_HANDLE
FileHandle was not a valid file handle. This is an error code.

Remarks

FltClose is only for closing file handles opened by FltCreateFile or FltCreateFileEx. It should not be used to close arbitrary handles.

Requirements

   
Target Platform Universal
Header fltkernel.h (include Fltkernel.h)
Library FltMgr.lib
DLL Fltmgr.sys
IRQL PASSIVE_LEVEL