The FltInitializeFileLock routine initializes an opaque FILE_LOCK structure that the caller has allocated from paged pool.
VOID FLTAPI FltInitializeFileLock( PFILE_LOCK FileLock );
Pointer to an uninitialized FILE_LOCK structure.
The FILE_LOCK structure is opaque: that is, its members are reserved for system use.
It is a programming error to call FltInitializeFileLock for a FILE_LOCK structure that has already been initialized by FltInitializeFileLock or FltAllocateFileLock, unless the structure has been uninitialized by a subsequent call to FltUninitializeFileLock.
When the FILE_LOCK structure is no longer needed, it can be uninitialized by calling FltUninitializeFileLock. The uninitialized FILE_LOCK structure can then be initialized for reuse by calling FltInitializeFileLock.
|Minimum supported client||Available starting with Windows XP with SP2 or Windows Server 2003 with SP1.|
|Header||fltkernel.h (include Fltkernel.h)|