FltClose - NtDoc

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

NTSTATUS FLTAPI FltClose(
  [in] HANDLE FileHandle
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-fltkernel-fltclose)

FltClose function

Description

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

Parameters

FileHandle [in]

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.

See also

FltCreateFile

FltCreateFileEx

ZwClose