The FltUninitializeFileLock routine uninitializes a FILE_LOCK structure.
- FileLock [in]
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.
|This routine is available on Microsoft Windows XP SP2, Microsoft Windows Server 2003 SP1, and later.|