Expand Minimize

FltFreeFileLock routine

The FltFreeFileLock routine uninitializes and frees an initialized FILE_LOCK structure.

Syntax


VOID FltFreeFileLock(
  _In_  PFILE_LOCK FileLock
);

Parameters

FileLock [in]

Pointer to the FILE_LOCK structure. This structure must have been initialized by a previous call to FltAllocateFileLock or FltInitializeFileLock.

Return value

None

Remarks

The FILE_LOCK structure is opaque: that is, its members are reserved for system use.

To allocate and initialize a new file lock structure, call FltAllocateFileLock.

It is a programming error to call FltFreeFileLock for a FILE_LOCK structure that has already been uninitialized by a call to FltUninitializeFileLock.

Requirements

Version

This routine is available on Microsoft Windows XP SP2, Microsoft Windows Server 2003 SP1, and later.

Header

Fltkernel.h (include Fltkernel.h)

Library

FltMgr.lib

IRQL

<= APC_LEVEL

See also

FltAllocateFileLock
FltCheckLockForReadAccess
FltCheckLockForWriteAccess
FltInitializeFileLock
FltProcessFileLock
FltUninitializeFileLock
FsRtlFreeFileLock

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft