Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The current valid data length (VDL) for a cached file is retrieved with the FsRtlQueryCachedVdl routine.
Syntax
NTSTATUS FsRtlQueryCachedVdl(
[in] PFILE_OBJECT FileObject,
[out] PLONGLONG Vdl
);
Parameters
[in] FileObject
The file object to retrieve the cached VDL for.
[out] Vdl
A pointer to a caller supplied value which receives the VDL.
Return value
FsRtlQueryCachedVdl returns STATUS_SUCCESS if the cached VDL is obtained successfully for the FileObject specified. Otherwise, another appropriate NTSTATUS value is returned.
Remarks
The FsRtlQueryCachedVdl routine will return the VDL for a full span file region. This is a region beginning at an offset of 0 and having a length of MAXLONGLONG.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in starting with Windows 8. |
Target Platform | Universal |
Header | ntifs.h (include Ntifs.h) |
Library | NtosKrnl.lib |
DLL | NtosKrnl.exe |
IRQL | PASSIVE_LEVEL |