FsRtlAllocateFileLock
PFILE_LOCK __stdcall FsRtlAllocateFileLock(
PCOMPLETE_LOCK_IRP_ROUTINE CompleteLockIrpRoutine,
PUNLOCK_ROUTINE UnlockRoutine){
PFILE_LOCK result;
LODWORD(result) = ExAllocateFromNPagedLookasideList((NPAGED_LOOKASIDE_LIST *)FsRtlFileLockLookasideList);
if( result )
{
result->LockInformation = 0i64;
result->CompleteLockIrpRoutine = CompleteLockIrpRoutine;
result->UnlockRoutine = UnlockRoutine;
result->FastIoIsQuestionable = 0;
result->LockRequestsInProgress = 0;
}
return result;
}Referenced by:
No references.