Changeset 325
- Timestamp:
- Sep 7, 2007, 10:44:25 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Include/Classes/System/IO/DirectoryInfo.ab
r321 r325 92 92 End Function 93 93 94 /*Function GetDirectories(searchPattern As String, searchOption As SearchOption) As List<DirectoryInfo>94 Function GetDirectories(searchPattern As String, searchOption As SearchOption) As List<DirectoryInfo> 95 95 If searchOption = SearchOption.TopDirectoryOnly Then 96 96 Return GetDirectories(searchPattern) … … 109 109 Return dirs 110 110 End If 111 End Function */111 End Function 112 112 113 113 Function GetFiles() As List<FileInfo> … … 139 139 Dim find As HANDLE 140 140 Dim findData As WIN32_FIND_DATA 141 find = FindFirstFile( ToTCStr(Path.Combine(FullPath, searchPattern)), findData)141 find = FindFirstFile("?*", findData) 142 142 If find = INVALID_HANDLE_VALUE Then 143 143 debug 'Exception … … 146 146 147 147 Dim files As List<FileSystemInfo> 148 Dim lastError = GetLastError()As DWord148 Dim lastError As DWord 149 149 Dim i As Long 150 150 While lastError <> ERROR_NO_MORE_FILES
Note:
See TracChangeset
for help on using the changeset viewer.