VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Hard Drive Space

Tom Putland  (3 Submissions)   Windows System Services   Visual Basic 3.0   Unknown Difficulty   Sat 11th August 2001   Mon 8th February 2021

Hard Drive Space

API Declarations



Declare Function GetDiskFreeSpace Lib "kernel32" Alias "GetDiskFreeSpaceA" (ByVal lpRootPathName As String, lpSectorsPerCluster As Long, lpBytesPerSector As Long, lpNumberOfFreeClusters As Long, lpTtoalNumberOfClusters As Long) As Long

Public Type DiskInformation
lpSectorsPerCluster As Long
lpBytesPerSector As Long
lpNumberOfFreeClusters As Long
lpTotalNumberOfClusters As Long
End Type


Rate Hard Drive Space (2(2 Vote))
Hard Drive Space.bas

Hard Drive Space Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters