// ntifs.h
BOOLEAN FsRtlFastCheckLockForRead(
[in] PFILE_LOCK FileLock,
[in] PLARGE_INTEGER StartingByte,
[in] PLARGE_INTEGER Length,
[in] ULONG Key,
[in] PFILE_OBJECT FileObject,
[in] PVOID ProcessId
);
View the official Windows Driver Kit DDI reference
No description available.
The FsRtlFastCheckLockForRead routine determines whether the specified process has read access to a locked byte range of a file.
FileLock
[in]A pointer to the FILE_LOCK structure for the file. This structure must have been initialized by a previous call to FsRtlAllocateFileLock or FsRtlInitializeFileLock.
StartingByte
[in]A pointer to a variable that specifies the starting byte offset within the file of the byte range to check.
Length
[in]A pointer to a variable that specifies the length, in bytes, of the range to check.
Key
[in]The key for the byte range lock.
FileObject
[in]A pointer to the file object for the file.
ProcessId
[in]A pointer to the EPROCESS for the process.
The FsRtlFastCheckLockForRead routine returns TRUE if the specified process has read access, FALSE otherwise.