// fltkernel.h
NTSTATUS FLTAPI FltClose(
[in] HANDLE FileHandle
);
View the official Windows Driver Kit DDI reference
No description available.
FltClose closes a file handle that was opened by FltCreateFile or FltCreateFileEx.
FileHandle
[in]Handle created by a successful call to FltCreateFile or FltCreateFileEx.
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. |
FltClose is only for closing file handles opened by FltCreateFile or FltCreateFileEx. It should not be used to close arbitrary handles.