FltFreeFileLock - NtDoc

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

VOID FLTAPI FltFreeFileLock(
  [in] PFILE_LOCK FileLock
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

FltFreeFileLock function

Description

The FltFreeFileLock routine uninitializes and frees an initialized FILE_LOCK structure.

Parameters

FileLock [in]

Pointer to the FILE_LOCK structure. This structure must have been initialized by a previous call to FltAllocateFileLock or FltInitializeFileLock.

Return value

None

Remarks

The FILE_LOCK structure is opaque: that is, its members are reserved for system use.

To allocate and initialize a new file lock structure, call FltAllocateFileLock.

It is a programming error to call FltFreeFileLock for a FILE_LOCK structure that has already been uninitialized by a call to FltUninitializeFileLock.

See also

FltAllocateFileLock

FltCheckLockForReadAccess

FltCheckLockForWriteAccess

FltInitializeFileLock

FltProcessFileLock

FltUninitializeFileLock

FsRtlFreeFileLock