Export (0) Print
Expand All
Expand Minimize

FltClose function

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

Syntax


NTSTATUS FltClose(
  _In_  HANDLE FileHandle
);

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 codeDescription
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

Header

Fltkernel.h (include Fltkernel.h)

Library

FltMgr.lib

IRQL

PASSIVE_LEVEL

See also

FltCreateFile
FltCreateFileEx
ZwClose

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft