// ntifs.h
VOID FsRtlFreeFileLock(
[in] PFILE_LOCK FileLock
);
View the official Windows Driver Kit DDI reference
No description available.
The FsRtlFreeFileLock routine uninitializes and frees a file lock structure.
FileLock
[in]Pointer to the FILE_LOCK structure. This structure must have been allocated by a previous call to FsRtlAllocateFileLock.
FsRtlFreeFileLock should be used only for file locks that were allocated and initialized by FsRtlAllocateFileLock.
It is a programming error to call FsRtlFreeFileLock for a FILE_LOCK structure that has already been uninitialized by a call to FsRtlUninitializeFileLock.
Minifilters must call FltFreeFileLock instead of FsRtlFreeFileLock.