Skip to content

Latest commit

 

History

History
93 lines (71 loc) · 2.56 KB

nf-fltkernel-fltclose.md

File metadata and controls

93 lines (71 loc) · 2.56 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NF:fltkernel.FltClose
FltClose function (fltkernel.h)
FltClose closes a file handle that was opened by FltCreateFile or FltCreateFileEx.
ifsk\fltclose.htm
ifsk
04/16/2018
FltClose function
FltApiRef_a_to_d_f50e2397-1161-4e6e-9688-2baa417f6845.xml, FltClose, FltClose function [Installable File System Drivers], fltkernel/FltClose, ifsk.fltclose
fltkernel.h
Fltkernel.h
Universal
FltMgr.lib
Fltmgr.sys
PASSIVE_LEVEL
Windows
FltClose
fltkernel/FltClose
APIRef
kbSyntax
DllExport
fltmgr.sys
FltClose

FltClose function

-description

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

-parameters

-param FileHandle [in]

Handle created by a successful call to FltCreateFile or FltCreateFileEx.

-returns

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