HOWTO: Use GetDiskFreeSpaceEx to Retrieve Drive Information (225144)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Visual Basic for Applications 5.0
- Microsoft Visual Basic for Applications 6.0
This article was previously published under Q225144 SUMMARY
You can use the Win32 API function GetDiskFreeSpaceEx to determine the number of available bytes, the number of total bytes, and the number of free bytes on a specific drive. This article illustrates how to use the GetDiskFreeSpaceEx function in your Visual Basic project.
REFERENCES
For more information about the GetDiskFreeSpaceEx function, refer to the Platform SDK.
For additional information about using the GetDiskFreeSpace function in Visual Basic, please see the following
article in the Microsoft Knowledge Base: 153091 HOWTO: Find and View the Amount of Free Disk Space on a Drive
Modification Type: | Minor | Last Reviewed: | 7/13/2004 |
---|
Keywords: | kbAPI kbhowto KB225144 |
---|
|