FsRtlCheckLockForWriteAccess

VOID __fastcall FsRtlCheckLockForWriteAccess(_FILE_LOCK *FileLock, _IRP *Irp){
  _QWORD *LockInformation; 

  LockInformation = FileLock->LockInformation;
  if( LockInformation
    && (LockInformation[5] || LockInformation[4])
    && *(_QWORD *)&Irp->Tail.CurrentStackLocation->Parameters.FileAttributes
     + (unsigned __int64)LODWORD(Irp->Tail.CurrentStackLocation->Parameters.SecurityContext) > *LockInformation )
  {
    IoGetRequestorProcess(Irp);
    FsRtlFastCheckLockForWrite();
  }
}

Referenced by:

No references.