..msdn Add comment W32 Constants Translate this page
Retrieves information about the amount of space available on a disk volume: the total amount of space, the total amount of free space, and the total amount of free space available to the user associated with the calling thread.|
LPCTSTR lpDirectoryName, // directory name
PULARGE_INTEGER lpFreeBytesAvailable, // bytes available to caller
PULARGE_INTEGER lpTotalNumberOfBytes, // bytes on disk
PULARGE_INTEGER lpTotalNumberOfFreeBytes // free bytes on disk
DECLARE SHORT GetDiskFreeSpaceEx IN kernel32;
STRING @ lpFreeBytesAvailable,;
STRING @ lpTotalNumberOfBytes,;
STRING @ lpTotalNumberOfFreeBytes
[in] Pointer to a null-terminated string that specifies a directory on the disk of interest.
[out] Pointer to a variable that receives the total number of free bytes on the disk that are available to the user associated with the calling thread.
[out] Pointer to a variable that receives the total number of bytes on the disk that are available to the user associated with the calling thread.
[out] Pointer to a variable that receives the total number of free bytes on the disk.
|If the function succeeds, the return value is nonzero.|
|Before VFP version 7 this function returns more accurate results for large devices comparing to native SYS(2020) and DiskSpace()|
|Word Index links for the GetDiskFreeSpaceEx :|
|Translate this page:|
Visited in last 7 days: 5
|Created: ||2001-08-13 12:00:00|
|Modified: ||2002-01-26 11:55:36|