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.
|This routine is available on Microsoft Windows 2000 and later.|
Build date: 11/21/2012