Changeset 285 for Include/Classes/System/IO/DriveInfo.ab
- Timestamp:
- Jul 26, 2007, 5:43:54 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/Classes/System/IO/DriveInfo.ab
r271 r285 40 40 Function DriveFormat() As String 41 41 Dim systemName[15] As TCHAR 42 If GetVolumeInformation(m_DriveName, NULL, NULL, NULL, NULL, NULL, systemName, Len (systemName)) Then42 If GetVolumeInformation(m_DriveName, NULL, 0, NULL, NULL, NULL, systemName, Len (systemName)) Then 43 43 Return systemName 44 44 Else … … 52 52 53 53 Function IsReady() As Boolean 54 If GetVolumeInformation(m_DriveName, NULL, NULL, NULL, NULL, NULL, NULL, NULL) Then54 If GetVolumeInformation(m_DriveName, NULL, 0, NULL, NULL, NULL, NULL, 0) Then 55 55 Return True 56 56 Else
Note:
See TracChangeset
for help on using the changeset viewer.