SHGetDiskFreeSpace |
Declare Function Api_SHGetDiskFreeSpace& Lib "shell32" Alias "SHGetDiskFreeSpaceA" (ByVal pszVolume$, pqwFreeCaller As ULARGE_INTEGER, pqwTot As ULARGE_INTEGER, pqwFree As ULARGE_INTEGER) |
Declare Function SHGetDiskFreeSpace Lib "shell32" Alias "SHGetDiskFreeSpaceA" (ByVal pszVolume As String, pqwFreeCaller As Currency, pqwTot As Currency, pqwFree As Currency) As Long |
|
指定のディレクトリを含むディスクの空き容量を調べる。 |
|
パラメータ This can be a drive letter, Universal Naming Convention (UNC) name, or the path of a folder.
You cannot use NULL to represent the current drive.
Unicode is not supported in those versions.
If the operating system implements per-user quotas, this value may be less
than the total number of free bytes on the volume.
戻り値 |