JCL Help:NtfsGetSparse

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Tests whether the file is a sparse file.


Pascal

 function NtfsGetSparse(const FileName: string): Boolean;


Parameters

Parameters Description
const FileName: string The file to test.


Return Value

If the specified file is a sparse file the function returns True, otherwise it returns False.


Description

NtfsGetSparse tests if the specified file is a sparse file. A sparse file is a normal file but one which only uses disk space for those portions of the file that actually contain data. This however is not automatic, see the other NtfsXxxx functions and the Platform SDK for details.


See Also

NtfsSetSparse


About

Unit

JclNTFS


Donator

Marcel van Brakel


Notes

Sparse files are only supported by NTFS version 5.0 and higher.


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page