// fltkernel.h
VOID FLTAPI FltUninitializeFileLock(
[in] PFILE_LOCK FileLock
);
View the official Windows Driver Kit DDI reference
No description available.
The FltUninitializeFileLock routine uninitializes a FILE_LOCK structure.
FileLock
[in]Pointer to the FILE_LOCK structure for the file. This structure must have been initialized by a previous call to FltAllocateFileLock or FltInitializeFileLock.
None
FltUninitializeFileLock uninitializes an initialized FILE_LOCK structure, freeing all file locks and completing any outstanding lock operations. The uninitialized FILE_LOCK structure can be initialized for reuse by a subsequent call to FltInitializeFileLock.
FltUninitializeFileLock can be used to uninitialize a FILE_LOCK structure allocated by a previous call to FltAllocateFileLock. Do not use FltUninitializeFileLock for such a FILE_LOCK structure unless the structure is to be initialized for reuse. It is a programming error to call FltFreeFileLock for an uninitialized FILE_LOCK structure.
To allocate and initialize a new file lock structure, call FltAllocateFileLock.
To free an initialized FILE_LOCK structure, call FltFreeFileLock.