JCL Help:GetStandardFileInfo

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns information about a file.


Pascal

 function GetStandardFileInfo(const FileName: string): TWin32FileAttributeData;


Parameters

Parameters Description
const FileName: string Fully qualified name of the file for which to retrieve information.


Return Value

If the function succeeds it returns a TWin32FileAttributeData record with information about the file. The Platform SDK contains documentation for this record. If the function fails, for example because it can't find the file, it raises an EFileUtilsError exception.


Description

GetStandardFileInfo returns standard information about the specified file such as creation time, filesize and attributes.


See Also

GetFileInformation


About

Unit

JclFileUtils


Donator

Marcel van Brakel


Contributors

Anonymous


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